📄 user.java
字号:
package com.tarena.oos.model;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
/**
* User generated by MyEclipse Persistence Tools
*/
public class User implements java.io.Serializable {
// Fields
/**
*
*/
private static final long serialVersionUID = 1L;
/**
*
*/
private Integer id;
private String name;
private String loginName;
private String loginPassword;
private Integer status;
private String phone;
private String email;
private Date enrollDate;
private Date closeDate;
private Integer paymentStyle;
private Integer career;
private Integer nationality;
private Integer gender;
private String company;
private String address;
private String postCode;
private Set<Services> serviceses = new HashSet<Services>();
// Constructors
/** default constructor */
public User() {
}
/** minimal constructor */
public User(String name, String loginPassword, Integer status) {
this.name = name;
this.loginPassword = loginPassword;
this.status = status;
}
/** full constructor */
public User(String name, String loginName, String loginPassword, Integer status, String phone, String email, Integer paymentStyle, Integer career, Integer nationality, Integer gender, String company, String address, String postCode) {
this.name = name;
this.loginName = loginName;
this.loginPassword = loginPassword;
this.status = status;
this.phone = phone;
this.email = email;
this.paymentStyle = paymentStyle;
this.career = career;
this.nationality = nationality;
this.gender = gender;
this.company = company;
this.address = address;
this.postCode = postCode;
}
// Property accessors
public User(Integer id, String name, String loginName, String loginPassword, Integer status, String phone, String email, Date enrollDate, Date closeDate, Integer paymentStyle, Integer career, Integer nationality, Integer gender, String company, String address, String postCode) {
this.id = id;
this.name = name;
this.loginName = loginName;
this.loginPassword = loginPassword;
this.status = status;
this.phone = phone;
this.email = email;
this.enrollDate = enrollDate;
this.closeDate = closeDate;
this.paymentStyle = paymentStyle;
this.career = career;
this.nationality = nationality;
this.gender = gender;
this.company = company;
this.address = address;
this.postCode = postCode;
}
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 getLoginName() {
return this.loginName;
}
public void setLoginName(String loginName) {
this.loginName = loginName;
}
public String getLoginPassword() {
return this.loginPassword;
}
public void setLoginPassword(String loginPassword) {
this.loginPassword = loginPassword;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getPhone() {
return this.phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public Date getEnrollDate() {
return this.enrollDate;
}
public void setEnrollDate(Date enrollDate) {
this.enrollDate = enrollDate;
}
public Date getCloseDate() {
return this.closeDate;
}
public void setCloseDate(Date closeDate) {
this.closeDate = closeDate;
}
public Integer getPaymentStyle() {
return this.paymentStyle;
}
public void setPaymentStyle(Integer paymentStyle) {
this.paymentStyle = paymentStyle;
}
public Integer getCareer() {
return this.career;
}
public void setCareer(Integer career) {
this.career = career;
}
public Integer getNationality() {
return this.nationality;
}
public void setNationality(Integer nationality) {
this.nationality = nationality;
}
public Integer getGender() {
return this.gender;
}
public void setGender(Integer gender) {
this.gender = gender;
}
public String getCompany() {
return this.company;
}
public void setCompany(String company) {
this.company = company;
}
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
}
public String getPostCode() {
return this.postCode;
}
public void setPostCode(String postCode) {
this.postCode = postCode;
}
public Set getServiceses() {
return this.serviceses;
}
public void setServiceses(Set<Services> serviceses) {
this.serviceses = serviceses;
}
public void addServiceses(Services service) {
serviceses.add(service);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -