📄 user1.java
字号:
package cn.handson.base;
import java.util.HashSet;
import java.util.Set;
/**
* User1 generated by MyEclipse - Hibernate Tools
*/
public class User1 implements java.io.Serializable {
// Fields
private Integer userId;
private String userName;
private String userDepart;
private String userWork;
private String userAddress;
private String userPhone;
private String userOfficePhone;
private String userMes;
private String userMobel;
private Integer userType=1;
private String usesRemark;
private Set fares = new HashSet(0);
private Set constructs = new HashSet(0);
// Constructors
/** default constructor */
public User1() {
}
/** minimal constructor */
public User1(String userName, String userAddress, Integer userType) {
this.userName = userName;
this.userAddress = userAddress;
this.userType = userType;
}
/** full constructor */
public User1(String userName, String userDepart, String userWork, String userAddress, String userPhone, String userOfficePhone, String userMes, String userMobel, Integer userType, String usesRemark, Set fares, Set constructs) {
this.userName = userName;
this.userDepart = userDepart;
this.userWork = userWork;
this.userAddress = userAddress;
this.userPhone = userPhone;
this.userOfficePhone = userOfficePhone;
this.userMes = userMes;
this.userMobel = userMobel;
this.userType = userType;
this.usesRemark = usesRemark;
this.fares = fares;
this.constructs = constructs;
}
// Property accessors
public Integer getUserId() {
return this.userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public String getUserName() {
System.out.println(this.userName + "ccc");
return this.userName;
}
public void setUserName(String userName) {
this.userName = userName;
System.out.println(this.userName + "ddd");
}
public String getUserDepart() {
return this.userDepart;
}
public void setUserDepart(String userDepart) {
this.userDepart = userDepart;
}
public String getUserWork() {
return this.userWork;
}
public void setUserWork(String userWork) {
this.userWork = userWork;
}
public String getUserAddress() {
System.out.println(userAddress + "ccc");
return this.userAddress;
}
public void setUserAddress(String userAddress) {
this.userAddress = userAddress;
}
public String getUserPhone() {
return this.userPhone;
}
public void setUserPhone(String userPhone) {
this.userPhone = userPhone;
}
public String getUserOfficePhone() {
return this.userOfficePhone;
}
public void setUserOfficePhone(String userOfficePhone) {
this.userOfficePhone = userOfficePhone;
}
public String getUserMes() {
return this.userMes;
}
public void setUserMes(String userMes) {
this.userMes = userMes;
}
public String getUserMobel() {
return this.userMobel;
}
public void setUserMobel(String userMobel) {
this.userMobel = userMobel;
}
public Integer getUserType() {
return this.userType;
}
public void setUserType(Integer userType) {
this.userType = userType;
}
public String getUsesRemark() {
return this.usesRemark;
}
public void setUsesRemark(String usesRemark) {
this.usesRemark = usesRemark;
}
public Set getFares() {
return this.fares;
}
public void setFares(Set fares) {
this.fares = fares;
}
public Set getConstructs() {
return this.constructs;
}
public void setConstructs(Set constructs) {
this.constructs = constructs;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -