?? userinfo.java
字號:
package com.zhou.po;
import java.util.HashSet;
import java.util.Set;
/**
* Userinfo entity.
*
* @author MyEclipse Persistence Tools
*/
public class Userinfo implements java.io.Serializable {
// Fields
private Long userid;
private Role role;
private String username;
private String userpwd;
private Set tasks = new HashSet(0);
private Set achievements = new HashSet(0);
// Constructors
/** default constructor */
public Userinfo() {
}
/** full constructor */
public Userinfo(Role role, String username, String userpwd, Set tasks,
Set achievements) {
this.role = role;
this.username = username;
this.userpwd = userpwd;
this.tasks = tasks;
this.achievements = achievements;
}
// Property accessors
public Long getUserid() {
return this.userid;
}
public void setUserid(Long userid) {
this.userid = userid;
}
public Role getRole() {
return this.role;
}
public void setRole(Role role) {
this.role = role;
}
public String getUsername() {
return this.username;
}
public void setUsername(String username) {
this.username = username;
}
public String getUserpwd() {
return this.userpwd;
}
public void setUserpwd(String userpwd) {
this.userpwd = userpwd;
}
public Set getTasks() {
return this.tasks;
}
public void setTasks(Set tasks) {
this.tasks = tasks;
}
public Set getAchievements() {
return this.achievements;
}
public void setAchievements(Set achievements) {
this.achievements = achievements;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -