From eda0c8f74ce453b6e43f88fc92b1e651ce5b6095 Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期四, 13 二月 2025 13:46:33 +0800
Subject: [PATCH] 1.条码表实体类型调整 2.条码库存表实体新增基础字段 3.期初入库新增入库人

---
 entity/MesInvItemOuts.cs |   66 ++++++++++++++++++--------------
 1 files changed, 37 insertions(+), 29 deletions(-)

diff --git a/entity/MesInvItemOuts.cs b/entity/MesInvItemOuts.cs
index 527065b..89aec87 100644
--- a/entity/MesInvItemOuts.cs
+++ b/entity/MesInvItemOuts.cs
@@ -17,25 +17,25 @@
     ///     琛ユ枡鐢宠鍗曞彿
     /// </summary>
     [SugarColumn(ColumnName = "bbill_no")]
-    public string BbillNo { get; set; }
+    public string? BbillNo { get; set; }
 
     /// <summary>
     ///     鍑哄簱鍗曞彿
     /// </summary>
     [SugarColumn(ColumnName = "item_out_no")]
-    public string ItemOutNo { get; set; }
+    public string? ItemOutNo { get; set; }
 
     /// <summary>
     ///     鐢熶骇璁㈠崟
     /// </summary>
     [SugarColumn(ColumnName = "task_no")]
-    public string TaskNo { get; set; }
+    public string? TaskNo { get; set; }
 
     /// <summary>
     ///     宸ュ簭鍙�
     /// </summary>
     [SugarColumn(ColumnName = "proc_no")]
-    public string ProcNo { get; set; }
+    public string? ProcNo { get; set; }
 
     /// <summary>
     ///     鐘舵�亅0-鏈鏍�1-瀹℃牳
@@ -48,7 +48,7 @@
     ///     鍒涘缓浜�
     /// </summary>
     [SugarColumn(ColumnName = "create_by")]
-    public string CreateBy { get; set; }
+    public string? CreateBy { get; set; }
 
     /// <summary>
     ///     鍒涘缓鏃堕棿
@@ -61,7 +61,7 @@
     ///     鏈�鍚庢洿鏂颁汉
     /// </summary>
     [SugarColumn(ColumnName = "lastupdate_by")]
-    public string LastupdateBy { get; set; }
+    public string? LastupdateBy { get; set; }
 
     /// <summary>
     ///     鏈�鍚庢洿鏂版椂闂�
@@ -86,25 +86,25 @@
     ///     澶囨敞淇℃伅
     /// </summary>
     [SugarColumn(ColumnName = "remark")]
-    public string Remark { get; set; }
+    public string? Remark { get; set; }
 
     /// <summary>
     ///     鍑哄簱鍘熷洜
     /// </summary>
     [SugarColumn(ColumnName = "reason")]
-    public string Reason { get; set; }
+    public string? Reason { get; set; }
 
     /// <summary>
     ///     鐢熶骇绾跨紪鐮�
     /// </summary>
     [SugarColumn(ColumnName = "produce_line_no")]
-    public string ProduceLineNo { get; set; }
+    public string? ProduceLineNo { get; set; }
 
     /// <summary>
     ///     瀹℃牳浜�
     /// </summary>
     [SugarColumn(ColumnName = "check_user")]
-    public string CheckUser { get; set; }
+    public string? CheckUser { get; set; }
 
     /// <summary>
     ///     瀹℃牳鏃ユ湡
@@ -122,19 +122,19 @@
     ///     棰嗘枡宸ユ
     /// </summary>
     [SugarColumn(ColumnName = "mmlist")]
-    public string Mmlist { get; set; }
+    public string? Mmlist { get; set; }
 
     /// <summary>
     ///     瀛愬簱CODE
     /// </summary>
     [SugarColumn(ColumnName = "depot_code")]
-    public string DepotCode { get; set; }
+    public string? DepotCode { get; set; }
 
     /// <summary>
     ///     SAP杩斿洖鍗曟嵁
     /// </summary>
     [SugarColumn(ColumnName = "sapno")]
-    public string Sapno { get; set; }
+    public string? Sapno { get; set; }
 
     /// <summary>
     ///     鏄惁宸插洖鍐橲AP
@@ -153,19 +153,19 @@
     ///     SAP杩斿洖淇℃伅
     /// </summary>
     [SugarColumn(ColumnName = "saptext")]
-    public string Saptext { get; set; }
+    public string? Saptext { get; set; }
 
     /// <summary>
     ///     宸ュ簭绾夸綋
     /// </summary>
     [SugarColumn(ColumnName = "proc_line_no")]
