From c455612b03e6ecac994884dde5b5f4bc4909c181 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期二, 11 三月 2025 17:12:52 +0800
Subject: [PATCH] 1

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail.cs |  132 ++++++++++++-------------------------------
 1 files changed, 37 insertions(+), 95 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail.cs"
index 5149618..00e3f21 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail.cs"
@@ -1,105 +1,47 @@
-锘縰sing System;
+锘縰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_InboundOrderDetail")]
+    [SugarTable(nameof(Dt_InboundOrderDetail), "鍏ュ簱鍗曟槑缁�")]
     public class Dt_InboundOrderDetail : BaseEntity
     {
-        
-     
-        /// <summary>
-        /// 澶�  娉�:鍏ュ簱鍗曟槑缁咺D
-        /// 榛樿鍊�:
-        ///</summary>
-        [SugarColumn(ColumnName="OrderDetailId" ,IsPrimaryKey = true,IsIdentity = true) ]
-        public int OrderDetailId  { get; set;  } 
-     
-        /// <summary>
-        /// 澶�  娉�:鍏ュ簱鍗旾D
-        /// 榛樿鍊�:
-        ///</summary>
-        [SugarColumn(ColumnName="OrderId" ) ]
-        public int? OrderId  { get; set;  } 
-     
-        /// <summary>
-        /// 澶�  娉�:鍗曟嵁缂栧彿锛堝叧鑱� inboundOrder琛級
-        /// 榛樿鍊�:
-        ///</summary>
-        [SugarColumn(ColumnName="InboundNo" ) ]
-        public string? InboundNo  { get; set;  } 
-     
-        /// <summary>
-        /// 澶�  娉�:鎵规鍙�
-        /// 榛樿鍊�:
-        ///</summary>
-        [SugarColumn(ColumnName="BatchNo" ) ]
-        public string? BatchNo  { get; set;  } 
-     
-        /// <summary>
-        /// 澶�  娉�:鍗曟嵁绫诲瀷锛�1锛岀敓浜у叆搴撳崟  2锛岀敓浜ч��鏂欏崟 3锛岄噰璐叆搴撳崟 4锛岃皟鎷ㄥ叆搴撳崟 5锛岄攢鍞��璐у崟 6锛岀┖鐩樺叆搴撳崟 7锛屽叾浠栧叆搴撳崟锛�
-        /// 榛樿鍊�:
-        ///</summary>
-        [SugarColumn(ColumnName="InboundType" ) ]
-        public int? InboundType  { get; set;  }
+        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")]
+        public int Id {  get; set; }
 
-        /// <summary>
-        /// 澶�  娉�:鍏ュ簱鍗曟嵁鐘舵�� 0锛屾湭寮�濮�  1锛岀粍鐩樹腑  2锛屽畬鎴愮粍鐩� 3锛屽叆搴撲腑  4锛屽凡鍏ュ簱
-        /// 榛樿鍊�:
-        ///</summary>
-        [SugarColumn(ColumnName="InboundState" ) ]
-        public int? InboundState  { get; set;  } 
-     
-        /// <summary>
-        /// 澶�  娉�:鐗╂枡缂栧彿
-        /// 榛樿鍊�:
-        ///</summary>
-        [SugarColumn(ColumnName="MaterialNo" ) ]
-        public string? MaterialNo  { get; set;  } 
-     
-        /// <summary>
-        /// 澶�  娉�:鐗╂枡鍚嶇О
-        /// 榛樿鍊�:
-        ///</summary>
-        [SugarColumn(ColumnName="MaterialName" ) ]
-        public string? MaterialName  { get; set;  } 
-     
-        /// <summary>
-        /// 澶�  娉�:棰勮鍏ュ簱鏁伴噺
-        /// 榛樿鍊�:
-        ///</summary>
-        [SugarColumn(ColumnName="PreInboundQuantity" ) ]
-        public string? PreInboundQuantity  { get; set;  } 
-     
-        /// <summary>
-        /// 澶�  娉�:瀹為檯鍏ュ簱鏁伴噺
-        /// 榛樿鍊�:
-        ///</summary>
-        [SugarColumn(ColumnName="ActualInboundQuantity" ) ]
-        public string? ActualInboundQuantity  { get; set;  } 
-     
-        /// <summary>
-        /// 澶�  娉�:鍏ュ簱鍗曚綅
-        /// 榛樿鍊�:
-        ///</summary>
-        [SugarColumn(ColumnName="Unit" ) ]
-        public string? Unit  { get; set;  } 
-     
-        /// <summary>
-        /// 澶�  娉�:澶囨敞
-        /// 榛樿鍊�:
-        ///</summary>
-        [SugarColumn(ColumnName="Remark" ) ]
-        public string? Remark  { get; set;  } 
-     
-       
-    
+        [SugarColumn(IsNullable = false, ColumnDescription = "鍏ュ簱鍗曚富閿�")]
+        public int OrderId { get; set; }
 
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐗╂枡缂栧彿")]
+        public string MaterielCode {  get; set; }
+
+        [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "鐗╂枡鍚嶇О")]
+        public string MaterielName { get; set; }
+
+        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鎵规鍙�")]
+        public string BatchNo {  get; set; }
+
+        [SugarColumn(IsNullable = false, DecimalDigits = 2, ColumnDescription = "鍗曟嵁鏁伴噺")]
+        public decimal OrderQuantity {  get; set; }
+
+        [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "璐т綅缂栧彿")]
+        public string LocationCode { get; set; }
+
+        [SugarColumn(IsNullable = false, DecimalDigits = 2, ColumnDescription = "缁勭洏鏁伴噺", DefaultValue = "0")]
+        public decimal ReceiptQuantity {  get; set; }
+
+        [SugarColumn(IsNullable = false, DecimalDigits = 2, ColumnDescription = "涓婃灦鏁伴噺", DefaultValue = "0")]
+        public decimal OverInQuantity {  get; set; }
+
+        [SugarColumn(IsNullable = false, ColumnDescription = "璁㈠崟鏄庣粏鐘舵��", DefaultValue = "0")]
+        public int OrderDetailStatus {  get; set; }
+
+        [SugarColumn(IsNullable = true, ColumnDescription = "澶囨敞")]
+        public string Remark {  get; set; }
     }
-    
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3