using Yw.Model; namespace HStation.Model { /// /// /// [SysType("assets-packagerseries-manufacturer-mapping")] public class AssetsPackageMfrMapping : BaseModel, IParas, IFlags, ITagName, System.ICloneable { /// /// /// public AssetsPackageMfrMapping() { } /// /// /// public AssetsPackageMfrMapping(AssetsPackageMfrMapping rhs) : base(rhs) { this.SeriesID = rhs.SeriesID; this.ManufacturerID = rhs.ManufacturerID; this.Paras = rhs.Paras == null ? null : new(rhs.Paras); this.Flags = rhs.Flags?.ToList(); this.TagName = rhs.TagName; this.Description = rhs.Description; } /// /// /// public void Reset(AssetsPackageMfrMapping rhs) { this.ID = rhs.ID; this.SeriesID = rhs.SeriesID; this.ManufacturerID = rhs.ManufacturerID; this.Paras = rhs.Paras == null ? null : new(rhs.Paras); this.Flags = rhs.Flags?.ToList(); this.TagName = rhs.TagName; this.Description = rhs.Description; } /// /// 系列ID /// public long SeriesID { get; set; } /// /// 厂家ID /// public long ManufacturerID { get; set; } /// /// /// public Dictionary Paras { get; set; } /// /// /// public List Flags { get; set; } /// /// /// public string TagName { get; set; } /// /// /// public string Description { get; set; } /// /// /// public AssetsPackageMfrMapping Clone() { return (AssetsPackageMfrMapping)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }