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