-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlesson.cpp
More file actions
97 lines (76 loc) · 1.46 KB
/
lesson.cpp
File metadata and controls
97 lines (76 loc) · 1.46 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#include "lesson.h"
Lesson::Lesson()
{
this->credit=0;
this->class_hours=0;
}
QString Lesson::getKey(){
return this->key;
}
void Lesson::setKey(QString key){
this->key=key;
return;
}
QString Lesson::getInfo(){
return this->info;
}
void Lesson::setInfo(QString info){
this->info = info;
return;
}
QString Lesson::getName(){
return this->name;
}
void Lesson::setName(QString name){
this->name=name;
return;
}
QString Lesson::getType(){
return this->type;
}
void Lesson::setType(QString type){
this->type = type;
return;
}
int Lesson::getCredit(){
return this->credit;
}
void Lesson::setCredit(int credit){
this->credit = credit;
return;
}
QString Lesson::getCampus(){
return this->campus;
}
void Lesson::setCampus(QString campus){
this->campus = campus;
return;
}
int Lesson::getClass_hours(){
return this->class_hours;
}
void Lesson::setClass_hours(int class_hours){
this->class_hours=class_hours;
return;
}
QString Lesson::getTeacher(){
return this->teacher;
}
void Lesson::setTeacher(QString teacher){
this->teacher=teacher;
return;
}
QString Lesson::getDepartment(){
return this->department;
}
void Lesson::setDepartment(QString department){
this->department=department;
return;
}
QString Lesson::getTime_location(){
return this->time_location;
}
void Lesson::setTime_location(QString time_location){
this->time_location=time_location;
return;
}