using System.ComponentModel.DataAnnotations;
using Yw.Entity;
namespace HStation.Entity
{
///
/// 设备
///
[SysType("assets_package_main")]
[SugarTable("assets_package_main")]
public class AssetsPackageMain : BaseEntity, ISorter, System.ICloneable
{
///
///
///
public AssetsPackageMain()
{ }
///
///
///
public AssetsPackageMain(AssetsPackageMain rhs) : base(rhs)
{
this.NO = rhs.NO;
this.Name = rhs.Name;//
this.SeriesID = rhs.SeriesID;
this.CatalogID = rhs.CatalogID;
this.EquipmentCount = rhs.EquipmentCount;//pumpTotalnumber
this.UseCount = rhs.UseCount;//pumpusenumber
this.ModelType = rhs.ModelType;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 系列 id
///
public long SeriesID { get; set; }
///
/// 编号
///
///
public string NO { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 类别
///
public long CatalogID { get; set; }
///
/// 设备型号
///
public string ModelType { get; set; }
///
/// 设备数量
///
public int EquipmentCount { get; set; }
///
/// 使用数量
///
public int UseCount { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
///
///
public AssetsPackageMain Clone()
{
return (AssetsPackageMain)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}