-
Notifications
You must be signed in to change notification settings - Fork 0
/
classroom.cpp
48 lines (42 loc) · 934 Bytes
/
classroom.cpp
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
#include "classroom.h"
classroom::classroom()
{
}
classroom::classroom(QVariant id, QVariant className, QVariant classroomType, QVariant maxPeople, QVariant aircondition, QVariant camera, QVariant state)
{
this->id = id;
this->className = className;
this->classroomType = classroomType;
this->maxPeople = maxPeople;
this->aircondition = aircondition;
this->camera = camera;
this->state = state;
}
QVariant classroom::getId()
{
return this->id;
}
QVariant classroom::getClassName()
{
return this->className;
}
QVariant classroom::getClassroomType()
{
return this->classroomType;
}
QVariant classroom::getMaxPeople()
{
return this->maxPeople;
}
QVariant classroom::getAircondition()
{
return this->aircondition;
}
QVariant classroom::getCamera()
{
return this->camera;
}
QVariant classroom::getState()
{
return this->state;
}