using Yw.Model;
|
|
namespace HStation.Model
|
{
|
/// <summary>
|
///
|
///</summary>
|
[SysType("assets-packagerseries-manufacturer-mapping")]
|
public class AssetsPackageMfrMapping : BaseModel, IParas, IFlags, ITagName, System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public AssetsPackageMfrMapping()
|
{ }
|
|
/// <summary>
|
///
|
/// </summary>
|
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;
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
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;
|
}
|
|
/// <summary>
|
/// 系列ID
|
///</summary>
|
public long SeriesID { get; set; }
|
|
/// <summary>
|
/// 厂家ID
|
///</summary>
|
public long ManufacturerID { get; set; }
|
|
/// <summary>
|
///
|
///</summary>
|
public Dictionary<string, string> Paras { get; set; }
|
|
/// <summary>
|
///
|
///</summary>
|
public List<string> Flags { get; set; }
|
|
/// <summary>
|
///
|
///</summary>
|
public string TagName { get; set; }
|
|
/// <summary>
|
///
|
///</summary>
|
public string Description { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public AssetsPackageMfrMapping Clone()
|
{
|
return (AssetsPackageMfrMapping)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
}
|