using HStation.Assets; using System.ComponentModel.DataAnnotations; using Yw.Model; namespace HStation.Model { /// /// 厂商 /// [SysType("manufacturer_mapping")] public class ManufacturerMapping : BaseModel, System.ICloneable { public ManufacturerMapping() { } public ManufacturerMapping(ManufacturerMapping rhs) : base(rhs) { this.ID = rhs.ID; this.ManufactuerID = rhs.ManufactuerID; this.SeriesID = rhs.SeriesID; this.AssetsType = rhs.AssetsType; this.Description = rhs.Description; } public void Reset(ManufacturerMapping rhs) { this.ID = rhs.ID; this.ManufactuerID = rhs.ManufactuerID; this.SeriesID = rhs.SeriesID; this.AssetsType = rhs.AssetsType; this.Description = rhs.Description; } /// /// 厂商ID /// public long ManufactuerID { get; set; } /// /// 系列ID /// public long SeriesID { get; set; } /// /// 资产类型 /// public eAsstesType AssetsType { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public Manufacturer Clone() { return (Manufacturer)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }