diff --git a/manager.h b/manager.h new file mode 100644 index 0000000..5e29c9e --- /dev/null +++ b/manager.h @@ -0,0 +1,13 @@ +#pragma once +#include +using namespace std; +#include "worker.h" +// 经理类 +class Manager : public worker { + public: + Manager(int id, string name, int dId); + // 显示个人信息 + virtual void showInfo(); + // 获取职工岗位名称 + virtual string getDeptName(); +};