From be0856c1bf533ed6001ff786908ae98e4b853eb5 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期四, 09 一月 2025 10:09:02 +0800
Subject: [PATCH] 1

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail_Hty.cs |   81 ++++++++++------------------------------
 1 files changed, 21 insertions(+), 60 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail_Hty.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail_Hty.cs"
index a23c3d2..34e13aa 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail_Hty.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail_Hty.cs"
@@ -9,73 +9,34 @@
 
 namespace WIDESEA_Model.Models
 {
+    /// <summary>
+    /// 鍏ュ簱鍗曟槑缁�
+    /// </summary>
     [SugarTable(nameof(Dt_InboundOrderDetail_Hty), "鍏ュ簱鍗曟槑缁�")]
-    public class Dt_InboundOrderDetail_Hty : BaseEntity
+    public class Dt_InboundOrderDetail_Hty : Dt_InboundOrderDetail, IBaseHistoryEntity
     {
-        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")]
-        public int Id {  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 = 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 = "璁㈠崟鏄庣粏鐘舵��")]
-        public int OrderDetailStatus {  get; set; }
-
-        [SugarColumn(IsNullable = true, ColumnDescription = "澶囨敞")]
-        public string Remark {  get; set; }
-        [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "婧愪富閿�")]
+        /// <summary>
+        /// 鍘熻〃涓婚敭
+        /// </summary>
+        [ImporterHeader(Name = "鍘熻〃涓婚敭")]
+        [ExporterHeader(DisplayName = "鍘熻〃涓婚敭")]
+        [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "鍘熻〃涓婚敭")]
         public int SourceId { get; set; }
 
-        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "澶囨敞")]
+        /// <summary>
+        /// 鎿嶄綔绫诲瀷
+        /// </summary>
+        [ImporterHeader(Name = "鎿嶄綔绫诲瀷")]
+        [ExporterHeader(DisplayName = "鎿嶄綔绫诲瀷")]
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎿嶄綔绫诲瀷")]
         public string OperateType { get; set; }
-        /// <summary>
-        /// 鍒涘缓浜�
-        /// </summary>
-        [ImporterHeader(Name = "鍒涘缓浜�")]
-        [ExporterHeader(DisplayName = "鍒涘缓浜�")]
-        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鍒涘缓浜�")]
-        public string Creater { get; set; }
 
         /// <summary>
-        /// 鍒涘缓鏃堕棿
+        /// 绉诲叆鍘嗗彶鏃堕棿
         /// </summary>
-        [ImporterHeader(Name = "鍒涘缓鏃堕棿")]
-        [ExporterHeader(DisplayName = "鍒涘缓鏃堕棿")]
-        [SugarColumn(IsNullable = false, ColumnDescription = "鍒涘缓鏃堕棿")]
-        public DateTime CreateDate { get; set; } = DateTime.Now;
-
-        /// <summary>
-        /// 鏇存柊鑰�
-        /// </summary>
-        [ImporterHeader(Name = "淇敼浜�")]
-        [ExporterHeader(DisplayName = "淇敼浜�")]
-        [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "淇敼浜�")]
-        public string Modifier { get; set; }
-
-        /// <summary>
-        /// 淇敼鏃ユ湡
-        /// </summary>
-        [ImporterHeader(Name = "淇敼鏃ユ湡")]
-        [ExporterHeader(DisplayName = "淇敼鏃ユ湡")]
-        [SugarColumn(IsNullable = true, ColumnDescription = "淇敼鏃ユ湡")]
-        public DateTime? ModifyDate { get; set; }
+        [ImporterHeader(Name = "绉诲叆鍘嗗彶鏃堕棿")]
+        [ExporterHeader(DisplayName = "绉诲叆鍘嗗彶鏃堕棿")]
+        [SugarColumn(IsNullable = false, ColumnDescription = "绉诲叆鍘嗗彶鏃堕棿")]
+        public DateTime InsertTime { get; set; }
     }
 }

--
Gitblit v1.9.3