@Entity
public class SysRole
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private java.lang.Integer |
id
id
|
private @NotNull @Length(max=50) java.lang.String |
name
name
名称
|
private boolean |
ownsAllRight
owns all right
拥有全部功能权限
|
private static long |
serialVersionUID |
private boolean |
showAllModule
show all modules
显示全部模块
|
private short |
siteId |
构造器和说明 |
---|
SysRole() |
SysRole(short siteId,
java.lang.String name,
boolean ownsAllRight,
boolean showAllModule) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Integer |
getId() |
java.lang.String |
getName() |
short |
getSiteId() |
boolean |
isOwnsAllRight() |
boolean |
isShowAllModule() |
void |
setId(java.lang.Integer id) |
void |
setName(java.lang.String name) |
void |
setOwnsAllRight(boolean ownsAllRight) |
void |
setShowAllModule(boolean showAllModule) |
void |
setSiteId(short siteId) |
private static final long serialVersionUID
private java.lang.Integer id
private short siteId
@NotNull @Length(max=50) private @NotNull @Length(max=50) java.lang.String name
名称
private boolean ownsAllRight
拥有全部功能权限
private boolean showAllModule
显示全部模块
public SysRole()
public SysRole(short siteId, java.lang.String name, boolean ownsAllRight, boolean showAllModule)
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
public short getSiteId()
public void setSiteId(short siteId)
public java.lang.String getName()
public void setName(java.lang.String name)
public boolean isOwnsAllRight()
public void setOwnsAllRight(boolean ownsAllRight)
public boolean isShowAllModule()
public void setShowAllModule(boolean showAllModule)