#include "StdAfx.h" #include "SendPackage.h" SendPackage::SendPackage(void) { } SendPackage::~SendPackage(void) { } ////////////////////////////////////////////////////////////////////////// IMPLEMENT_SERIAL(CAddDepartment, CObject, 0) CAddDepartment::CAddDepartment() { m_strDepartmentName = _T(""); m_strDepartmentNote = _T(""); } CAddDepartment::~CAddDepartment() { } CAddDepartment& CAddDepartment::operator=(const CAddDepartment& member) { m_strDepartmentName = member.m_strDepartmentName; m_strDepartmentNote = member.m_strDepartmentNote; return *this; } void CAddDepartment::Serialize(CArchive& ar) { CObject::Serialize(ar); if ( ar.IsStoring() ) { ar << m_strDepartmentName; ar << m_strDepartmentNote; } else { ar >> m_strDepartmentName; ar >> m_strDepartmentNote; } }