using System; using System.Collections.Generic; using System.Text; namespace VOL.Core.Filters { public class ActionPermissionRequirement { /// /// 控制器要操作的表 /// public string TableName { get; set; } = string.Empty; /// /// 对表的操作/删除/查询等 /// public string TableAction { get; set; } = string.Empty; /// /// 是否为框架定义的控制器 /// public bool SysController { get; set; } /// /// 限制只能由某些角色Id访问 /// public int[] RoleIds { get; set; } public bool IsApi { get; set; } } }