parent
468a3a1896
commit
aba131ad5f
@ -0,0 +1,14 @@
|
||||
#include "manager.h"
|
||||
Manager::Manager(int id, string name, int dId) {
|
||||
this->m_Id = id;
|
||||
this->m_Name = name;
|
||||
this->m_DeptId = dId;
|
||||
}
|
||||
void Manager::showInfo() // 打印职工信息
|
||||
{
|
||||
cout << "职工编号:" << this->m_Id << "\t职工姓名:" << this->m_Name
|
||||
<< "\t岗位:" << this->getDeptName()
|
||||
<< "\t岗位职责:完成老板交给的任务,并下发任务给员工" << endl;
|
||||
}
|
||||
|
||||
string Manager::getDeptName() { return string("经理"); }
|
Loading…
Reference in new issue