using System.ComponentModel.DataAnnotations; using Yw.Entity; namespace HStation.Entity { /// /// 厂商 /// [SysType("assets_manufacturer_mapping")] [SugarTable("assets_manufacturer_mapping")] public class AssetsManufacturerMapping : BaseEntity, System.ICloneable { public AssetsManufacturerMapping() { } public AssetsManufacturerMapping(AssetsManufacturerMapping 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(AssetsManufacturerMapping 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 int AssetsType { get; set; } /// /// 说明 /// [Display(Name = "说明")] public string Description { get; set; } /// /// /// public AssetsManufacturer Clone() { return (AssetsManufacturer)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }