?? userinfo.java
字號:
package com.david.bo;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
/**
* Userinfo generated by MyEclipse Persistence Tools
*/
public class Userinfo implements java.io.Serializable {
// Fields
private Integer id;
private String username;
private String password;
private Date addtime;
private Set categories = new HashSet(0);
//private Set userpoints = new HashSet(0);
private Userpoint userpoint;
// Constructors
/** default constructor */
public Userinfo() {
}
/** minimal constructor */
public Userinfo(String username) {
this.username = username;
}
/** full constructor */
public Userinfo(String username, String password, Date addtime,
Set categories, Userpoint userpoint) {
this.username = username;
this.password = password;
this.addtime = addtime;
this.categories = categories;
//this.userpoints = userpoints;
this.userpoint=userpoint;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
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 Date getAddtime() {
return this.addtime;
}
public void setAddtime(Date addtime) {
this.addtime = addtime;
}
public Set getCategories() {
return this.categories;
}
public void setCategories(Set categories) {
this.categories = categories;
}
public Userpoint getUserpoint() {
return userpoint;
}
public void setUserpoint(Userpoint userpoint) {
this.userpoint = userpoint;
}
/**
public Set getUserpoints() {
return this.userpoints;
}
public void setUserpoints(Set userpoints) {
this.userpoints = userpoints;
}
*/
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -