-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUserDTO.java
More file actions
67 lines (54 loc) · 1.3 KB
/
Copy pathUserDTO.java
File metadata and controls
67 lines (54 loc) · 1.3 KB
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
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package data;
/**
*
* @author thien
*/
public class UserDTO {
private String userID;
private String name;
private String email;
private String password;
private String role;
public UserDTO(String userID, String name, String email, String password, String role) {
this.userID = userID;
this.name = name;
this.email = email;
this.password = password;
this.role = role;
}
public String getUserID() {
return userID;
}
public void setUserID(String userID) {
this.userID = userID;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = 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 String getRole() {
return role;
}
public void setRole(String role) {
this.role = role;
}
}