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.
24 lines
396 B
24 lines
396 B
3 years ago
|
//
|
||
|
// Created by lensferno on 2022/3/30.
|
||
|
//
|
||
|
|
||
|
#ifndef WORK20220330_TEACHER_H
|
||
|
#define WORK20220330_TEACHER_H
|
||
|
|
||
|
|
||
|
#include "Staff.h"
|
||
|
|
||
|
class Teacher : public virtual Staff {
|
||
|
protected:
|
||
|
std::string title;
|
||
|
public:
|
||
|
Teacher(const Staff &staff, const std::string &title);
|
||
|
|
||
|
Teacher(const Teacher &teacher);
|
||
|
|
||
|
std::string toString();
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif //WORK20220330_TEACHER_H
|