using System; using System.ComponentModel.DataAnnotations; namespace IStation.Model { /// /// 泵站 /// public partial class Station : System.ICloneable { public Station() { } public Station(Station rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } public void Reset(Station rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 自增标识 /// [Display(Name = "自增标识")] public long ID { get; set; } /// /// 名称 /// [Display(Name = "名称")] public string Name { get; set; } /// /// 标签 /// [Display(Name = "标签名称")] public string TagName { get; set; } /// /// 排序码 /// [Display(Name = "排序码")] public int SortCode { get; set; } /// /// 说明 /// [Display(Name = "说明")] public string Description { get; set; } public Station Clone() { return (Station)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }