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
498 B
28 lines
498 B
//
|
|
// Created by lensferno on 2022/3/30.
|
|
//
|
|
|
|
#ifndef WORK20220330_STAFF_H
|
|
#define WORK20220330_STAFF_H
|
|
|
|
#include <string>
|
|
#include "date/Date.h"
|
|
|
|
class Staff {
|
|
protected:
|
|
std::string name;
|
|
char sex;
|
|
std::string phone;
|
|
Date birthday;
|
|
public:
|
|
Staff(const std::string &name, char sex, const std::string &phone, const Date &birthday);
|
|
|
|
Staff(const Staff &staff);
|
|
|
|
Staff() = delete;
|
|
|
|
std::string toString();
|
|
};
|
|
|
|
|
|
#endif //WORK20220330_STAFF_H
|
|
|