From a84a83d842f4fa220a8cf1b704e6ed6573684eef Mon Sep 17 00:00:00 2001 From: ningshuxia <ningshuxia0927@outlook.com> Date: 星期四, 20 三月 2025 17:38:19 +0800 Subject: [PATCH] 快速建模 --- Service/HStation.Service.Assets.Core/01-entity/18-Hydrant/AssetsHydrantMain.cs | 97 +++++++++++++++++++++++------------------------- 1 files changed, 46 insertions(+), 51 deletions(-) diff --git a/Service/HStation.Service.Assets.Core/01-entity/18-Hydrant/AssetsHydrantMain.cs b/Service/HStation.Service.Assets.Core/01-entity/18-Hydrant/AssetsHydrantMain.cs index a2cfb70..e3b6aa4 100644 --- a/Service/HStation.Service.Assets.Core/01-entity/18-Hydrant/AssetsHydrantMain.cs +++ b/Service/HStation.Service.Assets.Core/01-entity/18-Hydrant/AssetsHydrantMain.cs @@ -6,111 +6,106 @@ /// 娑堢伀鏍� ///</summary> [SysType("assets-hydrant-main")] - [SugarTable("assets_hydrant_main")] - public class AssetsHydrantMain : BaseEntity , IParas, IFlags, ITagName, ISorter, System.ICloneable + [SugarTable("assets_hydrant_main")] + public class AssetsHydrantMain : BaseEntity, IParas, IFlags, ITagName, ISorter, System.ICloneable { - /// <summary> - /// - /// </summary> - public AssetsHydrantMain() { } + /// <summary> + /// + /// </summary> + public AssetsHydrantMain() + { } - /// <summary> - /// - /// </summary> - public AssetsHydrantMain(AssetsHydrantMain rhs) : base(rhs) - { + /// <summary> + /// + /// </summary> + public AssetsHydrantMain(AssetsHydrantMain rhs) : base(rhs) + { this.Name = rhs.Name; this.SeriesID = rhs.SeriesID; this.Caliber = rhs.Caliber; this.Material = rhs.Material; this.MinorLoss = rhs.MinorLoss; - this.KeyWord = rhs.KeyWord; + this.KeyWords = rhs.KeyWords; this.Paras = rhs.Paras; this.Flags = rhs.Flags; this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; - } + } /// <summary> - /// 鍚嶇О + /// 鍚嶇О ///</summary> - [SugarColumn(Length = 50, IsNullable = true)] + [SugarColumn(Length = 50, IsNullable = true)] public string Name { get; set; } - + /// <summary> - /// 绯诲垪ID + /// 绯诲垪ID ///</summary> public long SeriesID { get; set; } - + /// <summary> - /// 鍙e緞 + /// 鍙e緞 ///</summary> public double? Caliber { get; set; } - + /// <summary> - /// 鏉愭枡 + /// 鏉愭枡 ///</summary> - [SugarColumn(Length = 255, IsNullable = true)] + [SugarColumn(Length = 255, IsNullable = true)] public string Material { get; set; } - + /// <summary> - /// 灞�闃荤郴鏁� + /// 灞�闃荤郴鏁� ///</summary> public double MinorLoss { get; set; } - + /// <summary> - /// 璇嗗埆鍏抽敭瀛� + /// 璇嗗埆鍏抽敭瀛� ///</summary> - [SugarColumn(Length = 255, IsNullable = true)] - public string KeyWord { get; set; } - + [SugarColumn(Length = 255, IsNullable = true)] + public string KeyWords { get; set; } + /// <summary> - /// 鍙傛暟 + /// 鍙傛暟 ///</summary> - [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] + [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] public string Paras { get; set; } - + /// <summary> - /// 鏍囩 + /// 鏍囩 ///</summary> - [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] + [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] public string Flags { get; set; } - + /// <summary> - /// 鏍囧織 + /// 鏍囧織 ///</summary> - [SugarColumn(Length = 500, IsNullable = true)] + [SugarColumn(Length = 500, IsNullable = true)] public string TagName { get; set; } - + /// <summary> - /// 鎺掑簭鐮� + /// 鎺掑簭鐮� ///</summary> public int SortCode { get; set; } - + /// <summary> - /// 璇存槑 + /// 璇存槑 ///</summary> - [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] + [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] public string Description { get; set; } - /// <summary> /// /// </summary> public AssetsHydrantMain Clone() { - return (AssetsHydrantMain)this.MemberwiseClone(); + return (AssetsHydrantMain)this.MemberwiseClone(); } object ICloneable.Clone() { - return this.MemberwiseClone(); + return this.MemberwiseClone(); } - } -} - - - - +} \ No newline at end of file -- Gitblit v1.9.3