From 56e4b8aab223072bef1e1749b8ee9e499dd04f83 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期四, 19 十二月 2024 09:16:36 +0800 Subject: [PATCH] 修改阀门表 --- Service/HStation.Service.Assets.Core/02-model/08-Valve/AssetsValveCoefficient.cs | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/Service/HStation.Service.Assets.Core/02-model/08-Valve/AssetsValveCoefficient.cs b/Service/HStation.Service.Assets.Core/02-model/08-Valve/AssetsValveCoefficient.cs index d921ce1..e1d7a1e 100644 --- a/Service/HStation.Service.Assets.Core/02-model/08-Valve/AssetsValveCoefficient.cs +++ b/Service/HStation.Service.Assets.Core/02-model/08-Valve/AssetsValveCoefficient.cs @@ -6,7 +6,7 @@ /// 涓氬姟绔� /// </summary> [SysType("assets_valve_coefficient")] - public class AssetsValveCoefficient : BaseModel, System.ICloneable + public class AssetsValveCoefficient : BaseModel, ISorter, System.ICloneable { /// <summary> /// @@ -24,6 +24,8 @@ this.Caliber = rhs.Caliber; this.Material = rhs.Material; this.MinorLoss = rhs.MinorLoss; + this.SortCode = rhs.SortCode; + this.Description = rhs.Description; } public void Reset(AssetsValveCoefficient rhs) @@ -36,6 +38,8 @@ this.Caliber = rhs.Caliber; this.Material = rhs.Material; this.MinorLoss = rhs.MinorLoss; + this.SortCode = rhs.SortCode; + this.Description = rhs.Description; } /// <summary> @@ -74,6 +78,17 @@ public double MinorLoss { get; set; } /// <summary> + /// 鎺掑簭鐮� + /// </summary> + public int SortCode { get; set; } + + /// <summary> + /// 璇存槑 + /// </summary> + [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)] + public string Description { get; set; } + + /// <summary> /// /// </summary> public AssetsValveCoefficient Clone() -- Gitblit v1.9.3