From ca5f300a7cef85d22b5e0f9d59d117c49f9909b3 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期二, 19 十一月 2024 09:42:16 +0800 Subject: [PATCH] 完善资产界面 --- Service/HStation.Service.Assets.Core/01-entity/09-Manufacturer/AssetsManufacturer.cs | 29 ++++++++++------------------- 1 files changed, 10 insertions(+), 19 deletions(-) diff --git a/Service/HStation.Service.Assets.Core/01-entity/09-Manufacturer/AssetsManufacturer.cs b/Service/HStation.Service.Assets.Core/01-entity/09-Manufacturer/AssetsManufacturer.cs index 5d90ef6..0899302 100644 --- a/Service/HStation.Service.Assets.Core/01-entity/09-Manufacturer/AssetsManufacturer.cs +++ b/Service/HStation.Service.Assets.Core/01-entity/09-Manufacturer/AssetsManufacturer.cs @@ -6,9 +6,9 @@ /// <summary> /// 鍘傚晢 /// </summary> - [SysType("assets_Manufacturer")] - [SugarTable("assets_Manufacturer")] - public class AssetsManufacturer : BaseEntity, IFlags, ITagName, ISorter, IUseStatus, System.ICloneable + [SysType("assets_manufacturer")] + [SugarTable("assets_manufacturer")] + public class AssetsManufacturer : BaseEntity, IFlags, ITagName, ISorter, System.ICloneable { public AssetsManufacturer() { } @@ -16,12 +16,12 @@ public AssetsManufacturer(AssetsManufacturer rhs) : base(rhs) { this.Name = rhs.Name; + this.SeriesID = rhs.SeriesID; this.Contacter = rhs.Contacter; this.Telephone = rhs.Telephone; this.Address = rhs.Address; this.Flags = rhs.Flags; this.TagName = rhs.TagName; - this.UseStatus = rhs.UseStatus; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } @@ -29,13 +29,13 @@ public void Reset(AssetsManufacturer rhs) { this.ID = rhs.ID; + this.SeriesID = rhs.SeriesID; this.Name = rhs.Name; this.Contacter = rhs.Contacter; this.Telephone = rhs.Telephone; this.Address = rhs.Address; this.Flags = rhs.Flags; this.TagName = rhs.TagName; - this.UseStatus = rhs.UseStatus; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } @@ -43,55 +43,46 @@ /// <summary> /// 鍚嶇О /// </summary> - [Display(Name = "鍚嶇О")] public string Name { get; set; } + + /// <summary> + /// 绯诲垪ID + /// </summary> + public long SeriesID { get; set; } /// <summary> /// 鑱旂郴浜� /// </summary> - [Display(Name = "鑱旂郴浜�")] public string Contacter { get; set; } /// <summary> /// 鑱旂郴鐢佃瘽 /// </summary> - [Display(Name = "鑱旂郴鐢佃瘽")] public string Telephone { get; set; } /// <summary> /// 鍦板潃 /// </summary> - [Display(Name = "鍦板潃")] public string Address { get; set; } /// <summary> /// 鏍囩 /// </summary> - [Display(Name = "鏍囩")] public string Flags { get; set; } /// <summary> /// 鏍囩鍚嶇О /// </summary> - [Display(Name = "鏍囩鍚嶇О")] public string TagName { get; set; } - - /// <summary> - /// 浣跨敤鐘舵�� - /// </summary> - [Display(Name = "浣跨敤鐘舵��")] - public int UseStatus { get; set; } /// <summary> /// 鎺掑簭鐮� /// </summary> - [Display(Name = "鎺掑簭鐮�")] public int SortCode { get; set; } /// <summary> /// 璇存槑 /// </summary> - [Display(Name = "璇存槑")] public string Description { get; set; } /// <summary> -- Gitblit v1.9.3