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.
41 lines
804 B
41 lines
804 B
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Wood.Entity;
|
|
using Wood.Entity.SystemManage;
|
|
using Wood.Util;
|
|
|
|
namespace Wood.Service.SystemManage.Dto
|
|
{
|
|
public class RolePagedDto : RoleEntityShared
|
|
{
|
|
public string DataScopeTypeText
|
|
{
|
|
get
|
|
{
|
|
return DataScopeType.GetDescription();
|
|
}
|
|
}
|
|
}
|
|
|
|
public class RoleDetailDto : RoleEntityShared
|
|
{
|
|
/// <summary>
|
|
/// 授权菜单
|
|
/// </summary>
|
|
public List<long> Menus { get; set; } = new List<long>();
|
|
|
|
/// <summary>
|
|
/// 授权按钮功能
|
|
/// </summary>
|
|
public List<long> Btns { get; set; } = new List<long>();
|
|
|
|
/// <summary>
|
|
/// 授权部门列表
|
|
/// </summary>
|
|
public List<long> Orgs { get; set; } = new List<long>();
|
|
}
|
|
}
|
|
|