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.
38 lines
740 B
38 lines
740 B
5 days ago
|
namespace Admin.NET.Core;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 角色数据范围枚举
|
||
|
/// </summary>
|
||
|
[Description("角色数据范围枚举")]
|
||
|
public enum DataScopeEnum
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 全部数据
|
||
|
/// </summary>
|
||
|
[Description("全部数据")]
|
||
|
All = 1,
|
||
|
|
||
|
/// <summary>
|
||
|
/// 本部门及以下数据
|
||
|
/// </summary>
|
||
|
[Description("本部门及以下数据")]
|
||
|
DeptChild = 2,
|
||
|
|
||
|
/// <summary>
|
||
|
/// 本部门数据
|
||
|
/// </summary>
|
||
|
[Description("本部门数据")]
|
||
|
Dept = 3,
|
||
|
|
||
|
/// <summary>
|
||
|
/// 仅本人数据
|
||
|
/// </summary>
|
||
|
[Description("仅本人数据")]
|
||
|
Self = 4,
|
||
|
|
||
|
/// <summary>
|
||
|
/// 自定义数据
|
||
|
/// </summary>
|
||
|
[Description("自定义数据")]
|
||
|
Define = 5
|
||
|
}
|