You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
296 B

#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();
};