From ef1fc8b0eeea6972964d8c62dfef7819bea49d1a Mon Sep 17 00:00:00 2001 From: qin <a@163.com> Date: 星期五, 14 三月 2025 11:01:34 +0800 Subject: [PATCH] 提交文件 --- Vmo/HStation.Vmo.Assets.Core/18-Hydrant/AssetsHydrantSeriesVmo.cs | 98 ++++++++++++++++++++++++++++--------------------- 1 files changed, 56 insertions(+), 42 deletions(-) diff --git a/Vmo/HStation.Vmo.Assets.Core/18-Hydrant/AssetsHydrantSeriesVmo.cs b/Vmo/HStation.Vmo.Assets.Core/18-Hydrant/AssetsHydrantSeriesVmo.cs index 75194c4..de65de5 100644 --- a/Vmo/HStation.Vmo.Assets.Core/18-Hydrant/AssetsHydrantSeriesVmo.cs +++ b/Vmo/HStation.Vmo.Assets.Core/18-Hydrant/AssetsHydrantSeriesVmo.cs @@ -2,76 +2,90 @@ { /// <summary> /// 娑堢伀鏍撶郴鍒� - ///</summary> + ///</summary> public class AssetsHydrantSeriesVmo { - /// <summary> - /// - /// </summary> - public AssetsHydrantSeriesVmo() { } + /// <summary> + /// + /// </summary> + public AssetsHydrantSeriesVmo() + { } - /// <summary> - /// - /// </summary> - public AssetsHydrantSeriesVmo(Dto.AssetsHydrantSeriesDto rhs) - { - this.ID=rhs.ID; - this.CatalogID=rhs.CatalogID; - this.Name=rhs.Name; - this.ParentIds = rhs.ParentIds?.ToList(); - this.Paras = rhs.Paras == null ? null : new (rhs.Paras); - this.Flags = rhs.Flags?.ToList(); - this.TagName=rhs.TagName; - this.SortCode=rhs.SortCode; - this.Description=rhs.Description; - } + /// <summary> + /// + /// </summary> + public AssetsHydrantSeriesVmo(AssetsHydrantSeriesDto rhs) + { + this.ID = rhs.ID; + this.ParentID = rhs.ParentID; + this.CatalogID = rhs.CatalogID; + this.Name = rhs.Name; + this.Paras = rhs.Paras; + this.Flags = rhs.Flags; + this.TagName = rhs.TagName; + this.SortCode = rhs.SortCode; + this.Description = rhs.Description; + } + + /// <summary> + /// + /// </summary> + public AssetsHydrantSeriesVmo(AssetsHydrantSeriesVmo rhs) + { + this.ID = rhs.ID; + this.ParentID = rhs.ParentID; + this.Name = rhs.Name; + this.CatalogID = rhs.CatalogID; + this.Paras = rhs.Paras; + this.Flags = rhs.Flags; + this.TagName = rhs.TagName; + this.SortCode = rhs.SortCode; + this.Description = rhs.Description; + } /// <summary> /// ID - ///</summary> + ///</summary> public long ID { get; set; } - + /// <summary> /// 鎵�灞炵被鍒獻D - ///</summary> + ///</summary> public long CatalogID { get; set; } - + /// <summary> /// 鍚嶇О - ///</summary> + ///</summary> public string Name { get; set; } - + /// <summary> /// 鐖剁骇id鍒楄〃锛堢増鏈帶鍒� - ///</summary> - public List<long> ParentIds { get; set; } - + ///</summary> + public long ParentID { get; set; } + /// <summary> /// 鍙傛暟 - ///</summary> + ///</summary> public Dictionary<string, string> Paras { get; set; } - + /// <summary> /// 鏍囩 - ///</summary> + ///</summary> public List<string> Flags { get; set; } - + /// <summary> /// 鏍囧織 - ///</summary> + ///</summary> public string TagName { get; set; } - + /// <summary> /// 鎺掑簭鐮� - ///</summary> + ///</summary> public int SortCode { get; set; } - + /// <summary> /// 璇存槑 - ///</summary> + ///</summary> public string Description { get; set; } - - } -} - +} \ No newline at end of file -- Gitblit v1.9.3