public class Role extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| Role() | 
| Role(Role source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Boolean | getCanChoose()Get 是否可被选
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getCorpId()Get 企业ID | 
| String | getCreatedAt()Get 创建时间
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getCreatedUser()Get 创建人
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getDescription()Get 描述 | 
| Long | getId()Get 角色ID | 
| String | getModuleCollection()Get 角色key
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getRoleName()Get 角色名称 | 
| String | getRoleType()Get 角色类型 | 
| String | getScope()Get 范围 | 
| Long | getScopeType()Get 是否为全局角色(0 不是, 1 是)
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getUpdatedAt()Get 更新时间
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getUpdatedUser()Get 更新人
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setCanChoose(Boolean CanChoose)Set 是否可被选
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setCorpId(String CorpId)Set 企业ID | 
| void | setCreatedAt(String CreatedAt)Set 创建时间
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setCreatedUser(String CreatedUser)Set 创建人
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setDescription(String Description)Set 描述 | 
| void | setId(Long Id)Set 角色ID | 
| void | setModuleCollection(String ModuleCollection)Set 角色key
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setRoleName(String RoleName)Set 角色名称 | 
| void | setRoleType(String RoleType)Set 角色类型 | 
| void | setScope(String Scope)Set 范围 | 
| void | setScopeType(Long ScopeType)Set 是否为全局角色(0 不是, 1 是)
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setUpdatedAt(String UpdatedAt)Set 更新时间
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setUpdatedUser(String UpdatedUser)Set 更新人
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Role()
public Role(Role source)
public Long getId()
public void setId(Long Id)
Id - 角色IDpublic String getRoleName()
public void setRoleName(String RoleName)
RoleName - 角色名称public String getCorpId()
public void setCorpId(String CorpId)
CorpId - 企业IDpublic String getRoleType()
public void setRoleType(String RoleType)
RoleType - 角色类型public String getScope()
public void setScope(String Scope)
Scope - 范围public String getDescription()
public void setDescription(String Description)
Description - 描述public String getCreatedAt()
public void setCreatedAt(String CreatedAt)
CreatedAt - 创建时间
注意:此字段可能返回 null,表示取不到有效值。public String getCreatedUser()
public void setCreatedUser(String CreatedUser)
CreatedUser - 创建人
注意:此字段可能返回 null,表示取不到有效值。public String getUpdatedAt()
public void setUpdatedAt(String UpdatedAt)
UpdatedAt - 更新时间
注意:此字段可能返回 null,表示取不到有效值。public String getUpdatedUser()
public void setUpdatedUser(String UpdatedUser)
UpdatedUser - 更新人
注意:此字段可能返回 null,表示取不到有效值。public Long getScopeType()
public void setScopeType(Long ScopeType)
ScopeType - 是否为全局角色(0 不是, 1 是)
注意:此字段可能返回 null,表示取不到有效值。public Boolean getCanChoose()
public void setCanChoose(Boolean CanChoose)
CanChoose - 是否可被选
注意:此字段可能返回 null,表示取不到有效值。public String getModuleCollection()
public void setModuleCollection(String ModuleCollection)
ModuleCollection - 角色key
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.