From 0f8ab9b81c5801869a1b620dbc74a95e07c0a566 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期二, 08 十月 2024 17:47:14 +0800 Subject: [PATCH] 增加喷头界面字段 --- Service/HStation.Service.Xhs.Core/02-model/XhsProject.cs | 91 +++++++++++++-------------------------------- 1 files changed, 27 insertions(+), 64 deletions(-) diff --git a/Service/HStation.Service.Xhs.Core/02-model/XhsProject.cs b/Service/HStation.Service.Xhs.Core/02-model/XhsProject.cs index d2ffbea..aa55aa8 100644 --- a/Service/HStation.Service.Xhs.Core/02-model/XhsProject.cs +++ b/Service/HStation.Service.Xhs.Core/02-model/XhsProject.cs @@ -6,70 +6,72 @@ /// 涓氬姟绔� /// </summary> [SysType("xhs-project")] - public partial class XhsProject : BaseModel, IParas, IFlags, ITagName, ISorter, IUseStatus, System.ICloneable + public class XhsProject : BaseModel, IParas, IFlags, ITagName, ITreeSorter, System.ICloneable { /// <summary> /// /// </summary> - public XhsProject() - { } + public XhsProject() { } /// <summary> /// /// </summary> public XhsProject(XhsProject rhs) : base(rhs) { - this.GID = rhs.GID; + this.ParentIds = rhs.ParentIds?.ToList(); + this.NO = rhs.NO; this.Name = rhs.Name; + this.Address = rhs.Address; + this.Customer = rhs.Customer; this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras); this.Flags = rhs.Flags?.ToList(); this.TagName = rhs.TagName; - this.UseStatus = rhs.UseStatus; - this.CreateTime = rhs.CreateTime; - this.CreateUserID = rhs.CreateUserID; - this.MapPosition = rhs.MapPosition; - this.CreateUserDisplayName = rhs.CreateUserDisplayName; this.SortCode = rhs.SortCode; - this.CustomerName = rhs.CustomerName; - this.Address = rhs.Address; this.Description = rhs.Description; } /// <summary> - /// + /// /// </summary> public void Reset(XhsProject rhs) { - this.GID = rhs.GID; + this.ID = rhs.ID; + this.ParentIds = rhs.ParentIds?.ToList(); + this.NO = rhs.NO; this.Name = rhs.Name; + this.Address = rhs.Address; + this.Customer = rhs.Customer; this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras); this.Flags = rhs.Flags?.ToList(); this.TagName = rhs.TagName; - this.UseStatus = rhs.UseStatus; - this.CreateTime = rhs.CreateTime; - this.CreateUserID = rhs.CreateUserID; - this.MapPosition = rhs.MapPosition; - this.CreateUserDisplayName = rhs.CreateUserDisplayName; this.SortCode = rhs.SortCode; - this.CustomerName = rhs.CustomerName; - this.Address = rhs.Address; this.Description = rhs.Description; } /// <summary> - /// GUID 鐢ㄤ簬鍗囩骇 + /// 鐖剁骇id鍒楄〃 /// </summary> - public string GID { get; set; } + public List<long> ParentIds { get; set; } /// <summary> - /// 椤圭洰缂栧彿 + /// 缂栧彿 /// </summary> - public string PrjNumber { get; set; } + public string NO { get; set; } /// <summary> /// 鍚嶇О /// </summary> public string Name { get; set; } + + /// <summary> + /// 璇︾粏鍦板潃 + /// </summary> + public string Address { get; set; } + + /// <summary> + /// 瀹㈡埛 + /// </summary> + public string Customer { get; set; } /// <summary> /// 鍙傛暟 @@ -87,11 +89,6 @@ public string TagName { get; set; } /// <summary> - /// 浣跨敤鐘舵�� - /// </summary> - public Yw.Model.eUseStatus UseStatus { get; set; } - - /// <summary> /// 鎺掑簭鐮� /// </summary> public int SortCode { get; set; } @@ -101,40 +98,6 @@ /// </summary> public string Description { get; set; } - /// <summary> - /// 鍒涘缓浜� - /// </summary> - public long CreateUserID { get; set; } - - /// <summary> - /// 鍒涘缓鏄剧ず鍚嶇О - /// </summary> - public string CreateUserDisplayName { get; set; } - - /// <summary> - /// 鍒涘缓鏃堕棿 - /// </summary> - public DateTime CreateTime { get; set; } - - /// <summary> - /// 鐗堟湰 - /// </summary> - public int Version { get; set; } - - /// <summary> - /// 椤圭洰鍦板潃(缁忓害,缁村害) - /// </summary> - public string MapPosition { get; set; } - - /// <summary> - /// 椤圭洰璇︾粏鍦板潃 - /// </summary> - public string Address { get; set; } - - /// <summary> - /// 椤圭洰鐨勫鎴峰悕绉� - /// </summary> - public string CustomerName { get; set; } /// <summary> /// @@ -146,7 +109,7 @@ object ICloneable.Clone() { - return Clone(); + return this.Clone(); } } } \ No newline at end of file -- Gitblit v1.9.3