-    public string ProcLineNo { get; set; }
+    public string? ProcLineNo { get; set; }
 
     /// <summary>
     ///     棰嗘枡閮ㄩ棬
     /// </summary>
     [SugarColumn(ColumnName = "out_part")]
-    public string OutPart { get; set; }
+    public string? OutPart { get; set; }
 
     /// <summary>
     ///     0 鐢熶骇,1 濮斿
@@ -192,19 +192,19 @@
     ///     鎺ユ敹浜�
     /// </summary>
     [SugarColumn(ColumnName = "receiver")]
-    public string Receiver { get; set; }
+    public string? Receiver { get; set; }
 
     /// <summary>
     ///     宸ュ巶缂栧彿
     /// </summary>
     [SugarColumn(ColumnName = "factory")]
-    public string Factory { get; set; }
+    public string? Factory { get; set; }
 
     /// <summary>
     ///     鍏徃缂栧彿
     /// </summary>
     [SugarColumn(ColumnName = "company")]
-    public string Company { get; set; }
+    public string? Company { get; set; }
 
     /// <summary>
     ///     鍐查攢浜嬪姟绫诲瀷缂栫爜
@@ -216,7 +216,7 @@
     ///     浠诲姟鍗曞彿
     /// </summary>
     [SugarColumn(ColumnName = "work_no")]
-    public string WorkNo { get; set; }
+    public string? WorkNo { get; set; }
 
     /// <summary>
     ///     浠诲姟鍗曞彿琛屽彿
@@ -228,13 +228,13 @@
     ///     渚涘簲鍟嗙紪鍙�
     /// </summary>
     [SugarColumn(ColumnName = "supp_no")]
-    public string SuppNo { get; set; }
+    public string? SuppNo { get; set; }
 
     /// <summary>
     ///     璁㈠崟鍙�
     /// </summary>
     [SugarColumn(ColumnName = "cmpocode")]
-    public string Cmpocode { get; set; }
+    public string? Cmpocode { get; set; }
 
     /// <summary>
     ///     鍘熺墿鏂欏嚭璐ф爣璇�
@@ -254,19 +254,19 @@
     ///     鍑哄簱绫诲埆
     /// </summary>
     [SugarColumn(ColumnName = "out_type")]
-    public string OutType { get; set; }
+    public string? OutType { get; set; }
 
     /// <summary>
     ///     涓氬姟绫诲瀷
     /// </summary>
     [SugarColumn(ColumnName = "business_type")]
-    public string BusinessType { get; set; }
+    public string? BusinessType { get; set; }
 
     /// <summary>
     ///     浜у搧缂栧彿
     /// </summary>
     [SugarColumn(ColumnName = "board_item")]
-    public string BoardItem { get; set; }
+    public string? BoardItem { get; set; }
 
     /// <summary>
     ///     浜ч噺
@@ -278,7 +278,7 @@
     ///     棰嗘枡缂栧彿/濮斿璁㈠崟/鍏朵粬鍑哄簱鍗曞彿
     /// </summary>
     [SugarColumn(ColumnName = "pbill_no")]
-    public string PbillNo { get; set; }
+    public string? PbillNo { get; set; }
 
     /// <summary>
     ///     鏍囪瘑 /1宸叉帹閫�
@@ -290,19 +290,19 @@
     ///     閫�鏂欐柟寮�
     /// </summary>
     [SugarColumn(ColumnName = "fmrmode")]
-    public string Fmrmode { get; set; }
+    public string? Fmrmode { get; set; }
 
     /// <summary>
     ///     erp杩斿洖淇℃伅
     /// </summary>
     [SugarColumn(ColumnName = "msg")]
-    public string Msg { get; set; }
+    public string? Msg { get; set; }
 
     /// <summary>
     ///     鐘舵��
     /// </summary>
     [SugarColumn(ColumnName = "states")]
-    public string States { get; set; }
+    public string? States { get; set; }
 
     /// <summary>
     /// </summary>
@@ -313,4 +313,12 @@
     /// </summary>
     [SugarColumn(ColumnName = "depot_id")]
     public int? DepotId { get; set; }
+
+    [SugarColumn(IsIgnore = true)] public string? DepotName { get; set; }
+
+    [SugarColumn(IsIgnore = true)] public string? SuppName { get; set; }
+
+    [SugarColumn(IsIgnore = true)] public string? CreateByFname { get; set; }
+
+    [SugarColumn(IsIgnore = true)] public string? CheckUserFname { get; set; }
 }
\ No newline at end of file

--
Gitblit v1.9.3