Role工具类

com.justep.opm.Role
  • 角色实体类

Role(String id, String name, String code)

功能:构造函数
参数: 
    id:角色ID
    name:角色name
    code:角色code
返回:

getId()

功能:获取角色ID
参数: 
返回:
    类型:String

getName()

功能:获取角色名
参数: 
返回:
    类型:String

getCode()

功能:获取角色编码
参数: 
返回:
    类型:String

setId(String id)

功能:设置角色ID
参数: 
    id:角色ID
返回:void

setName(String name)

功能:设置角色名
参数: 
    name:角色名
返回:void

setCode(String code)

功能:设置角色code
参数: 
    code:角色code
返回:void

toString()

功能:将角色信息转换为String
参数: 
返回:
    类型:String

results matching ""

    No results matching ""

    results matching ""

      No results matching ""