📄 user.java
字号:
package cn.com.sdcncsi.lunch.domain;
import java.util.HashSet;
import java.util.Set;
/**
* User entity.
*
* @author MyEclipse Persistence Tools
*/
public class User implements java.io.Serializable {
// Fields
private Integer id;
private String userId;
private String userName;
private String password;
private String enabled;
private Set accountDetails = new HashSet(0);
private Set userGroups = new HashSet(0);
private Set userRoles = new HashSet(0);
private Set accountBooks = new HashSet(0);
// Constructors
/** default constructor */
public User() {
}
/** minimal constructor */
public User(String userId, String userName, String enabled) {
this.userId = userId;
this.userName = userName;
this.enabled = enabled;
}
/** full constructor */
public User(String userId, String userName, String password,
String enabled, Set accountDetails, Set userGroups, Set userRoles,
Set accountBooks) {
this.userId = userId;
this.userName = userName;
this.password = password;
this.enabled = enabled;
this.accountDetails = accountDetails;
this.userGroups = userGroups;
this.userRoles = userRoles;
this.accountBooks = accountBooks;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
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 String getEnabled() {
return this.enabled;
}
public void setEnabled(String enabled) {
this.enabled = enabled;
}
public Set getAccountDetails() {
return this.accountDetails;
}
public void setAccountDetails(Set accountDetails) {
this.accountDetails = accountDetails;
}
public Set getUserGroups() {
return this.userGroups;
}
public void setUserGroups(Set userGroups) {
this.userGroups = userGroups;
}
public Set getUserRoles() {
return this.userRoles;
}
public void setUserRoles(Set userRoles) {
this.userRoles = userRoles;
}
public Set getAccountBooks() {
return this.accountBooks;
}
public void setAccountBooks(Set accountBooks) {
this.accountBooks = accountBooks;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -