From ae09c2731aa19f43ec26b3cd8f3d5331a0187440 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 06 十二月 2024 16:21:01 +0800 Subject: [PATCH] 资产修改 --- Service/HStation.Service.Assets.Core/01-entity/16-Meter/AssetsMeterMain.cs | 98 ++++++++++++++++++++----------------------------- 1 files changed, 40 insertions(+), 58 deletions(-) diff --git a/Service/HStation.Service.Assets.Core/01-entity/16-Meter/AssetsMeterMain.cs b/Service/HStation.Service.Assets.Core/01-entity/16-Meter/AssetsMeterMain.cs index d578e37..33d0446 100644 --- a/Service/HStation.Service.Assets.Core/01-entity/16-Meter/AssetsMeterMain.cs +++ b/Service/HStation.Service.Assets.Core/01-entity/16-Meter/AssetsMeterMain.cs @@ -3,26 +3,25 @@ namespace HStation.Entity { /// <summary> - /// 姘存睜 + /// 姘磋〃 ///</summary> [SysType("assets-meter-main")] - [SugarTable("assets_meter_main")] - public class AssetsMeterMain : BaseEntity , IParas, IFlags, ITagName, ISorter, System.ICloneable + [SugarTable("assets_meter_main")] + public class AssetsMeterMain : BaseEntity, IParas, IFlags, ITagName, ISorter, System.ICloneable { - /// <summary> - /// - /// </summary> - public AssetsMeterMain() { } + /// <summary> + /// + /// </summary> + public AssetsMeterMain() + { } - /// <summary> - /// - /// </summary> - public AssetsMeterMain(AssetsMeterMain rhs) : base(rhs) - { + /// <summary> + /// + /// </summary> + public AssetsMeterMain(AssetsMeterMain 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 AssetsMeterMain Clone() { - return (AssetsMeterMain)this.MemberwiseClone(); + return (AssetsMeterMain)this.MemberwiseClone(); } object ICloneable.Clone() { - return this.MemberwiseClone(); + return this.MemberwiseClone(); } - } -} - - - - +} \ No newline at end of file -- Gitblit v1.9.3