You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.2 KiB
C#

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