服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2025-03-10 40df5d91f800bb8b7be2638c13b4f9292d461221
Tiger.Model.Net/Entitys/WMS/Api/Input_Entitys.cs
@@ -8,20 +8,81 @@
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; }
    }
    public class RePrintLabelBase
    {
        public string BatchNo { get; set; }
        public double BatchQty { get; set; }
        public List<RePrintLabelEntity> SnList { get; set; }=new List<RePrintLabelEntity>();
    }
    public class PrintSemiProdLabelEntity: RePrintLabelBase
    {
    }
    public class RePrintLabelEntity
    {
        public string ID { get; set; }
        public string SN { get; set; }
        public double Qty { get; set; }
    }
}