-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathUsers.java
More file actions
91 lines (67 loc) · 2 KB
/
Users.java
File metadata and controls
91 lines (67 loc) · 2 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
package com.bookshop.modle;
import java.io.Serializable;
public class Users implements Serializable{
private String uAccount;
private String uName;
private String uPassword;
private String uPhone;
private String uMail;
private String uRole;
public Users(String uAccount,String uPassword) {
this.uAccount=uAccount;
this.uPassword=uPassword;
}
public Users(String uAccount,String uPassword,String uPhone,String uRole) {
this.uAccount=uAccount;
this.uPassword=uPassword;
this.uPhone=uPhone;
this.uRole=uRole;
}
public Users(String uAccount, String uName, String uPassword, String uPhone, String uMail, String uRole) {
super();
this.uAccount = uAccount;
this.uName = uName;
this.uPassword = uPassword;
this.uPhone = uPhone;
this.uMail = uMail;
this.uRole = uRole;
}
public Users() {
}
public String getuAccount() {
return uAccount;
}
public void setuAccount(String uAccount) {
this.uAccount = uAccount == null ? null : uAccount.trim();
}
public String getuName() {
return uName;
}
public void setuName(String uName) {
this.uName = uName == null ? null : uName.trim();
}
public String getuPassword() {
return uPassword;
}
public void setuPassword(String uPassword) {
this.uPassword = uPassword == null ? null : uPassword.trim();
}
public String getuPhone() {
return uPhone;
}
public void setuPhone(String uPhone) {
this.uPhone = uPhone == null ? null : uPhone.trim();
}
public String getuMail() {
return uMail;
}
public void setuMail(String uMail) {
this.uMail = uMail == null ? null : uMail.trim();
}
public String getuRole() {
return uRole;
}
public void setuRole(String uRole) {
this.uRole = uRole == null ? null : uRole.trim();
}
}