From d9e59ed2e947aff29b7c21a9b0e8b6e12d741692 Mon Sep 17 00:00:00 2001 From: wxw <Administrator@DESKTOP-5BIMHQ3> Date: 星期五, 30 八月 2024 14:54:18 +0800 Subject: [PATCH] 解决冲突 --- Admin.NET/WCS.Application/Entity/WcsPlc.cs | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Admin.NET/WCS.Application/Entity/WcsPlc.cs b/Admin.NET/WCS.Application/Entity/WcsPlc.cs index a80a039..c50e7dd 100644 --- a/Admin.NET/WCS.Application/Entity/WcsPlc.cs +++ b/Admin.NET/WCS.Application/Entity/WcsPlc.cs @@ -1,11 +1,13 @@ 锘� +using Org.BouncyCastle.Crypto; + namespace WCS.Application; /// <summary> /// PLC琛� /// </summary> -[SugarTable("WCSPLC","PLC琛�")] -public class WcsPlc : EntityBaseData +[SugarTable("WCSPLC", "PLC琛�")] +public class WcsPlc : EntityBaseData { /// <summary> /// PLCIP鍦板潃 @@ -33,17 +35,22 @@ [Required] [SugarColumn(ColumnName = "Type", ColumnDescription = "璁惧绫诲瀷")] public PLCTypeEnum Type { get; set; } - + /// <summary> /// 浠撳簱鍙� /// </summary> [SugarColumn(ColumnName = "WareHouseNo", ColumnDescription = "浠撳簱鍙�", Length = 20)] public string? WareHouseNo { get; set; } - + /// <summary> /// 鎻忚堪 /// </summary> [SugarColumn(ColumnName = "Text", ColumnDescription = "鎻忚堪", Length = 100)] public string? Text { get; set; } - + + /// <summary> + /// 鏄惁杩炴帴 + /// </summary> + [SugarColumn(IsIgnore = true)] + public bool IsConn { get; set; } = false; } -- Gitblit v1.8.0