2 Star 0 Fork 1

Dubingxu / 基于多态的职工管理系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
manager.cpp 495 Bytes
一键复制 编辑 原始数据 按行查看 历史
= 提交于 2021-09-07 14:27 . 第一次提交,未分类
#include "manager.h"
Manager::Manager(int id,string name,int dID){
this->m_ID = id;
this->m_Name = name;
this->m_DeptId = dID;
}
Manager::~Manager(){
}
void Manager::showInfo(){
cout << " 职工编号:" << this->m_ID
<< " 职工姓名:" << this->m_Name
<< " 岗位:" << this->getDeptName()
<< " 岗位职责:完成老板交代的任务,下发任务给员工" << endl;
}
std::string Manager::getDeptName(){
return string("经理");
}
C++
1
https://gitee.com/dubingxu/EmployeeManagementSystem.git
git@gitee.com:dubingxu/EmployeeManagementSystem.git
dubingxu
EmployeeManagementSystem
基于多态的职工管理系统
master

搜索帮助