?? user.java
字號:
package cn.com.tarena.ecport.pojo;
import java.util.HashSet;
import java.util.Set;
/**
* <pre>
* 用戶Pojo
* 此Pojo映射數(shù)據(jù)庫中的User表
* </pre>
*
* @author zhouyu 2008-1-16
*/
public class User extends BasePojo {
/**
*
*/
private static final long serialVersionUID = 7920033419851593861L;
private String userid;//???ID
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 userid, String password) {
this.userid = userid;
this.password = password;
}
/** full constructor */
public User(String userid, String password, Set orderses, ContactInfo contactinfo) {
this.userid = userid;
this.password = password;
this.orderses = orderses;
this.contactinfo = contactinfo;
}
// Property accessors
public String getUserid() {
return this.userid;
}
public void setUserid(String userid) {
this.userid = userid;
}
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;
}
/* public Set getContactinfos() {
return this.contactinfos;
}
public void setContactinfos(Set contactinfos) {
this.contactinfos = contactinfos;
}*/
/**
* @return the contactinfo
*/
public ContactInfo getContactinfo() {
return contactinfo;
}
/**
* @param contactinfo the contactinfo to set
*/
public void setContactinfo(ContactInfo contactinfo) {
this.contactinfo = contactinfo;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -