forked from workattech/mock-machine-coding-2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser.h
More file actions
31 lines (29 loc) · 575 Bytes
/
user.h
File metadata and controls
31 lines (29 loc) · 575 Bytes
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
#include <iostream>
#include<string>
#include<unordered_map>
using namespace std;
class User
{
string user_id;
string email_id;
string mobile_no;
string name;
int seq_no;
public:
User(int s, string uid, string n, string email, string mob)
{
seq_no = s;
user_id = uid;
name = n;
email_id = email;
mobile_no = mob;
}
string get_user_id()
{
return user_id;
}
int get_seq()
{
return seq_no;
}
};