From 18ef8c37e6290ba6f47cbd5bbd26e56a682d767e Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期一, 29 九月 2025 16:34:15 +0800
Subject: [PATCH] 1
---
代码管理/WIDESEA_WMSServer/WIDESEA_Model/Models/SquareCabin/Dt_CabinOrder.cs | 35 +++++++++++++++++++++++++++--------
1 files changed, 27 insertions(+), 8 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEA_WMSServer/WIDESEA_Model/Models/SquareCabin/Dt_CabinOrder.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEA_WMSServer/WIDESEA_Model/Models/SquareCabin/Dt_CabinOrder.cs"
index 9b877bb..6c9091f 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEA_WMSServer/WIDESEA_Model/Models/SquareCabin/Dt_CabinOrder.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEA_WMSServer/WIDESEA_Model/Models/SquareCabin/Dt_CabinOrder.cs"
@@ -12,21 +12,37 @@
[SugarTable("Dt_CabinOrder", "鍏ュ簱鍗曡〃")]
public class Dt_CabinOrder:BaseEntity
{
+ [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")]
+ public int Id { get; set; }
- [SugarColumn(ColumnName ="Id",IsPrimaryKey =true,IsIdentity =true,ColumnDescription ="涓婚敭")]
- public int Id { get; set; }
-
- [SugarColumn(ColumnName = "Order_no",IsNullable =true,Length =50,ColumnDescription ="鍏ュ簱鍗曞彿")]
+ [SugarColumn(IsNullable =true,Length =50,ColumnDescription ="鍏ュ簱鍗曞彿")]
public string Order_no { get; set; }
- [SugarColumn(ColumnName = "Order_type", IsNullable = true, Length = 3, ColumnDescription = "鍏ュ簱绫诲瀷锛�1姝e父/3閫�璐�")]
+
+ [SugarColumn(IsNullable = true, Length = 3, ColumnDescription = "鍏ュ簱绫诲瀷锛�1姝e父/3閫�璐�")]
public string Order_type { get; set; }
- [SugarColumn(ColumnName = "Supplier_no", IsNullable = true, Length = 50, ColumnDescription = "渚涘簲鍟嗕唬鐮�")]
+
+
+ [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "渚涘簲鍟嗕唬鐮�")]
public string Supplier_no { get; set; }
- [SugarColumn(ColumnName = "Account_tiem", IsNullable = true, ColumnDescription = "鍏ュ簱璁拌处鏃堕棿")]
- public DateTime Account_tiem { get; set; }
+ [SugarColumn(IsNullable = true, ColumnDescription = "鍏ュ簱璁拌处鏃堕棿")]
+ public DateTime?Account_tiem { get; set; }
+
+ /// <summary>
+ /// 涓嬫父鐘舵�� 鏂板缓锛屽紑濮嬶紝宸插畬鎴�
+ /// 涓嬫父涓嬪彂锛堟柊寤猴級
+ /// 璇︽儏寮�濮嬶紙寮�濮嬶級
+ /// 璇︽儏鍏ㄩ儴瀹屾垚锛堝凡瀹屾垚锛屼笂浼犵粰涓婃父绯荤粺锛岀Щ鍏ュ巻鍙茶〃鍒犻櫎淇℃伅锛�
+ /// </summary>
+ [SugarColumn(ColumnName = "OdrderStatus",IsNullable = true,Length =50, ColumnDescription = "琛ㄥご鐘舵��")]
+ public string OdrderStatus { get; set; }
+
+ //涓婃父瀹屾垚鐘舵�侊細鏈畬鎴愶紝閮ㄥ垎瀹屾垚锛屽凡瀹屾垚
+ //[SugarColumn(ColumnName = "UpOrderStatus", IsNullable = true, Length = 50, ColumnDescription = "缁欎笂娓哥姸鎬�")]
+ //public string UpOrderStatus { get; set; }
+
//涓嬮潰鏄惁闇�瑕佽繖浜涘瓧娈碉紵
//浼樺厛绾� priority
@@ -39,6 +55,9 @@
//[SugarColumn(ColumnName = "Iscancel", IsNullable = true, ColumnDescription = "鏄惁鍙栨秷(1鏄�0鍚�)")]
//public int Iscancel { get; set; }
+ [Navigate(NavigateType.OneToMany,nameof(Dt_CabinOrderDetail.OrderId))]
+ public List<Dt_CabinOrderDetail> Details { get; set; }
+
}
}
--
Gitblit v1.9.3