From 1a1bc81ac1d9ad656e15b409122e23f7f3763293 Mon Sep 17 00:00:00 2001
From: pan <antony1029@163.com>
Date: 星期四, 27 十一月 2025 08:27:41 +0800
Subject: [PATCH] 提交

---
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_Model/Models/Allocate/Dt_AllocateOrderDetail.cs |  120 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 117 insertions(+), 3 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_Model/Models/Allocate/Dt_AllocateOrderDetail.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_Model/Models/Allocate/Dt_AllocateOrderDetail.cs"
index 760228f..73a6f5c 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_Model/Models/Allocate/Dt_AllocateOrderDetail.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_Model/Models/Allocate/Dt_AllocateOrderDetail.cs"
@@ -1,12 +1,126 @@
-锘縰sing System;
+锘縰sing SqlSugar;
+using System;
 using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.ComponentModel.DataAnnotations.Schema;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
+using WIDESEA_Core.DB.Models;
 
-namespace WIDESEA_Model.Models.Allocate
+namespace WIDESEA_Model.Models
 {
-    public class Dt_AllocateOrderDetail
+    /// <summary>
+    /// 璋冩嫧鍗曟槑缁�
+    /// </summary>
+    [SugarTable(nameof(Dt_AllocateOrderDetail), "璋冩嫧鍗曟槑缁�")]
+    public class Dt_AllocateOrderDetail : BaseEntity
     {
+        /// <summary>
+        /// 涓婚敭ID锛堣嚜澧烇級
+        /// </summary>
+        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")]
+        public int Id { get; set; }
+
+        /// <summary>
+        /// 鍏宠仈璁㈠崟ID锛堝搴擠t_AllocateOrder.Id锛�
+        /// </summary>
+        [SugarColumn(IsNullable = false, ColumnDescription = "鍏宠仈璁㈠崟ID")]
+        public int OrderId { get; set; }
+
+        /// <summary>
+        /// 鐗╂枡缂栫爜
+        /// </summary>
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐗╂枡缂栫爜")]
+        public string MaterielCode { get; set; }
+
+
+        /// <summary>
+        /// 鎵规鍙�
+        /// </summary>
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵规鍙�")]
+        public string BatchNo { get; set; }
+
+        /// <summary>
+        /// 璁㈠崟鏁伴噺
+        /// </summary>
+        [SugarColumn(IsNullable = false, ColumnDescription = "璁㈠崟鏁伴噺")]
+        public decimal OrderQuantity { get; set; }
+
+        /// <summary>
+        /// 鏀惰揣鏁伴噺
+        /// </summary>
+        [SugarColumn(IsNullable = false, ColumnDescription = "鏀惰揣鏁伴噺")]
+        public decimal ReceiptQuantity { get; set; }
+
+        /// <summary>
+        /// 瓒呴鍏ュ簱鏁伴噺
+        /// </summary>
+        [SugarColumn(IsNullable = false, ColumnDescription = "瓒呴鍏ュ簱鏁伴噺")]
+        public decimal OverInQuantity { get; set; }
+
+        /// <summary>
+        /// 鏄庣粏鐘舵��
+        /// </summary>
+        [SugarColumn(IsNullable = false, ColumnDescription = "鏄庣粏鐘舵��")]
+        public int OrderDetailStatus { get; set; }
+
+        /// <summary>
+        /// 鍗曚綅
+        /// </summary>
+        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鍗曚綅")]
+        public string Unit { get; set; }
+
+        /// <summary>
+        /// 琛屽彿
+        /// </summary>
+        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "琛屽彿")]
+        public string LineNo { get; set; }
+
+        /// <summary>
+        /// 浠撳簱缂栫爜
+        /// </summary>
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "浠撳簱缂栫爜")]
+        public string WarehouseCode { get; set; }
+
+        /// <summary>
+        /// 鏉″舰鐮�
+        /// </summary>
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鏉″舰鐮�")]
+        public string Barcode { get; set; }
+
+
+        /// <summary>
+        /// 渚涘簲鍟嗙紪鍙�
+        /// 榛樿鍊�:
+        ///</summary>
+        [SugarColumn(ColumnName = "supplyCode", ColumnDescription = "渚涘簲鍟嗙紪鍙�")]
+        public string? SupplyCode { get; set; }
+
+        /// <summary>
+        /// 鏉″舰鐮佹暟閲�
+        /// </summary>
+        [SugarColumn(IsNullable = false, ColumnDescription = "鏉″舰鐮佹暟閲�")]
+        public decimal? BarcodeQty { get; set; }
+
+        /// <summary>
+        /// 鏉″舰鐮佸崟浣�
+        /// </summary>
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鏉″舰鐮佸崟浣�")]
+        public string BarcodeUnit { get; set; }
+
+        /// <summary>
+        /// 澶囨敞
+        /// </summary>
+        [SugarColumn(IsNullable = false, Length = 255, ColumnDescription = "澶囨敞")]
+        public string Remark { get; set; }
+
+        /// <summary>
+        /// 鍥炰紶MES
+        /// </summary>
+        [SugarColumn(IsNullable = true, ColumnDescription = "鍥炰紶MES")]
+        public int ReturnToMESStatus { get; set; } = 0;
+        [SugarColumn(IsNullable = true, ColumnDescription = "杩囨湡鏃ユ湡")]
+        public DateTime ValidDate { get; set; }
     }
 }

--
Gitblit v1.9.3