namespace Admin.NET.Core; /// /// APIJSON配置选项 /// public sealed class APIJSONOptions : IConfigurableOptions { /// /// 角色集合 /// public List Roles { get; set; } } /// /// APIJSON角色权限 /// public class APIJSON_Role { /// /// 角色名称 /// public string RoleName { get; set; } /// /// 查询 /// public APIJSON_RoleItem Select { get; set; } /// /// 增加 /// public APIJSON_RoleItem Insert { get; set; } /// /// 更新 /// public APIJSON_RoleItem Update { get; set; } /// /// 删除 /// public APIJSON_RoleItem Delete { get; set; } } /// /// APIJSON角色权限内容 /// public class APIJSON_RoleItem { /// /// 表集合 /// public string[] Table { get; set; } /// /// 列集合 /// public string[] Column { get; set; } /// /// 过滤器 /// public string[] Filter { get; set; } }