using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.Sys.Entity; [SqlSugar.SugarTable("sys_data_rule")] public class SysDataRule : BaseTenantModel { /// /// 资源标识(权限ID) /// public long PermissionId { get; set; } /// /// 权限实体 /// public string PermissionEntity { get; set; } /// /// 规则类型 user / public /// public string RuleType { get; set; } /// /// 状态 /// [SqlSugar.SugarColumn(ColumnDescription = "状态")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; /// /// 中文视图名 /// public string ColumnView { get; set; } /// /// 权限规则 /// [SugarColumn(ColumnDescription = "权限规则", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)] public string DataRules { get; set; } /// /// 数据权限描述 /// public string Description { get; set; } /// /// 排序号 /// public string OrderNo { get; set; } }