using System.ComponentModel; using System.ComponentModel.DataAnnotations; using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.Sys.Entity; /// /// 系统版本表 /// [SqlSugar.SugarTable("sys_version")] public class SysVersion: BaseModel { /// /// 版本号 /// [Required, MaxLength(100)] [SugarColumn(ColumnDescription = "版本号",Length =100)] public string Version { get; set; } /// /// 标题 /// [Required, MaxLength(100)] [SugarColumn(ColumnDescription = "标题", Length = 100)] public string Title { get; set; } /// /// 主库更新内容 /// [SugarColumn(ColumnDescription = "主库更新内容", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)] public string MainContent { get; set; } /// /// 租户库更新内容 /// [SugarColumn(ColumnDescription = "租户库更新内容", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)] public string TenantContent { get; set; } /// /// 排序 /// [SugarColumn(ColumnDescription = "排序")] public int? OrderNo { get; set; } = 100; /// /// 状态 /// [SugarColumn(ColumnDescription = "状态")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; /// /// 执行标识 /// [Description("执行标识")] [SqlSugar.SugarColumn(ColumnDescription = "执行标识")] public bool Executed { get; set; } = false; }