From 9ad3666d15deccc40a2aa4d1b96950c78eaf165f Mon Sep 17 00:00:00 2001 From: 海波 张 <2956280567@qq.com> Date: 星期四, 22 五月 2025 17:28:56 +0800 Subject: [PATCH] 金坛修改 --- wms/WMSModel.cs | 85 ++++++++++++++++++++++++++++++++++++------ 1 files changed, 73 insertions(+), 12 deletions(-) diff --git a/wms/WMSModel.cs b/wms/WMSModel.cs index 3f26360..682e7f8 100644 --- a/wms/WMSModel.cs +++ b/wms/WMSModel.cs @@ -69,9 +69,14 @@ /// </summary> public string TOOLSTYPE { get; set; } /// <summary> - /// 宸烽亾 + /// 宸烽亾 1-2-3 褰㈠紡 /// </summary> public string ROADWAY { get; set; } + + /// <summary> + /// 閫昏緫搴撳尯缂栫爜 + /// </summary> + public string ZONECODE { get; set; } } @@ -158,11 +163,6 @@ /// 鍚敤 /// </summary> public string C_ENABLE { get; set; } - - /// <summary> - /// 鐢熶骇鏃堕棿 - /// </summary> - public DateTime PRODUCTIONDATE { get; set; } /// <summary> /// 娣卞害 @@ -641,11 +641,7 @@ /// </summary> public string S_B_STATE { get; set; } - /// <summary> - /// 椤哄簭鍙�- /// </summary> - public string N_SORT_NO { get; set; } - + /// <summary> /// 浣滀笟缂栫爜 /// </summary> @@ -847,7 +843,7 @@ /// <summary> /// 鍔ㄤ綔鐮� /// </summary> - public string N_ACTION_CODE { get; set; } + public int N_ACTION_CODE { get; set; } } @@ -1440,4 +1436,69 @@ /// </summary> public string State { get; set; } } + + + + + /// <summary> + /// 閫昏緫搴撳尯璐т綅鍏宠仈琛�+ /// </summary> + [ST("閫昏緫搴撳尯璐т綅鍏宠仈琛�)] + public class ZoneLoc : BaseModel + { + //璐т綅缂栫爜 + [SugarColumn(IsPrimaryKey = true)] + public string S_LOC_CODE { get; set; } + //閫昏緫搴撳尯缂栫爜 + public string S_ZONE_CODE { get; set; } + + [SugarColumn(IsIgnore = true)] + [Navigate(NavigateType.OneToOne, nameof(S_LOC_CODE), nameof(Location.S_CODE))] + public Location Loc { get; set; } + } + + + /// <summary> + /// 閫昏緫缂栫爜鐩稿叧閫昏緫搴撳尯鍏宠仈 + /// </summary> + [ST("閫昏緫缂栫爜鍏宠仈琛�)] + public class Zone : BaseModel + { + public string S_NAME { get; set; } + public string S_NOTE { get; set; } + public string S_WH_CODE { get; set; } + public int N_EMPTY_MIN { get; set; } + public int N_EMPTY_MAX { get; set; } + [SugarColumn(IsPrimaryKey = true)] + public string S_CODE { get; set; } + public string S_AREA_CODE { get; set; } + public string S_LOC_RULE { get; set; } + public string S_ZONE_CLS_CODE { get; set; } + public int N_AVAILABLE_IN { get; set; } + public int N_TYPE { get; set; } + public string S_TYPE { get; set; } + public string S_ITEM_CODE { get; set; } + public string S_ITEM_NAME { get; set; } + public string S_BATCH_NO { get; set; } + public string S_ITEM_CATEGORY { get; set; } + public string S_OWNER_CODE { get; set; } + public string S_SUPPLIER_CODE { get; set; } + public int N_CONNECT_TYPE { get; set; } + public string S_CONNECT_TYPE { get; set; } + public int N_LOCK_STATE { get; set; } + public string S_LOCK_STATE { get; set; } + public string S_OWNER_NAME { get; set; } + public string S_SUPPLIER_NAME { get; set; } + public int N_STORE_MAX { get; set; } + public string S_STATE_PRE { get; set; } + + public string C_IS_AREA { get; set; } + public string S_GROUP { get; set; } + + [SugarColumn(IsIgnore = true)] + [Navigate(NavigateType.OneToMany, nameof(S_CODE), nameof(ZoneLoc.S_LOC_CODE))] + public List<ZoneLoc> ZoneLocs { get; set; } + } + + } \ No newline at end of file -- Gitblit v1.9.1