namespace Model { /// /// 角色表 sys_role /// [Tenant("0")] public class SysPermission : SysBase { /// /// ID /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 排序 /// [SugarColumn(ColumnDescription = "排序", DefaultValue = "0")] public int Sort { get; set; } /// /// 状态 /// [SugarColumn(ColumnDescription = "状态", DefaultValue = "0")] public int Status { get; set; } /// /// 版本号 /// [SugarColumn(ColumnDescription = "版本号", DefaultValue = "0")] public int Version { get; set; } /// /// 发布时间 /// [SugarColumn(ColumnDescription = "发布时间")] public DateTime? CreateDate { get; set; } /// /// 更新时间 /// [SugarColumn(IsOnlyIgnoreInsert = true, ColumnDescription = "更新时间")] public DateTime? UpdateDate { get; set; } } }