From dccc001554c6c5376482df77f929c0d49b258844 Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期三, 04 二月 2026 08:58:00 +0800
Subject: [PATCH] 1
---
WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail.cs | 22 +++++++++++++++++++---
1 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail.cs b/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail.cs
index f7cad1d..222ef1f 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail.cs
@@ -1,9 +1,11 @@
-锘縰sing SqlSugar;
+锘縰sing Magicodes.ExporterAndImporter.Core;
+using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
+using WIDESEA_Core.Attributes;
using WIDESEA_Core.DB.Models;
namespace WIDESEA_Model.Models
@@ -23,7 +25,10 @@
[SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "鐗╂枡鍚嶇О")]
public string MaterielName { get; set; }
- [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鎵规鍙�")]
+ [SugarColumn(IsNullable = false, ColumnDescription = "璁㈠崟鏄庣粏绫诲瀷", DefaultValue = "0")]
+ public int MaterielType { get; set; }
+
+ [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "鎵规鍙�")]
public string BatchNo { get; set; }
[SugarColumn(IsNullable = false, DecimalDigits = 2, ColumnDescription = "鍗曟嵁鏁伴噺")]
@@ -35,7 +40,7 @@
[SugarColumn(IsNullable = false, DecimalDigits = 2, ColumnDescription = "涓婃灦鏁伴噺", DefaultValue = "0")]
public decimal OverInQuantity { get; set; }
- [SugarColumn(IsNullable = false, ColumnDescription = "璁㈠崟鏄庣粏鐘舵��")]
+ [SugarColumn(IsNullable = false, ColumnDescription = "璁㈠崟鏄庣粏鐘舵��", DefaultValue = "0")]
public int OrderDetailStatus { get; set; }
[SugarColumn(IsNullable = true, ColumnDescription = "鐗╂枡瑙勬牸")]
@@ -49,5 +54,16 @@
[SugarColumn(IsNullable = true, ColumnDescription = "LPN鍙�")]
public string LPNNo { get; set; }
+
+ [SugarColumn(IsNullable = true, ColumnDescription = "渚涘簲鍟嗘壒娆�")]
+ public string SupplierBatch { get; set; }
+
+ [SugarColumn(IsNullable = true, ColumnDescription = "WMS鍘熷搴撲綅")]
+ public string OrinalLocation { get; set; }
+
+ [ImporterHeader(IsIgnore = true)]
+ [ExporterHeader(IsIgnore = true)]
+ [Navigate(NavigateType.OneToMany, nameof(Dt_CPInboundOrderDetail.OrderDetailId), nameof(Id))]
+ public List<Dt_CPInboundOrderDetail> CPDetails { get; set; }
}
}
--
Gitblit v1.9.3