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
495 B
24 lines
495 B
//
|
|
// Created by lensferno on 2022/3/30.
|
|
//
|
|
|
|
#ifndef WORK20220330_DBTEACHER_H
|
|
#define WORK20220330_DBTEACHER_H
|
|
|
|
|
|
#include "Leader.h"
|
|
#include "Teacher.h"
|
|
|
|
class DbTeacher : public Teacher, public Leader{
|
|
private:
|
|
int salary;
|
|
|
|
public:
|
|
DbTeacher(const Staff &staff, const std::string &title, const std::string &job, int salary);
|
|
DbTeacher(const DbTeacher &dbTeacher);
|
|
DbTeacher() = delete;
|
|
std::string toString();
|
|
};
|
|
|
|
|
|
#endif //WORK20220330_DBTEACHER_H
|
|
|