using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace IStation.Model { /// /// 系统字典值表 /// public class SysDictData : System.ICloneable { /// /// /// public SysDictData() { } /// /// /// public SysDictData(SysDictData rhs) { this.ID = rhs.ID; 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(SysDictData rhs) { this.ID = rhs.ID; 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 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 SysDictData Clone() { return (SysDictData)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }