@Entity
public class RolePermission
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
RolePermission()
Build role-permission-entity
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPermission()
return the permission related to the role
|
java.lang.String |
getRoleName()
return the name of the role
|
void |
setPermission(java.lang.String permission)
set the permission related to the role
|
void |
setRoleName(java.lang.String roleName)
set the name of the role
|
public java.lang.String getPermission()
public void setPermission(java.lang.String permission)
permission
- the permissionpublic java.lang.String getRoleName()
public void setRoleName(java.lang.String roleName)
roleName
- the role name