将以往的代码复制到代码库
This commit is contained in:
43
Future.Contract/Business/Permit.cs
Normal file
43
Future.Contract/Business/Permit.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Future.Contract
|
||||
{
|
||||
/// <summary>
|
||||
/// 权限声明
|
||||
/// </summary>
|
||||
public class Permit
|
||||
{
|
||||
/// <summary>
|
||||
/// 权限码
|
||||
/// </summary>
|
||||
public string Code { get; set; }
|
||||
/// <summary>
|
||||
/// 权限名
|
||||
/// </summary>
|
||||
public string Title { get; set; }
|
||||
/// <summary>
|
||||
/// 备注信息
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
/// <summary>
|
||||
/// 值
|
||||
/// </summary>
|
||||
public bool Value { get; set; }
|
||||
/// <summary>
|
||||
/// 默认值
|
||||
/// </summary>
|
||||
public bool Default { get; set; }
|
||||
/// <summary>
|
||||
/// 权限分组
|
||||
/// </summary>
|
||||
public string Group { get; set; }
|
||||
/// <summary>
|
||||
/// 前置权限
|
||||
/// </summary>
|
||||
public List<string> PrePermits { get; set; } = new List<string>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user