-
Notifications
You must be signed in to change notification settings - Fork 0
/
User.java
67 lines (52 loc) · 1.34 KB
/
User.java
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
public class User {
private int id;
private String first_name;
private String last_name;
private String email;
private String password;
private boolean is_doctor;
public User(int id, String first_name, String last_name, String email, String password, boolean is_doctor) {
this.id = id;
this.first_name = first_name;
this.last_name = last_name;
this.email = email;
this.password = password;
this.is_doctor = is_doctor;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getFirstName() {
return first_name;
}
public void setFirstName(String first_name) {
this.first_name = first_name;
}
public String getLastName() {
return last_name;
}
public void setLastName(String last_name) {
this.last_name = last_name;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public boolean isDoctor() {
return is_doctor;
}
public void setDoctor(boolean doctor) {
is_doctor = doctor;
}
}