//
namespace SafeCampus.System;
///
/// 角色授权资源树输出
///
public class ResTreeSelector
{
///
/// 模块id
///
public long Id { get; set; }
///
/// 模块名称
///
public string Title { get; set; }
///
/// 模块图标
///
public string Icon { get; set; }
///
/// 模块下菜单集合
///
public List Menu { get; set; }
///
/// 授权菜单类
///
public class RoleGrantResourceMenu
{
///
/// 菜单id
///
public long Id { get; set; }
///
/// 父id
///
public long ParentId { get; set; }
///
/// 父名称
///
public string ParentName { get; set; }
///
/// 模块名称
///
public string Title { get; set; }
///
/// 模块id
///
public long Module { get; set; }
///
/// 菜单下按钮集合
///
public List Button { get; set; } = new List();
}
///
/// 角色授权资源按钮信息
///
public class RoleGrantResourceButton
{
///
/// 按钮id
///
public long Id { get; set; }
///
/// 标题
///
public string Title { get; set; }
}
}
///
/// 权限树选择器输出
///
public class PermissionTreeSelector
{
///
/// 接口描述
///
public string ApiName { get; set; }
///
/// 路由名称
///
public string ApiRoute { get; set; }
///
/// 权限名称
///
public string PermissionName { get; set; }
}