📄 user.java
字号:
package cn.com.tarena.ecport.pojo;
import java.util.HashSet;
import java.util.Set;
/**
* <pre>
* 用户Pojo
* 此Pojo映射数据库中的User表
* </pre>
*
* @author zhouyu 2008-1-16
*/
public class User extends BasePojo {
/**
*
*/
private static final long serialVersionUID = 7920033419851593861L;
private Long userid;//�û�ID
private String userName;
private String password;//�û�����
private Set orderses = new HashSet(0);
//private Set contactinfos = new HashSet(0);;//�û���ϸ��Ϣ
private ContactInfo contactinfo;
// Constructors
/** default constructor */
public User() {
}
/** minimal constructor */
public User(String userName, String password) {
this.userName = userName;
this.password = password;
}
public User(Long userid, String userName, String password) {
super();
this.userid = userid;
this.userName = userName;
this.password = password;
}
/** full constructor */
public User(Long userid, String password, Set orderses, ContactInfo contactinfo) {
this.userid = userid;
this.password = password;
this.orderses = orderses;
this.contactinfo = contactinfo;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public Set getOrderses() {
return this.orderses;
}
public void setOrderses(Set orderses) {
this.orderses = orderses;
}
/**
* @return the contactinfo
*/
public ContactInfo getContactinfo() {
return contactinfo;
}
/**
* @param contactinfo the contactinfo to set
*/
public void setContactinfo(ContactInfo contactinfo) {
this.contactinfo = contactinfo;
}
public Long getUserid() {
return userid;
}
public void setUserid(Long userid) {
this.userid = userid;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -