From 26f45822a2a84af81e20ca543da98d3b822c5afd Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期一, 17 二月 2025 21:25:59 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- Service/HStation.Service.Xhs.Core/02-model/XhsProject.cs | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 115 insertions(+), 0 deletions(-) diff --git a/Service/HStation.Service.Xhs.Core/02-model/XhsProject.cs b/Service/HStation.Service.Xhs.Core/02-model/XhsProject.cs new file mode 100644 index 0000000..aa55aa8 --- /dev/null +++ b/Service/HStation.Service.Xhs.Core/02-model/XhsProject.cs @@ -0,0 +1,115 @@ +锘縰sing Yw.Model; + +namespace HStation.Model +{ + /// <summary> + /// 涓氬姟绔� + /// </summary> + [SysType("xhs-project")] + public class XhsProject : BaseModel, IParas, IFlags, ITagName, ITreeSorter, System.ICloneable + { + /// <summary> + /// + /// </summary> + public XhsProject() { } + + /// <summary> + /// + /// </summary> + public XhsProject(XhsProject rhs) : base(rhs) + { + 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.SortCode = rhs.SortCode; + this.Description = rhs.Description; + } + + /// <summary> + /// + /// </summary> + public void Reset(XhsProject rhs) + { + 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.SortCode = rhs.SortCode; + this.Description = rhs.Description; + } + + /// <summary> + /// 鐖剁骇id鍒楄〃 + /// </summary> + public List<long> ParentIds { get; set; } + + /// <summary> + /// 缂栧彿 + /// </summary> + 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> + /// 鍙傛暟 + /// </summary> + public Dictionary<string, string> Paras { get; set; } + + /// <summary> + /// 鏍囩 + /// </summary> + public List<string> Flags { get; set; } + + /// <summary> + /// 鏍囧織 + /// </summary> + public string TagName { get; set; } + + /// <summary> + /// 鎺掑簭鐮� + /// </summary> + public int SortCode { get; set; } + + /// <summary> + /// 璇存槑 + /// </summary> + public string Description { get; set; } + + + /// <summary> + /// + /// </summary> + public XhsProject Clone() + { + return new XhsProject(this); + } + + object ICloneable.Clone() + { + return this.Clone(); + } + } +} \ No newline at end of file -- Gitblit v1.9.3