You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
-
- //
-
-
-
-
-
-
-
-
- namespace SafeCampus.System;
-
- /// <summary>
- /// 角色拥有的资源输出
- /// </summary>
- public class RoleOwnResourceOutput
- {
- /// <summary>
- /// Id
- /// </summary>
- public virtual long Id { get; set; }
-
- /// <summary>
- /// 已授权资源信息
- /// </summary>
- public virtual List<RelationRoleResource> GrantInfoList { get; set; }
- }
-
- /// <summary>
- /// 角色拥有权限输出
- /// </summary>
- public class RoleOwnPermissionOutput
- {
- /// <summary>
- /// 角色Id
- /// </summary>
- public virtual long Id { get; set; }
-
- /// <summary>
- /// 已授权资源信息
- /// </summary>
- public virtual List<RelationRolePermission> GrantInfoList { get; set; }
- }
-
- /// <summary>
- /// 角色树输出参数
- /// </summary>
- public class RoleTreeOutput
- {
- /// <summary>
- /// 职位Id
- /// </summary>
- public long Id { get; set; }
-
- /// <summary>
- /// 名称
- /// </summary>
- public string Name { get; set; }
-
- /// <summary>
- /// 是否是职位
- /// </summary>
- public bool IsRole { get; set; }
-
- /// <summary>
- /// 子项
- /// </summary>
- public List<RoleTreeOutput> Children { get; set; } = new List<RoleTreeOutput>();
- }
|