From ed4d2a10702e49c669f8a64e5508223dc5d4ab77 Mon Sep 17 00:00:00 2001
From: 杨张扬 <634643841@qq.com>
Date: 星期四, 05 六月 2025 17:39:45 +0800
Subject: [PATCH] 修改还剩几天过期字段为字符串

---
 models/TN_InventoryM.cs |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/models/TN_InventoryM.cs b/models/TN_InventoryM.cs
index 9e32a23..96f339f 100644
--- a/models/TN_InventoryM.cs
+++ b/models/TN_InventoryM.cs
@@ -6,13 +6,13 @@
     /// <summary>
     /// WMS搴撳瓨绠$悊
     /// </summary>
-    [SugarTable("TN_InventoryM")]
+    [SugarTable("TN_TN_InventoryM")]
     public class TN_InventoryM : BaseModel
     {
         /// <summary>
         /// 鍏ュ簱鏃堕棿
         /// </summary>
-        public DateTime INAREATIME { get; set; }
+        public DateTime INAREATIME { get; set; } = System.DateTime.Now;
 
         /// <summary>
         /// 瀹瑰櫒鍙�@@ -53,5 +53,10 @@
         /// 杩囨湡鏃堕棿
         /// </summary>
         public DateTime EXPIRATION { get; set; }
+
+        /// <summary>
+        /// 璺濈杩囨湡杩樻湁鍑犲ぉ
+        /// </summary>
+        public string EXPIRATION_DAY { get; set; } = "0";
     }
 }

--
Gitblit v1.9.1