From cd8182d8fefc55c245400936b6330a00e866adbd Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期二, 24 十二月 2024 21:25:06 +0800 Subject: [PATCH] 优化标准上下架 --- Tiger.Model.Net/Entitys/WMS/Api/Input_Entitys.cs | 70 ++++++++++++++++++++++++++++------- 1 files changed, 56 insertions(+), 14 deletions(-) diff --git a/Tiger.Model.Net/Entitys/WMS/Api/Input_Entitys.cs b/Tiger.Model.Net/Entitys/WMS/Api/Input_Entitys.cs index 4a67ea9..95f9041 100644 --- a/Tiger.Model.Net/Entitys/WMS/Api/Input_Entitys.cs +++ b/Tiger.Model.Net/Entitys/WMS/Api/Input_Entitys.cs @@ -8,20 +8,62 @@ namespace Tiger.Model { - public class ScanShelfInfo + public class BaseInput { - public string WarehouseCode { get; set; } - public string RegionCode { get; set; } - public string ShelfCode { get; set; } - public string LocationCode { get; set; } - public string RackCode => ShelfCode; - public bool IsSmartRack { get; set; } - public decimal Capacity { get; set; } - public int LotCount { get; set; } - public decimal MaxSize { get; set; } - public int ShelfType { get; set; } - public bool IsScanShelf { get; set; } - public WMS_SHELF Shelf { get; set; } - public WMS_LOCATION Location { get; set; } + /// <summary> + /// 鏁版嵁搴撴巿鏉冩煡璇㈤�夐」 + /// </summary> + public AuthOption AuthOption { get; set; } + /// <summary> + /// 瀹㈡埛绔樉绀虹殑璇█ + /// </summary> + public string Locale { get; set; } + /// <summary> + /// 鎿嶄綔鎸囦护 + /// </summary> + public string Command { get; set; } + /// <summary> + /// 鏉$爜 + /// </summary> + public string SN { get; set; } + /// <summary> + /// 褰撳墠鎿嶄綔闇�瑕佹彁浜ょ殑閫夐」 + /// </summary> + public Dictionary<string, string> Options { get; set; } = new Dictionary<string, string>(); + /// <summary> + /// 褰撳墠鎿嶄綔闇�瑕佹彁浜ょ殑鏁版嵁 + /// </summary> + public string Data { get; set; } + } + + public class BasePageInput + { + public AuthOption AuthOption { get; set; } + public int pageIndex { get; set; } + public int pageSize { get; set; } + public int total { get; set; } + public string Code { get; set; } + } + + public class BasePageOutput<T> + { + public List<T> data { get; set; } + public int total { get; set; } + } + + public class BaseCodeInput + { + public AuthOption AuthOption { get; set; } + public string Code { get; set; } + } + + public class OutOthDtlInput : BasePageInput + { + public bool IsItemCodeList { get; set; } + } + + public class OutWoDtlInput : BasePageInput + { + public bool IsItemCodeList { get; set; } } } -- Gitblit v1.9.3