-
Notifications
You must be signed in to change notification settings - Fork 5
/
guest.h
62 lines (55 loc) · 1.32 KB
/
guest.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
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
#include <QString>
#ifndef GUEST_H
#define GUEST_H
class Guest
{
public:
Guest();
QString getName();
QString getEmail();
QString getContact();
QString getAddress();
QString getCheckin();
QString getCheckout();
QString getIdentity();
QString getRoomType();
QString getStatus();
QString getPackages();
int getTotalAmount();
int getPaidAmount();
int getDueAmount();
int getRoomNo();
int getID();
void setName(QString name);
void setEmail(QString email);
void setContact(QString contact);
void setAddress(QString address);
void setCheckin(QString checkin);
void setCheckout(QString checkout);
void setIdentity(QString identity);
void setRoomType(QString room_type);
void setStatus(QString status);
void setPackages(QString packages);
void setTotalAmount(int total_amount);
void setPaidAmount(int paid_amount);
void setDueAmount(int due_amount);
void setRoomNo(int room_no);
void setID(int id);
private:
int id;
int room_no;
QString name;
QString email;
QString contact;
QString address;
QString checkin;
QString checkout;
QString identity;
QString room_type;
int total_amount;
int paid_amount;
int due_amount;
QString status;
QString packages;
};
#endif // GUEST_H