forked from 3rd-year-CSE-20/SIS_GUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
person.h
46 lines (41 loc) · 1.12 KB
/
person.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
#ifndef PERSON_H
#define PERSON_H
#include <QString>
class Person
{
private:
long long id;
bool is_saved;
QString first_name;
QString last_name;
QString gendre;
QString picture;
QString birth_date;
QString address;
QString college_id;
QString password;
public:
Person();
Person(QString first_name, QString last_name, QString gendre, QString picture, QString birth_date, QString address, QString college_id, QString password);
void setFirstName(QString first_name);
QString getFirstName();
void setLastName(QString last_name);
QString getLastName();
void setGendre(QString gendre);
QString getGendre();
void setPicture(QString picture);
QString getPicture();
void setAddress(QString address);
QString getAddress();
void setBirthDate(QString birth_date);
QString getBirthDate();
void setCollegeId(QString college_id);
QString getCollegeId();
void setPassword(QString password);
QString getPassword();
void setId(long long id);
long long getId();
void setIsSaved(bool is_saved);
bool isSaved();
};
#endif // PERSON_H