-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathguest.cpp
127 lines (104 loc) · 2.26 KB
/
guest.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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
#include "guest.h"
Guest::Guest()
{
}
/////////////////////////////////////////
/// GETTERS
////////////////////////////////////////////
/// ////////////////////////////////////////
/// ///////////////////////////////////////
///
QString Guest::getName(){
return this->name;
}
QString Guest::getEmail(){
return this->email;
}
QString Guest::getContact(){
return this->contact;
}
QString Guest::getAddress(){
return this->address;
}
QString Guest::getCheckin(){
return this->checkin;
}
QString Guest::getCheckout(){
return this->checkout;
}
QString Guest::getIdentity(){
return this->identity;
}
QString Guest::getRoomType(){
return this->room_type;
}
QString Guest::getStatus(){
return this->status;
}
QString Guest::getPackages(){
return this->packages;
}
int Guest::getTotalAmount(){
return this->total_amount;
}
int Guest::getPaidAmount(){
return this->paid_amount;
}
int Guest::getDueAmount(){
return this->due_amount;
}
int Guest::getID(){
return this->id;
}
int Guest::getRoomNo(){
return this->room_no;
}
///////////////////////////////////////////////////
/// SETTERS
////////////////////////////////////////////////////
/// /////////////////////////////////////////////////.
void Guest::setName(QString name){
this->name = name;
}
void Guest::setEmail(QString email){
this->email = email;
}
void Guest::setContact(QString contact){
this->contact = contact;
}
void Guest::setAddress(QString address){
this->address = address;
}
void Guest::setCheckin(QString checkin){
this->checkin = checkin;
}
void Guest::setCheckout(QString checkout){
this->checkout = checkout;
}
void Guest::setIdentity(QString identity){
this->identity = identity;
}
void Guest::setRoomType(QString room_type){
this->room_type = room_type;
}
void Guest::setStatus(QString status){
this->status = status;
}
void Guest::setPackages(QString packages){
this->packages = packages;
}
void Guest::setTotalAmount(int total_amount){
this->total_amount = total_amount;
}
void Guest::setPaidAmount(int amt){
this->paid_amount = amt;
}
void Guest::setDueAmount(int amt){
this->due_amount = amt;
}
void Guest::setID(int id){
this->id = id;
}
void Guest::setRoomNo(int room_no){
this->room_no = room_no;
}