using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.Code.Entity; /// /// 租户自定义列表字段设置 /// [SqlSugar.SugarTable("code_custom_column_set", "租户自定义列表字段设置")] public class CodeCustomColumnSet : BaseOrgModel { /// /// 自定义列表Code /// [SugarColumn(ColumnDescription = "自定义列表Code", IsNullable = false, Length = 50)] public string CustomTableCode { get; set; } /// /// 模板名称 /// [SugarColumn(ColumnDescription = "模板名称", IsNullable = false, Length = 50)] public string TemplateName { get; set; } /// /// 列表字段默认设置 /// [SugarColumn(ColumnDescription = "列表字段默认设置", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)] public string DefaultContent { get; set; } /// /// 列表字段设置 /// [SugarColumn(ColumnDescription = "列表字段设置", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)] public string Content { get; set; } /// /// 排序号 /// [SugarColumn(ColumnDescription = "排序号", IsNullable = true, DefaultValue = "100")] public int? OrderNo { get; set; } = 100; /// /// 状态 /// [SqlSugar.SugarColumn(ColumnDescription = "状态")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; }