using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Code.Entity { /// /// 业务参数表 /// [SqlSugar.SugarTable("code_config")] public class CodeConfig : BaseOrgModel { /// /// 名称 /// [Required, MaxLength(100)] [SugarColumn(ColumnDescription = "名称", Length = 100)] public string Name { get; set; } /// /// 编码 /// [Required, MaxLength(100)] [SugarColumn(ColumnDescription = "编码", IsNullable = true, Length = 100)] public string Code { get; set; } /// /// 属性值 /// [MaxLength(100)] [SugarColumn(ColumnDescription = "属性值", IsNullable = true, Length = 100)] public string Value { get; set; } /// /// 常量所属分类的编码,来自于“常量的分类”字典 /// [SugarColumn(ColumnDescription = "常量所属分类的编码", IsNullable = true, Length = 100)] public string GroupCode { get; set; } /// /// 排序 /// [SugarColumn(ColumnDescription = "排序")] public int? OrderNo { get; set; } = 100; /// /// 状态 /// [SugarColumn(ColumnDescription = "状态")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; } }