From 1c696f3e12ddcb136e772f9d83eb906760766b96 Mon Sep 17 00:00:00 2001
From: huanghongfeng <huanghongfeng@hnkhzn.com>
Date: 星期二, 03 十二月 2024 21:37:58 +0800
Subject: [PATCH] 1

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfoDetail.cs |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfoDetail.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfoDetail.cs"
index 018e2d6..68b47dd 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfoDetail.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfoDetail.cs"
@@ -1,4 +1,6 @@
-锘縰sing SqlSugar;
+锘縰sing Magicodes.ExporterAndImporter.Core;
+using Org.BouncyCastle.Crypto;
+using SqlSugar;
 using System;
 using System.Collections.Generic;
 using System.Linq;
@@ -11,39 +13,57 @@
     [SugarTable(nameof(Dt_StockInfoDetail), "搴撳瓨淇℃伅鏄庣粏")]
     public class Dt_StockInfoDetail : BaseEntity
     {
+        [ExporterHeader(DisplayName = "涓婚敭", IsIgnore = true)]
         [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")]
         public int Id { get; set; }
 
+        [ExporterHeader(DisplayName = "搴撳瓨淇℃伅涓婚敭", IsIgnore = true)]
         [SugarColumn(IsNullable = false, ColumnDescription = "搴撳瓨淇℃伅涓婚敭")]
         public int StockId { get; set; }
 
+        [ExporterHeader(DisplayName = "鐗╂枡缂栧彿")]
         [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐗╂枡缂栧彿")]
         public string MaterielCode { get; set; }
 
+        [ExporterHeader(DisplayName = "鐗╂枡鍚嶇О")]
         [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "鐗╂枡鍚嶇О")]
         public string MaterielName { get; set; }
 
+        [ExporterHeader(DisplayName = "鍗曟嵁缂栧彿")]
         [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鍗曟嵁缂栧彿")]
         public string OrderNo { get; set; }
 
+        [ExporterHeader(DisplayName = "鎵规鍙�")]
         [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鎵规鍙�")]
         public string BatchNo { get; set; }
 
+        [ExporterHeader(DisplayName = "搴忓垪鍙�")]
         [SugarColumn(IsNullable = false, Length = 100, ColumnDescription = "搴忓垪鍙�")]
         public string SerialNumber { get; set; }
 
+        [ExporterHeader(DisplayName = "鐗╂枡鎵规璇︽儏")]
+        [SugarColumn(IsNullable = true, ColumnDescription = "鐗╂枡鎵规璇︽儏")]
+        public string BatchNoName { get; set; }
+
+        [ExporterHeader(DisplayName = "搴撳瓨鏁伴噺")]
         [SugarColumn(IsNullable = false, DecimalDigits = 2, ColumnDescription = "搴撳瓨鏁伴噺")]
         public decimal StockQuantity { get; set; }
 
+        [ExporterHeader(DisplayName = "鍑哄簱鏁伴噺", IsIgnore = true)]
         [SugarColumn(IsNullable = false, DecimalDigits = 2, ColumnDescription = "鍑哄簱鏁伴噺", DefaultValue = "0")]
         public decimal OutboundQuantity { get; set; }
 
+        [ExporterHeader(DisplayName = "搴撳瓨鏄庣粏鐘舵��", IsIgnore = true)]
         [SugarColumn(IsNullable = false, ColumnDescription = "搴撳瓨鏄庣粏鐘舵��")]
         public int Status { get; set; }
 
+        [ExporterHeader(DisplayName = "澶囨敞")]
         [SugarColumn(IsNullable = true, ColumnDescription = "澶囨敞")]
         public string Remark { get; set; }
 
+
+
+        [ExporterHeader(IsIgnore =true)]
         [Navigate(NavigateType.OneToOne, nameof(Dt_StockQuantityChangeRecord.StockDetailId), nameof(Id))]
         public Dt_StockQuantityChangeRecord StockQuantityChangeRecord { get; set; }
     }

--
Gitblit v1.9.3