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.
27 lines
510 B
27 lines
510 B
//
|
|
// 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
|
|
|