using System.ComponentModel.DataAnnotations; using Yw.Entity; namespace HStation.Entity { /// /// 设备 /// [SysType("assets_kit_main")] [SugarTable("assets_kit_main")] public class AssetsKitMain : BaseEntity, ISorter, System.ICloneable { /// /// /// public AssetsKitMain() { } /// /// /// public AssetsKitMain(AssetsKitMain rhs) : base(rhs) { this.NO = rhs.NO; this.Name = rhs.Name; this.SeriesID = rhs.SeriesID; this.CatalogID = rhs.CatalogID; this.EquipmentCount = rhs.EquipmentCount; this.UseCount = rhs.UseCount; 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 AssetsKitMain Clone() { return (AssetsKitMain)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }