using DS.Module.Core; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Code.Dtos { /// /// 数据权限模板请求 /// public class CodeDataRuleTemplateReq { /// /// 主键Id /// public long Id { get; set; } /// /// 权限模板类型 /// public string TemplateName { get; set; } /// /// 权限类型 visible 可视范围 operate 操作范围 /// public string RuleType { get; set; } = "visible"; /// /// 权限模板范围 /// public string RuleScope { get; set; } /// /// 权限模板范围名称 /// public string RuleScopeName { get; set; } /// /// 资源标识(权限ID) /// public long PermissionId { get; set; } /// /// 权限实体 /// public string PermissionEntity { get; set; } /// /// 中文视图名 /// public string ColumnView { get; set; } /// /// 权限规则 /// public string DataRules { get; set; } /// /// 附加权限规则 /// public string AdditionDataRules { get; set; } /// /// 数据权限描述 /// public string Description { get; set; } /// /// 状态 /// public StatusEnum? Status { get; set; } = StatusEnum.Enable; /// /// 排序号 /// public int OrderNo { get; set; } } }