-
Notifications
You must be signed in to change notification settings - Fork 0
/
user.h
46 lines (39 loc) · 922 Bytes
/
user.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
/*
Implemedted by: Annastasha Chang See May (78855)
*/
#ifndef USER_H
#define USER_H
#include <string>
#include <vector>
using namespace std;
class user
{
protected:
string userID, userPwd, userName, userStreet, userPhone, userEmail;
int userVerify, userRole, userAge, userRace, userCity, userGender;
public:
user();
~user();
//method
void userSignup();
//choose user role
int choose_role();
//verify credential while login
bool verify_credential(int,string,string);
//display user profile
void my_profile();
//get user detail using userID
bool search_user(string);
//getter
//verification,role,IC,name,age,gender,race,street,city,phone,email,password
string get_userID();
int get_userRole();
string get_userName();
int get_userAge();
int get_userGender();
int get_userRace();
string get_userStreet();
int get_userCity();
string get_userPhone();
};
#endif