parent
3a3ece1625
commit
468a3a1896
@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
#include "worker.h"
|
||||
// 员工类
|
||||
class Employee : public worker {
|
||||
public:
|
||||
// 构造函数
|
||||
Employee(int id, string name, int dId);
|
||||
// 显示个人信息
|
||||
virtual void showInfo();
|
||||
// 获取职工岗位名称
|
||||
virtual string getDeptName();
|
||||
};
|
Loading…
Reference in new issue