using SqlSugar; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace IStation.Entity { /// /// 客户字典值表 /// [SugarTable("corp_dict_data")] public class CorpDictData : CorpEntity, ISorter, IUseStatus, System.ICloneable { /// /// /// public CorpDictData() { } /// /// /// public CorpDictData(CorpDictData rhs) : base(rhs) { this.TypeID = rhs.TypeID; this.Name = rhs.Name; this.Code = rhs.Code; this.SortCode = rhs.SortCode; this.UseStatus = rhs.UseStatus; this.Description = rhs.Description; } /// /// 字典类型Id /// public long TypeID { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 编码 /// public string Code { get; set; } /// /// 排序 /// public int SortCode { get; set; } /// /// 使用状态 /// public int UseStatus { get; set; } /// /// 备注 /// public string Description { get; set; } /// /// /// public CorpDictData Clone() { return (CorpDictData)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }