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.
|
|
|
#ifndef WORK20220325_STUDENT_H
|
|
|
|
#define WORK20220325_STUDENT_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "../base/Person.h"
|
|
|
|
|
|
|
|
class Student : virtual public Person {
|
|
|
|
protected:
|
|
|
|
int classId;
|
|
|
|
|
|
|
|
public:
|
|
|
|
Student() = delete;
|
|
|
|
|
|
|
|
Student(int classId, const Person &person);
|
|
|
|
|
|
|
|
Student(const Student &student);
|
|
|
|
|
|
|
|
Student(const std::string &id, const std::string &name, char sex, const std::string &identNumber,
|
|
|
|
const Date &birthday, int classId);
|
|
|
|
|
|
|
|
int getClassId() const;
|
|
|
|
|
|
|
|
void setClassId(int classId);
|
|
|
|
|
|
|
|
std::string toString();
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //WORK20220325_STUDENT_H
|