📄 user.java
字号:
package org.langsin.car.vo;
import java.util.HashSet;
import java.util.Set;
/**
* User generated by MyEclipse - Hibernate Tools
*/
@SuppressWarnings("serial")
public class User implements java.io.Serializable {
// Fields
private Integer userid;
private Dept dept;
private Privil privil;
private String username;
private String password;
private String sex;
private String position;
private String memo;
private Set carins = new HashSet(0);
private Set drivers = new HashSet(0);
private Set applychecks = new HashSet(0);
private Set carouts = new HashSet(0);
private Set carapplies = new HashSet(0);
// Constructors
/** default constructor */
public User() {
}
/** minimal constructor */
public User(String username, String password) {
this.username = username;
this.password = password;
}
/** full constructor */
public User(Dept dept, Privil privil, String username, String password, String sex, String position, String memo, Set carins, Set drivers, Set applychecks, Set carouts, Set carapplies) {
this.dept = dept;
this.privil = privil;
this.username = username;
this.password = password;
this.sex = sex;
this.position = position;
this.memo = memo;
this.carins = carins;
this.drivers = drivers;
this.applychecks = applychecks;
this.carouts = carouts;
this.carapplies = carapplies;
}
// Property accessors
public Integer getUserid() {
return this.userid;
}
public void setUserid(Integer userid) {
this.userid = userid;
}
public Dept getDept() {
return this.dept;
}
public void setDept(Dept dept) {
this.dept = dept;
}
public Privil getPrivil() {
return this.privil;
}
public void setPrivil(Privil privil) {
this.privil = privil;
}
public String getUsername() {
return this.username;
}
public void setUsername(String username) {
this.username = username;
}
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 String getPosition() {
return this.position;
}
public void setPosition(String position) {
this.position = position;
}
public String getMemo() {
return this.memo;
}
public void setMemo(String memo) {
this.memo = memo;
}
public Set getCarins() {
return this.carins;
}
public void setCarins(Set carins) {
this.carins = carins;
}
public Set getDrivers() {
return this.drivers;
}
public void setDrivers(Set drivers) {
this.drivers = drivers;
}
public Set getApplychecks() {
return this.applychecks;
}
public void setApplychecks(Set applychecks) {
this.applychecks = applychecks;
}
public Set getCarouts() {
return this.carouts;
}
public void setCarouts(Set carouts) {
this.carouts = carouts;
}
public Set getCarapplies() {
return this.carapplies;
}
public void setCarapplies(Set carapplies) {
this.carapplies = carapplies;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -