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.
28 lines
510 B
28 lines
510 B
3 years ago
|
//
|
||
|
// Created by lensferno on 2022/3/30.
|
||
|
//
|
||
|
|
||
|
#ifndef WORK20220330_LEADER_H
|
||
|
#define WORK20220330_LEADER_H
|
||
|
|
||
|
|
||
|
#include "Staff.h"
|
||
|
|
||
|
class Leader : virtual public Staff {
|
||
|
protected:
|
||
|
std::string job;
|
||
|
|
||
|
public:
|
||
|
|
||
|
Leader(const std::string &name, char sex, const std::string &phone, const Date &birthday, const std::string &job);
|
||
|
|
||
|
Leader(const Staff &staff, const std::string &job);
|
||
|
|
||
|
Leader(const Leader &leader);
|
||
|
|
||
|
std::string toString();
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif //WORK20220330_LEADER_H
|