using Yw.Model; namespace HStation.Model { /// /// 泵产品 /// [SysType("xhs-pumpartmain")] [SugarTable("xhs-pumpartmain")] public class PumpPartMain : BaseModel, System.ICloneable { /// /// /// public PumpPartMain() { } public PumpPartMain(PumpPartMain rhs) { this.Name = rhs.Name; this.NO = rhs.NO; this.ID = rhs.ID; this.Code = rhs.Code; this.SeriesID = rhs.SeriesID; this.PumpID = rhs.PumpID; this.SortCode = rhs.SortCode; } public void Reset(PumpPartMain rhs) { this.Name = rhs.Name; this.NO = rhs.NO; this.ID = rhs.ID; this.Code = rhs.Code; this.SeriesID = rhs.SeriesID; this.SortCode = rhs.SortCode; this.PumpID = rhs.PumpID; } /// /// 产品编号 /// public string NO { get; set; } /// /// 产品名称 /// public string Name { get; set; } /// /// 产品图号 /// public string Code { get; set; } /// /// 泵系列ID /// public long SeriesID { get; set; } /// /// 泵型号ID /// public long PumpID { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// /// public PumpMain Clone() { return (PumpMain)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }