From 727f1a6b603341aa5464737b096578da01817969 Mon Sep 17 00:00:00 2001 From: pcz3ky6q2 <2126302786@qq.com> Date: Mon, 17 Jun 2024 20:32:43 +0800 Subject: [PATCH] ADD file via upload --- boss.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 boss.h diff --git a/boss.h b/boss.h new file mode 100644 index 0000000..3c10e52 --- /dev/null +++ b/boss.h @@ -0,0 +1,13 @@ +#pragma once +#include +using namespace std; +#include "worker.h" +// 老板类 +class Boss : public worker { + public: + Boss(int id, string name, int dId); + // 显示个人信息 + virtual void showInfo(); + // 获取职工岗位名称 + virtual string getDeptName(); +};