From 41a5531dc31a642623f0a7a766fbe9c256ba9247 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期二, 11 二月 2025 13:53:29 +0800
Subject: [PATCH] 优化WMS前端
---
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_RoadWayInfo.cs | 116 +++++++++++++++++----------------------------------------
1 files changed, 35 insertions(+), 81 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_RoadWayInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_RoadWayInfo.cs"
index 3808568..e7b91c2 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_RoadWayInfo.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_RoadWayInfo.cs"
@@ -1,90 +1,44 @@
+锘縰sing SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
-using SqlSugar;
+using System.Text;
+using System.Threading.Tasks;
using WIDESEA_Core.DB.Models;
+
namespace WIDESEA_Model.Models
{
- /// <summary>
- /// 宸烽亾鍙�
- ///</summary>
- [SugarTable("Dt_RoadWayInfo")]
- public class Dt_RoadWayInfo : BaseEntity
+ [SugarTable(nameof(Dt_RoadwayInfo))]
+ public class Dt_RoadwayInfo : BaseEntity
{
-
-
- /// <summary>
- /// 澶� 娉�:宸烽亾ID
- /// 榛樿鍊�:
- ///</summary>
- [SugarColumn(ColumnName="RoadwayID" ,IsPrimaryKey = true,IsIdentity = true) ]
- public int RoadwayID { get; set; }
-
- /// <summary>
- /// 澶� 娉�:宸烽亾鍙�
- /// 榛樿鍊�:
- ///</summary>
- [SugarColumn(ColumnName="RoadWayNO" ) ]
- public string? RoadWayNO { get; set; }
-
- /// <summary>
- /// 澶� 娉�:搴撳尯ID
- /// 榛樿鍊�:
- ///</summary>
- [SugarColumn(ColumnName="WareAreaID" ) ]
- public int? WareAreaID { get; set; }
-
- /// <summary>
- /// 澶� 娉�:鏄惁鍚敤
- /// 榛樿鍊�:
- ///</summary>
- [SugarColumn(ColumnName="IsEnable" ) ]
- public bool? IsEnable { get; set; }
-
- /// <summary>
- /// 澶� 娉�:澶囨敞
- /// 榛樿鍊�:
- ///</summary>
- [SugarColumn(ColumnName="Remark" ) ]
- public string? Remark { get; set; }
-
-
- /// <summary>
- /// 澶� 娉�:
- /// 榛樿鍊�:
- ///</summary>
- [SugarColumn(ColumnName="Spare1" ) ]
- public string? Spare1 { get; set; }
-
- /// <summary>
- /// 澶� 娉�:
- /// 榛樿鍊�:
- ///</summary>
- [SugarColumn(ColumnName="Spare2" ) ]
- public string? Spare2 { get; set; }
-
- /// <summary>
- /// 澶� 娉�:
- /// 榛樿鍊�:
- ///</summary>
- [SugarColumn(ColumnName="Spare3" ) ]
- public string? Spare3 { get; set; }
-
- /// <summary>
- /// 澶� 娉�:
- /// 榛樿鍊�:
- ///</summary>
- [SugarColumn(ColumnName="Spare4" ) ]
- public string? Spare4 { get; set; }
-
- /// <summary>
- /// 澶� 娉�:
- /// 榛樿鍊�:
- ///</summary>
- [SugarColumn(ColumnName="Spare5" ) ]
- public string? Spare5 { get; set; }
-
+ [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")]
+ public int Id { get; set; }
+ [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "宸烽亾缂栧彿")]
+ public string RoadwayNo { get; set; }
+
+ [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱涓婚敭")]
+ public int AreaId { get; set; }
+
+ [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "绂佺敤鐘舵��")]
+ public int EnableStatus { get; set; }
+
+ [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "璁惧缂栧彿")]
+ public string DeviceNo { get; set; }
+
+ [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鍏ュ簱绔欏彴缂栧彿")]
+ public string InStationCode { get; set; }
+
+ [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鍫嗗灈鏈哄叆搴撶珯鍙扮紪鍙�")]
+ public string InSCStationCode { get; set; }
+
+ [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鍑哄簱绔欏彴缂栧彿")]
+ public string OutStationCode { get; set; }
+
+ [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鍫嗗灈鏈哄嚭搴撶珯鍙扮紪鍙�")]
+ public string OutSCStationCode { get; set; }
+
+ [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "澶囨敞")]
+ public string Remark { get; set; }
}
-
-}
\ No newline at end of file
+}
--
Gitblit v1.9.3