1
|
|
|
package unicon.matthews.admin.endpoint.input; |
2
|
|
|
|
3
|
|
|
import io.swagger.annotations.ApiModel; |
4
|
|
|
import io.swagger.annotations.ApiModelProperty; |
5
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder; |
6
|
|
|
|
7
|
|
|
@ApiModel |
8
|
|
|
public class UserDTO { |
9
|
|
|
|
10
|
|
|
private String id; |
11
|
|
|
|
12
|
|
|
private String tenantId; |
13
|
|
|
|
14
|
|
|
private String orgId; |
15
|
|
|
|
16
|
|
|
private String username; |
17
|
|
|
|
18
|
|
|
private String password = ""; |
|
|
|
|
19
|
|
|
|
20
|
|
|
private String emailAddress; |
21
|
|
|
|
22
|
|
|
@ApiModelProperty(position = 1, value = "User Id") |
23
|
|
|
public String getId() { |
24
|
|
|
return id; |
25
|
|
|
} |
26
|
|
|
|
27
|
|
|
public void setId(String id) { |
28
|
|
|
this.id = id; |
29
|
|
|
} |
30
|
|
|
|
31
|
|
|
@ApiModelProperty(position = 2, value = "Tenant Id") |
32
|
|
|
public String getTenantId() { |
33
|
|
|
return tenantId; |
34
|
|
|
} |
35
|
|
|
|
36
|
|
|
public void setTenantId(String tenantId) { |
37
|
|
|
this.tenantId = tenantId; |
38
|
|
|
} |
39
|
|
|
|
40
|
|
|
@ApiModelProperty(position = 3, value = "Organization Id") |
41
|
|
|
public String getOrgId() { |
42
|
|
|
return orgId; |
43
|
|
|
} |
44
|
|
|
|
45
|
|
|
public void setOrgId(String orgId) { |
46
|
|
|
this.orgId = orgId; |
47
|
|
|
} |
48
|
|
|
|
49
|
|
|
@ApiModelProperty(position = 4, value = "User Name") |
50
|
|
|
public String getUsername() { |
51
|
|
|
return username; |
52
|
|
|
} |
53
|
|
|
|
54
|
|
|
public void setUsername(String username) { |
55
|
|
|
this.username = username; |
56
|
|
|
} |
57
|
|
|
|
58
|
|
|
@ApiModelProperty(position = 5, value = "Password") |
59
|
|
|
public String getPassword() { |
60
|
|
|
return password; |
61
|
|
|
} |
62
|
|
|
|
63
|
|
|
public void setPassword(String password) { |
64
|
|
|
this.password = password; |
65
|
|
|
} |
66
|
|
|
|
67
|
|
|
@ApiModelProperty(position = 6, value = "Email Address") |
68
|
|
|
public String getEmailAddress() { |
69
|
|
|
return emailAddress; |
70
|
|
|
} |
71
|
|
|
|
72
|
|
|
public void setEmailAddress(String emailAddress) { |
73
|
|
|
this.emailAddress = emailAddress; |
74
|
|
|
} |
75
|
|
|
|
76
|
|
|
@Override |
77
|
|
|
public String toString() { |
78
|
|
|
return new ToStringBuilder(this) |
79
|
|
|
.append("id", id) |
80
|
|
|
.append("tenantId", tenantId) |
81
|
|
|
.append("orgId", orgId) |
82
|
|
|
.append("username", username) |
83
|
|
|
.append("password", password) |
84
|
|
|
.append("emailAddress", emailAddress) |
85
|
|
|
.toString(); |
86
|
|
|
} |
87
|
|
|
} |
88
|
|
|
|