From b32c0a21755ac3e86df0242d993398773cb627f2 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期三, 04 十二月 2024 17:04:15 +0800 Subject: [PATCH] 修改资产界面 --- Service/HStation.Service.Assets.Core/01-entity/17-Flowmeter/AssetsFlowmeterMain.cs | 96 +++++++++++++++++++---------------------------- 1 files changed, 39 insertions(+), 57 deletions(-) diff --git a/Service/HStation.Service.Assets.Core/01-entity/17-Flowmeter/AssetsFlowmeterMain.cs b/Service/HStation.Service.Assets.Core/01-entity/17-Flowmeter/AssetsFlowmeterMain.cs index ba554e1..2711253 100644 --- a/Service/HStation.Service.Assets.Core/01-entity/17-Flowmeter/AssetsFlowmeterMain.cs +++ b/Service/HStation.Service.Assets.Core/01-entity/17-Flowmeter/AssetsFlowmeterMain.cs @@ -6,23 +6,22 @@ /// 娴侀噺璁� ///</summary> [SysType("assets-flowmeter-main")] - [SugarTable("assets_flowmeter_main")] - public class AssetsFlowmeterMain : BaseEntity , IParas, IFlags, ITagName, ISorter, System.ICloneable + [SugarTable("assets_flowmeter_main")] + public class AssetsFlowmeterMain : BaseEntity, IParas, IFlags, ITagName, ISorter, System.ICloneable { - /// <summary> - /// - /// </summary> - public AssetsFlowmeterMain() { } + /// <summary> + /// + /// </summary> + public AssetsFlowmeterMain() + { } - /// <summary> - /// - /// </summary> - public AssetsFlowmeterMain(AssetsFlowmeterMain rhs) : base(rhs) - { + /// <summary> + /// + /// </summary> + public AssetsFlowmeterMain(AssetsFlowmeterMain 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.Paras = rhs.Paras; @@ -30,87 +29,70 @@ 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緞 - ///</summary> - public double? Caliber { get; set; } - - /// <summary> - /// 鏉愭枡 - ///</summary> - [SugarColumn(Length = 255, IsNullable = true)] - public string Material { get; set; } - - /// <summary> - /// 灞�闃荤郴鏁� + /// 灞�闃荤郴鏁� ///</summary> public double MinorLoss { get; set; } - + /// <summary> - /// 璇嗗埆鍏抽敭瀛� + /// 璇嗗埆鍏抽敭瀛� ///</summary> - [SugarColumn(Length = 255, IsNullable = true)] + [SugarColumn(Length = 255, IsNullable = true)] public string KeyWord { 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 AssetsFlowmeterMain Clone() { - return (AssetsFlowmeterMain)this.MemberwiseClone(); + return (AssetsFlowmeterMain)this.MemberwiseClone(); } object ICloneable.Clone() { - return this.MemberwiseClone(); + return this.MemberwiseClone(); } - } -} - - - - +} \ No newline at end of file -- Gitblit v1.9.3