限定符和类型 | 字段和说明 |
---|---|
protected long |
design |
protected long |
page |
protected java.lang.String |
path |
protected long |
roleId |
protected long |
write |
构造器和说明 |
---|
RoleTemplatePrivilege() |
RoleTemplatePrivilege(long id) |
RoleTemplatePrivilege(long roleId,
java.lang.String path,
long page,
long write,
long design) |
RoleTemplatePrivilege(java.lang.String path,
long page,
long write,
long design) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals4Properties(java.lang.Object obj)
比较两个对象的属性是否相同
|
long |
getDesign() |
long |
getPage() |
java.lang.String |
getPath() |
long |
getRoleId() |
long |
getWrite() |
protected int |
hashCode4Properties() |
void |
setDesign(long design) |
void |
setPage(long page) |
void |
setPath(java.lang.String path) |
void |
setRoleId(long roleId) |
void |
setWrite(long write) |
JSONObject |
toJSONObject()
转换成JSON对象
|
protected long roleId
protected java.lang.String path
protected long page
protected long write
protected long design
public RoleTemplatePrivilege()
public RoleTemplatePrivilege(long id)
public RoleTemplatePrivilege(java.lang.String path, long page, long write, long design)
public RoleTemplatePrivilege(long roleId, java.lang.String path, long page, long write, long design)
protected int hashCode4Properties()
hashCode4Properties
在类中 DAOBean
public boolean equals4Properties(java.lang.Object obj)
equals4Properties
在类中 DAOBean
obj
- 比较的对象public JSONObject toJSONObject()
public long getPage()
public void setPage(long page)
public long getRoleId()
public void setRoleId(long roleId)
public java.lang.String getPath()
public void setPath(java.lang.String path)
public long getWrite()
public void setWrite(long write)
public long getDesign()
public void setDesign(long design)