From b698a2085fd090e90abedb1e91266ec496574b29 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期四, 16 四月 2026 23:31:35 +0800
Subject: [PATCH] 1

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs |   26 +++++++++++++++++++++++---
 1 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs
index 85fea92..c54b4fa 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs
@@ -1,4 +1,5 @@
-锘縰sing SqlSugar;
+锘縰sing Magicodes.ExporterAndImporter.Core;
+using SqlSugar;
 using System;
 using System.Collections.Generic;
 using System.Linq;
@@ -35,6 +36,12 @@
         /// <summary>
         /// 璐т綅缂栧彿
         /// </summary>
+        [SugarColumn(IsNullable = true, ColumnDescription = "璐т綅ID")]
+        public int LocationId { get; set; }
+
+        /// <summary>
+        /// 璐т綅缂栧彿
+        /// </summary>
         [SugarColumn(IsNullable = true, Length = 30, ColumnDescription = "璐т綅缂栧彿")]
         public string LocationCode { get; set; }
 
@@ -57,9 +64,22 @@
         public string Remark { get; set; }
 
         /// <summary>
-        /// 搴撳瓨鏄庣粏
+        /// 鍑哄簱鏃ユ湡
         /// </summary>
-        [Navigate(NavigateType.OneToMany, nameof(Dt_StockInfoDetail.StockId), nameof(Id))]
+        [SugarColumn(IsNullable = true, ColumnDescription = "鍑哄簱鏃ユ湡")]
+        public DateTime OutboundDate { get; set; }
+
+       /// <summary>
+       /// 搴撳瓨鏄庣粏
+       /// </summary>
+       [Navigate(NavigateType.OneToMany, nameof(Dt_StockInfoDetail.StockId), nameof(Id))]
         public List<Dt_StockInfoDetail> Details { get; set; }
+
+        /// <summary>
+        /// 璐т綅鏄庣粏
+        /// </summary>
+        [SugarColumn(ColumnName = "LocationDetails")]
+        [Navigate(NavigateType.OneToOne, nameof(LocationId), nameof(Dt_LocationInfo.Id))]
+        public Dt_LocationInfo LocationDetails { get; set; }
     }
 }

--
Gitblit v1.9.3