📄 user.java
字号:
package tarena.entity;
import java.sql.Blob;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
/**
* User entity.
*
* @author MyEclipse Persistence Tools
*/
@SuppressWarnings({"unchecked","serial"})
public class User implements java.io.Serializable {
// Fields
private Integer id;
private Question question;
private Levels levels;
private String username;
private String password;
private Byte sex;
private String nickname;
private String email;
private Byte emailsecret;
private String mobile;
private String phone;
private String homepage;
private String comefrom;
private String msn;
private String qq;
private String skype;
private String icq;
private String yahoo;
private String selfshow;
private String signature;
private Boolean usesign;
private Byte useportrait;
private Blob portrait;
private String portraitaddress;
private Integer portraitwidth;
private Integer portraitheight;
private String answer;
private Integer topicnum;
private Integer postnum;
private Byte tipwave;
private Byte receiveemail;
private Byte hiden;
private Byte state;
private Date logintime;
private Date registertime;
private String medal;
private Integer dounum;
private Integer forumpoint;
private Integer paypoint;
private Integer readaccess;
private Set collects = new HashSet(0);
private Set beanlogs = new HashSet(0);
private Set receiveaddresses = new HashSet(0);
private Set operatelogs = new HashSet(0);
private Set subscribes = new HashSet(0);
private Set posts = new HashSet(0);
private Set orderses = new HashSet(0);
// Constructors
/** default constructor */
public User() {
}
public User(String username) {
super();
this.username = username;
}
public User(String username, String password) {
super();
this.username = username;
this.password = password;
}
/** minimal constructor */
public User(Levels levels, String username, String password, String email,
String mobile, Date registertime) {
this.levels = levels;
this.username = username;
this.password = password;
this.email = email;
this.mobile = mobile;
this.registertime = registertime;
}
/** full constructor */
public User(Question question, Levels levels, String username,
String password, Byte sex, String nickname, String email,
Byte emailsecret, String mobile, String phone, String homepage,
String comefrom, String msn, String qq, String skype, String icq,
String yahoo, String selfshow, String signature, Boolean usesign,
Byte useportrait, Blob portrait, String portraitaddress,
Integer portraitwidth, Integer portraitheight, String answer,
Integer topicnum, Integer postnum, Byte tipwave, Byte receiveemail,
Byte hiden, Byte state, Date logintime, Date registertime,
String medal, Integer dounum, Integer forumpoint, Integer paypoint,
Integer readaccess, Set collects, Set beanlogs,
Set receiveaddresses, Set operatelogs, Set subscribes, Set posts) {
this.question = question;
this.levels = levels;
this.username = username;
this.password = password;
this.sex = sex;
this.nickname = nickname;
this.email = email;
this.emailsecret = emailsecret;
this.mobile = mobile;
this.phone = phone;
this.homepage = homepage;
this.comefrom = comefrom;
this.msn = msn;
this.qq = qq;
this.skype = skype;
this.icq = icq;
this.yahoo = yahoo;
this.selfshow = selfshow;
this.signature = signature;
this.usesign = usesign;
this.useportrait = useportrait;
this.portrait = portrait;
this.portraitaddress = portraitaddress;
this.portraitwidth = portraitwidth;
this.portraitheight = portraitheight;
this.answer = answer;
this.topicnum = topicnum;
this.postnum = postnum;
this.tipwave = tipwave;
this.receiveemail = receiveemail;
this.hiden = hiden;
this.state = state;
this.logintime = logintime;
this.registertime = registertime;
this.medal = medal;
this.dounum = dounum;
this.forumpoint = forumpoint;
this.paypoint = paypoint;
this.readaccess = readaccess;
this.collects = collects;
this.beanlogs = beanlogs;
this.receiveaddresses = receiveaddresses;
this.operatelogs = operatelogs;
this.subscribes = subscribes;
this.posts = posts;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Question getQuestion() {
return this.question;
}
public void setQuestion(Question question) {
this.question = question;
}
public Levels getLevels() {
return this.levels;
}
public void setLevels(Levels levels) {
this.levels = levels;
}
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 Byte getSex() {
return this.sex;
}
public void setSex(Byte sex) {
this.sex = sex;
}
public String getNickname() {
return this.nickname;
}
public void setNickname(String nickname) {
this.nickname = nickname;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public Byte getEmailsecret() {
return this.emailsecret;
}
public void setEmailsecret(Byte emailsecret) {
this.emailsecret = emailsecret;
}
public String getMobile() {
return this.mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public String getPhone() {
return this.phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getHomepage() {
return this.homepage;
}
public void setHomepage(String homepage) {
this.homepage = homepage;
}
public String getComefrom() {
return this.comefrom;
}
public void setComefrom(String comefrom) {
this.comefrom = comefrom;
}
public String getMsn() {
return this.msn;
}
public void setMsn(String msn) {
this.msn = msn;
}
public String getQq() {
return this.qq;
}
public void setQq(String qq) {
this.qq = qq;
}
public String getSkype() {
return this.skype;
}
public void setSkype(String skype) {
this.skype = skype;
}
public String getIcq() {
return this.icq;
}
public void setIcq(String icq) {
this.icq = icq;
}
public String getYahoo() {
return this.yahoo;
}
public void setYahoo(String yahoo) {
this.yahoo = yahoo;
}
public String getSelfshow() {
return this.selfshow;
}
public void setSelfshow(String selfshow) {
this.selfshow = selfshow;
}
public String getSignature() {
return this.signature;
}
public void setSignature(String signature) {
this.signature = signature;
}
public Boolean getUsesign() {
return this.usesign;
}
public void setUsesign(Boolean usesign) {
this.usesign = usesign;
}
public Byte getUseportrait() {
return this.useportrait;
}
public void setUseportrait(Byte useportrait) {
this.useportrait = useportrait;
}
public Blob getPortrait() {
return this.portrait;
}
public void setPortrait(Blob portrait) {
this.portrait = portrait;
}
public String getPortraitaddress() {
return this.portraitaddress;
}
public void setPortraitaddress(String portraitaddress) {
this.portraitaddress = portraitaddress;
}
public Integer getPortraitwidth() {
return this.portraitwidth;
}
public void setPortraitwidth(Integer portraitwidth) {
this.portraitwidth = portraitwidth;
}
public Integer getPortraitheight() {
return this.portraitheight;
}
public void setPortraitheight(Integer portraitheight) {
this.portraitheight = portraitheight;
}
public String getAnswer() {
return this.answer;
}
public void setAnswer(String answer) {
this.answer = answer;
}
public Integer getTopicnum() {
return this.topicnum;
}
public void setTopicnum(Integer topicnum) {
this.topicnum = topicnum;
}
public Integer getPostnum() {
return this.postnum;
}
public void setPostnum(Integer postnum) {
this.postnum = postnum;
}
public Byte getTipwave() {
return this.tipwave;
}
public void setTipwave(Byte tipwave) {
this.tipwave = tipwave;
}
public Byte getReceiveemail() {
return this.receiveemail;
}
public void setReceiveemail(Byte receiveemail) {
this.receiveemail = receiveemail;
}
public Byte getHiden() {
return this.hiden;
}
public void setHiden(Byte hiden) {
this.hiden = hiden;
}
public Byte getState() {
return this.state;
}
public void setState(Byte state) {
this.state = state;
}
public Date getLogintime() {
return this.logintime;
}
public void setLogintime(Date logintime) {
this.logintime = logintime;
}
public Date getRegistertime() {
return this.registertime;
}
public void setRegistertime(Date registertime) {
this.registertime = registertime;
}
public String getMedal() {
return this.medal;
}
public void setMedal(String medal) {
this.medal = medal;
}
public Integer getDounum() {
return this.dounum;
}
public void setDounum(Integer dounum) {
this.dounum = dounum;
}
public Integer getForumpoint() {
return this.forumpoint;
}
public void setForumpoint(Integer forumpoint) {
this.forumpoint = forumpoint;
}
public Integer getPaypoint() {
return this.paypoint;
}
public void setPaypoint(Integer paypoint) {
this.paypoint = paypoint;
}
public Integer getReadaccess() {
return this.readaccess;
}
public void setReadaccess(Integer readaccess) {
this.readaccess = readaccess;
}
public Set getCollects() {
return this.collects;
}
public void setCollects(Set collects) {
this.collects = collects;
}
public Set getBeanlogs() {
return this.beanlogs;
}
public void setBeanlogs(Set beanlogs) {
this.beanlogs = beanlogs;
}
public Set getReceiveaddresses() {
return this.receiveaddresses;
}
public void setReceiveaddresses(Set receiveaddresses) {
this.receiveaddresses = receiveaddresses;
}
public Set getOperatelogs() {
return this.operatelogs;
}
public void setOperatelogs(Set operatelogs) {
this.operatelogs = operatelogs;
}
public Set getSubscribes() {
return this.subscribes;
}
public void setSubscribes(Set subscribes) {
this.subscribes = subscribes;
}
public Set getPosts() {
return this.posts;
}
public void setPosts(Set posts) {
this.posts = posts;
}
public Set getOrderses() {
return orderses;
}
public void setOrderses(Set orderses) {
this.orderses = orderses;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -