You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#include "employee.h"
|
|
|
|
|
Employee::Employee(int id, string name, int dId) {
|
|
|
|
|
this->m_Id = id;
|
|
|
|
|
this->m_Name = name;
|
|
|
|
|
this->m_DeptId = dId;
|
|
|
|
|
}
|
|
|
|
|
void Employee::showInfo() // <20><>ӡְ<D3A1><D6B0><EFBFBD><EFBFBD>Ϣ
|
|
|
|
|
{
|
|
|
|
|
cout << "ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD>" << this->m_Id << "\tְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" << this->m_Name
|
|
|
|
|
<< "\t<EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>" << this->getDeptName() << "\t<EFBFBD><EFBFBD>λְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
<< endl;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
string Employee::getDeptName() { return string("Ա<EFBFBD><EFBFBD>"); }
|