From aedff1b05e7b9b4fe03d19c6efb875b0dad71dd2 Mon Sep 17 00:00:00 2001 From: pcz3ky6q2 <2126302786@qq.com> Date: Mon, 17 Jun 2024 20:37:27 +0800 Subject: [PATCH] ADD file via upload --- manager.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 manager.h 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(); +};