?? user.java
字號:
package domain;
import java.util.Date;
import java.util.Set;
public class User implements java.io.Serializable {
// Fields
private Integer id;
private String name;
private String password;
private String sex;
private Date hireDate;
private String position;
private Date birthDate;
private String diploma;
private String specialty;
private String exper;
private String role;
private String leader;
private Set taskA;
private Set taskB;
// Constructors
/** default constructor */
public User() {
}
/** full constructor */
public User(String name, String password, String sex, Date hireDate,
String position, Date birthDate, String diploma, String specialty,
String exper, String role, String leader) {
this.name = name;
this.password = password;
this.sex = sex;
this.hireDate = hireDate;
this.position = position;
this.birthDate = birthDate;
this.diploma = diploma;
this.specialty = specialty;
this.exper = exper;
this.role = role;
this.leader = leader;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public String getSex() {
return this.sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public Date getHireDate() {
return this.hireDate;
}
public void setHireDate(Date hireDate) {
this.hireDate = hireDate;
}
public String getPosition() {
return this.position;
}
public void setPosition(String position) {
this.position = position;
}
public Date getBirthDate() {
return this.birthDate;
}
public void setBirthDate(Date birthDate) {
this.birthDate = birthDate;
}
public String getDiploma() {
return this.diploma;
}
public void setDiploma(String diploma) {
this.diploma = diploma;
}
public String getSpecialty() {
return this.specialty;
}
public void setSpecialty(String specialty) {
this.specialty = specialty;
}
public String getExper() {
return this.exper;
}
public void setExper(String exper) {
this.exper = exper;
}
public String getRole() {
return this.role;
}
public void setRole(String role) {
this.role = role;
}
public String getLeader() {
return leader;
}
public void setLeader(String leader) {
this.leader = leader;
}
public Set getTaskA() {
return taskA;
}
public void setTaskA(Set taskA) {
this.taskA = taskA;
}
public Set getTaskB() {
return taskB;
}
public void setTaskB(Set taskB) {
this.taskB = taskB;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -