📄 role.java
字号:
package com.starit.model;
import java.util.HashSet;
import java.util.Set;
/**
* Roles generated by MyEclipse - Hibernate Tools
*/
public class Role implements java.io.Serializable {
// Fields
private Integer id;
private String roleName;
private String res;
private Boolean enabled;
private Set weburlRole = new HashSet(0);
// Constructors
/** default constructor */
public Role() {
}
/** full constructor */
public Role(String roleName, String res, Boolean enable, Set weburlRole) {
this.roleName = roleName;
this.res = res;
this.enabled = enable;
this.weburlRole = weburlRole;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getRoleName() {
return this.roleName;
}
public void setRoleName(String roleName) {
this.roleName = roleName;
}
public String getRes() {
return this.res;
}
public void setRes(String res) {
this.res = res;
}
public Boolean getEnabled() {
return enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public Set getWeburlRole() {
return this.weburlRole;
}
public void setWeburlRole(Set weburlRole) {
this.weburlRole = weburlRole;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -