SysRole Class

角色。

Definition

Namespace: QuickAdmin.Entity.Admin
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 2.0.13
C#
[Display(Name = "角色")]
public class SysRole : SortableAuditableEntityWithIdKey, ISnowflakeEntity, 
	IEntityWithIdKey, IEntityWithIdKey<long>, IEntity
Inheritance
object    CreationAuditableEntity    AuditableEntity    AuditableEntityWithIdKeylong    SortableAuditableEntityWithIdKeylong    SortableAuditableEntityWithIdKey    SysRole
Implements
IEntity, IEntityWithIdKey, IEntityWithIdKeylong, ISnowflakeEntity

Constructors

SysRoleInitializes a new instance of the SysRole class

Properties

Public Properties

AdminLevel 获取/设置管理员级别。
Category 获取/设置所属类别实体。
CategoryId 获取/设置所属类别 Id。
Code 获取/设置角色代码。
CreatedDisplayText 获取对录入审计信息的描述。
(Inherited from CreationAuditableEntity)
CreatedTime 获取/设置录入时间。
(Inherited from CreationAuditableEntity)
CreatorId 获取/设置录入人 Id
(Inherited from CreationAuditableEntity)
CreatorName 获取/设置录入人名称。此属性不映射到表字段。
(Inherited from CreationAuditableEntity)
DefaultDataScopeLevel 获取/设置默认数据权限级别。
DefaultDataScopeLevelDesc 获取对默认数据权限级别的描述。此属性不映射到表字段。
DisplayOrder 获取/设置显示顺序。数值越小越靠前。
(Inherited from SortableAuditableEntityWithIdKeyTKey)
GrantorAdminLevel 获取/设置可授权管理员级别。
Id 获取/设置 Id 主键。
(Inherited from AuditableEntityWithIdKeyTKey)
IsFixed 获取/设置一个布尔值,指示是否是固定角色。固定角色禁止删除。
Name 获取/设置角色名称。
Remarks 获取/设置备注。
UpdatedDisplayText 获取对更新审计信息的描述。
(Inherited from AuditableEntity)
UpdatedTime 获取/设置修改时间。
(Inherited from AuditableEntity)
UpdaterId 获取/设置修改人 Id
(Inherited from AuditableEntity)
UpdaterName 获取/设置修改人名称。此属性不映射到表字段。
(Inherited from AuditableEntity)

Methods

Public Methods

ToString 返回对本实体的描述字符串。
(Overrides AuditableEntityWithIdKeyTKeyToString)

See Also