📄 role.java
字号:
package entity;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
/**
* Role generated by MyEclipse Persistence Tools
*/
public class Role implements java.io.Serializable {
// Fields
private Integer roleId;
private String roleName;
private String roleDesc;
private Integer roleFlag;
private Set userInfos = new HashSet(0);
private List rights = new ArrayList(0);
// Constructors
/** default constructor */
public Role() {
}
/** full constructor */
public Role(String roleName, String roleDesc, Integer roleFlag,
Set userInfos, List rights) {
this.roleName = roleName;
this.roleDesc = roleDesc;
this.roleFlag = roleFlag;
this.userInfos = userInfos;
this.rights = rights;
}
// Property accessors
public Integer getRoleId() {
return this.roleId;
}
public void setRoleId(Integer roleId) {
this.roleId = roleId;
}
public String getRoleName() {
return this.roleName;
}
public void setRoleName(String roleName) {
this.roleName = roleName;
}
public String getRoleDesc() {
return this.roleDesc;
}
public void setRoleDesc(String roleDesc) {
this.roleDesc = roleDesc;
}
public Integer getRoleFlag() {
return this.roleFlag;
}
public void setRoleFlag(Integer roleFlag) {
this.roleFlag = roleFlag;
}
public Set getUserInfos() {
return this.userInfos;
}
public void setUserInfos(Set userInfos) {
this.userInfos = userInfos;
}
public List getRights() {
return rights;
}
public void setRights(List rights) {
this.rights = rights;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -