using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace IStation.Model { /// /// 客户字典值表 /// public class CorpDictData : System.ICloneable { /// /// /// public CorpDictData() { } /// /// /// public CorpDictData(CorpDictData rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; this.TypeID = rhs.TypeID; this.Name = rhs.Name; this.Code = rhs.Code; this.SortCode = rhs.SortCode; this.UseStatus = rhs.UseStatus; this.Description = rhs.Description; } /// /// /// public void Reset(CorpDictData rhs) { this.ID = rhs.ID; this.CorpID= rhs.CorpID; this.TypeID = rhs.TypeID; this.Name = rhs.Name; this.Code = rhs.Code; this.SortCode = rhs.SortCode; this.UseStatus = rhs.UseStatus; this.Description = rhs.Description; } /// /// 标识 /// public long ID { get; set; } /// /// 客户id /// public long CorpID { get; set; } /// /// 字典类型Id /// public long TypeID { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 编码 /// public string Code { get; set; } /// /// 排序 /// public int SortCode { get; set; } /// /// 使用状态 /// public Model.eUseStatus UseStatus { get; set; } /// /// 备注 /// public string Description { get; set; } /// /// /// public CorpDictData Clone() { return (CorpDictData)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }