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/15-Tank/AssetsTankMain.cs | 121 +++++++++++++++++++++------------------- 1 files changed, 63 insertions(+), 58 deletions(-) diff --git a/Service/HStation.Service.Assets.Core/01-entity/15-Tank/AssetsTankMain.cs b/Service/HStation.Service.Assets.Core/01-entity/15-Tank/AssetsTankMain.cs index 100a8f9..2a31f01 100644 --- a/Service/HStation.Service.Assets.Core/01-entity/15-Tank/AssetsTankMain.cs +++ b/Service/HStation.Service.Assets.Core/01-entity/15-Tank/AssetsTankMain.cs @@ -6,111 +6,116 @@ /// 姘存睜 ///</summary> [SysType("assets-tank-main")] - [SugarTable("assets_tank_main")] - public class AssetsTankMain : BaseEntity , IParas, IFlags, ITagName, ISorter, System.ICloneable + [SugarTable("assets_tank_main")] + public class AssetsTankMain : BaseEntity, IParas, IFlags, ITagName, ISorter, System.ICloneable { - /// <summary> - /// - /// </summary> - public AssetsTankMain() { } + /// <summary> + /// + /// </summary> + public AssetsTankMain() + { } - /// <summary> - /// - /// </summary> - public AssetsTankMain(AssetsTankMain rhs) : base(rhs) - { + /// <summary> + /// + /// </summary> + public AssetsTankMain(AssetsTankMain rhs) : base(rhs) + { this.Name = rhs.Name; this.SeriesID = rhs.SeriesID; - this.Caliber = rhs.Caliber; - this.Material = rhs.Material; - this.MinorLoss = rhs.MinorLoss; + this.MinLevel = rhs.MinLevel; + this.MaxLevel = rhs.MaxLevel; + this.DN = rhs.DN; + this.OverFlow = rhs.OverFlow; this.KeyWord = rhs.KeyWord; 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緞 - ///</summary> - public double? Caliber { get; set; } - + /// 鏈�浣庢按浣� + /// </summary> + public double MinLevel { get; set; } + /// <summary> - /// 鏉愭枡 - ///</summary> - [SugarColumn(Length = 255, IsNullable = true)] - public string Material { get; set; } - + /// 鏈�楂樻按浣� + /// </summary> + public double MaxLevel { get; set; } + /// <summary> - /// 灞�闃荤郴鏁� - ///</summary> - public double MinorLoss { get; set; } - + /// 鍏О鐩村緞 + /// </summary> + public double DN { get; set; } + /// <summary> - /// 璇嗗埆鍏抽敭瀛� + /// 鏈�灏忓绉� + /// </summary> + public double MinVol { get; set; } + + /// <summary> + /// 鏄惁鍏佽婧㈡祦 + /// </summary> + public bool OverFlow { 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 AssetsTankMain Clone() { - return (AssetsTankMain)this.MemberwiseClone(); + return (AssetsTankMain)this.MemberwiseClone(); } object ICloneable.Clone() { - return this.MemberwiseClone(); + return this.MemberwiseClone(); } - } -} - - - - +} \ No newline at end of file -- Gitblit v1.9.3