From c84db706e8c8d82a96bb4b4c18c243a42b2976c1 Mon Sep 17 00:00:00 2001
From: pan <antony1029@163.com>
Date: 星期三, 19 十一月 2025 19:44:30 +0800
Subject: [PATCH] 提交

---
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_Model/Models/Allocate/Dt_ AllocateOrder.cs |  109 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 104 insertions(+), 5 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_ AllocateOrder.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_ AllocateOrder.cs"
index 1109425..f20eb36 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_ AllocateOrder.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_ AllocateOrder.cs"
@@ -1,18 +1,117 @@
-锘縰sing SqlSugar;
+锘縰sing MailKit.Search;
+using 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
 {
     /// <summary>
-    /// 
+    /// 璋冩嫧鍗�
     /// </summary>
-    [SugarTable(nameof(Dt_InboundOrder), "鍏ュ簱鍗�")]
+    [SugarTable(nameof(Dt_AllocateOrder), "璋冩嫧鍗�")]
     public class Dt_AllocateOrder : BaseEntity
-    { 
+    {
+        /// <summary>
+        /// 涓婚敭ID锛堣嚜澧烇級
+        /// </summary>
+        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")]
+        public int Id { get; set; }
+
+        /// <summary>
+        /// 浠撳簱ID
+        /// </summary>
+        [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱ID")]
+        public int WarehouseId { get; set; }
+
+        /// <summary>
+        /// 璁㈠崟缂栧彿
+        /// </summary>
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "璁㈠崟缂栧彿")]
+        public string OrderNo { get; set; }
+
+        /// <summary>
+        /// 涓婄骇璁㈠崟缂栧彿
+        /// </summary>
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "涓婄骇璁㈠崟缂栧彿")]
+        public string UpperOrderNo { get; set; }
+
+        /// <summary>
+        /// 渚涘簲鍟咺D
+        /// </summary>
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "渚涘簲鍟咺D")]
+        public string SupplierId { get; set; }
+
+        /// <summary>
+        /// 璁㈠崟绫诲瀷
+        /// </summary>
+        [SugarColumn(IsNullable = false, ColumnDescription = "璁㈠崟绫诲瀷")]
+        public int OrderType { get; set; }
+
+        /// <summary>
+        /// 璁㈠崟鐘舵��
+        /// </summary>
+        [SugarColumn(IsNullable = false, ColumnDescription = "璁㈠崟鐘舵��")]
+        public int OrderStatus { get; set; }
+
+        /// <summary>
+        /// 鍒涘缓绫诲瀷
+        /// </summary>
+        [SugarColumn(IsNullable = false, ColumnDescription = "鍒涘缓绫诲瀷")]
+        public int CreateType { get; set; }
+
+        /// <summary>
+        /// 涓氬姟绫诲瀷
+        /// </summary>
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "涓氬姟绫诲瀷")]
+        public string BusinessType { get; set; }
+
+        /// <summary>
+        /// 鏉ユ簮浠撳簱
+        /// </summary>
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鏉ユ簮浠撳簱")]
+        public string FromWarehouse { get; set; }
+
+        /// <summary>
+        /// 鐩爣浠撳簱
+        /// </summary>
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐩爣浠撳簱")]
+        public string ToWarehouse { get; set; }
+
+        /// <summary>
+        /// 鏄惁鎵规
+        /// </summary>
+        [SugarColumn(IsNullable = false, ColumnDescription = "鏄惁鎵规")]
+        public int IsBatch { get; set; }
+
+        /// <summary>
+        /// 鍘傚尯
+        /// </summary>
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鍘傚尯")]
+        public string FactoryArea { get; set; }
+
+        /// <summary>
+        /// 澶囨敞
+        /// </summary>
+        [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "澶囨敞")]
+        public string Remark { get; set; }
+
+
+        /// <summary>
+        /// 鍥炰紶MES
+        /// </summary>
+        [SugarColumn(IsNullable = true, ColumnDescription = "鍥炰紶MES")]
+        public int ReturnToMESStatus { get; set; } = 0;
+
+        /// <summary>
+        /// 璋冩嫧鍗曟槑缁�
+        /// </summary>
+        [Navigate(NavigateType.OneToMany, nameof(Dt_AllocateOrderDetail.OrderId), nameof(Id))]
+        public List<Dt_AllocateOrderDetail> Details { get; set; }
     }
 }

--
Gitblit v1.9.3