forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUser.java
More file actions
93 lines (91 loc) · 1.94 KB
/
User.java
File metadata and controls
93 lines (91 loc) · 1.94 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
92
93
package com.hiernate.persistence;
/**
* 用户持久化类
*
*/
public class User {
private int id; //用户的id号
private String userName; //用户登录系统时所用的用户名
private String pwd; //用户密码
private String name; //用户的真实姓名
private String purview; //用户权限
private String branch; //用户所在的部门
private String job; //用户工作
private String sex; //用户性别
private String email; //用户的E-mail地址
private String tel; //用户电话
private String address; //用户地址
private int bestMan; //优秀员工标记
public int getBestMan() {
return bestMan;
}
public void setBestMan(int bestMan) {
this.bestMan = bestMan;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getBranch() {
return branch;
}
public void setBranch(String branch) {
this.branch = branch;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getJob() {
return job;
}
public void setJob(String job) {
this.job = job;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPurview() {
return purview;
}
public void setPurview(String purview) {
this.purview = purview;
}
public String getPwd() {
return pwd;
}
public void setPwd(String pwd) {
this.pwd = pwd;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public String getTel() {
return tel;
}
public void setTel(String tel) {
this.tel = tel;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
}