-
Notifications
You must be signed in to change notification settings - Fork 0
/
activity.h
34 lines (29 loc) · 967 Bytes
/
activity.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef ACTIVITY_H
#define ACTIVITY_H
#include <QString>
class Activity {
public:
Activity();
Activity(QString room, QString group, QString clas, int slot, QString day, QString teacher);
~Activity();
QString getRoom() const { return room; }
void setRoom(QString room) { this->room = room; }
QString getGroup() const { return group; }
void setGroup(QString group) { this->group = group; }
QString getClass() const { return clas; }
void setClass(QString clas) { this->clas = clas; }
int getSlot() const { return slot; }
void setSlot(int slot) { this->slot = slot; }
QString getDay() const { return day; }
void setDay(QString day) { this->day = day; }
QString getTeacher() const { return teacher; }
void setTeacher(QString teacher) { this->teacher = teacher; }
private:
QString room;
QString group;
QString clas;
int slot;
QString day;
QString teacher;
};
#endif // ACTIVITY_H