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.
42 lines
867 B
42 lines
867 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;
|
|
|
|
namespace Wood.Service.SystemManage.Param
|
|
{
|
|
public class RolePagedParam : Pagination
|
|
{
|
|
/// <summary>
|
|
/// 名称
|
|
/// </summary>
|
|
public string? Name { get; set; }
|
|
}
|
|
|
|
public class RoleAddParam : RoleEntityShared
|
|
{
|
|
/// <summary>
|
|
/// 授权菜单
|
|
/// </summary>
|
|
public List<long> Menus { get; set; } = new List<long>();
|
|
}
|
|
|
|
public class RoleUpdateParam : RoleAddParam { }
|
|
|
|
|
|
public class RoleUpdateDataTypeParam : BaseIdParam {
|
|
|
|
/// <summary>
|
|
/// 数据范围类型
|
|
/// </summary>
|
|
public DataScopeTypeEnum DataScopeType { get; set; } = DataScopeTypeEnum.All;
|
|
/// <summary>
|
|
/// 部门数据
|
|
/// </summary>
|
|
public List<long> Orgs { get; set; }
|
|
}
|
|
}
|
|
|