using System.ComponentModel.DataAnnotations;
|
using Yw.Entity;
|
|
namespace HStation.Entity
|
{
|
/// <summary>
|
/// 厂商
|
/// </summary>
|
public class ManufacturerMapping : BaseEntity, 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;
|
}
|
|
/// <summary>
|
/// 厂商ID
|
/// </summary>
|
public long ManufactuerID { get; set; }
|
|
/// <summary>
|
/// 系列ID
|
/// </summary>
|
public long SeriesID { get; set; }
|
|
/// <summary>
|
/// 资产类型
|
/// </summary>
|
public int AssetsType { get; set; }
|
|
/// <summary>
|
/// 说明
|
/// </summary>
|
[Display(Name = "说明")]
|
public string Description { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public Manufacturer Clone()
|
{
|
return (Manufacturer)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
}
|