using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AllBase.Model.Result { /// /// 系统待创建备货单 /// public class TemuStockInfo { /// /// 卖家店铺id /// public long supplierId { get; set; } /// /// 卖家店铺名称 /// public string supplierName { get; set; } /// /// 备货母单号 /// public string originalPurchaseOrderSn { get; set; } /// /// 备货单号 /// public string subPurchaseOrderSn { get; set; } /// /// 商品名 /// public string productName { get; set; } /// /// 商品Id /// public long productId { get; set; } /// /// 商品Skc /// public long productSkcId { get; set; } /// /// 货号 /// public string productSn { get; set; } /// /// skc图片 /// public string productSkcPicture { get; set; } /// /// 是否取消待创建备货单 /// public bool isCancel { get; set; } = false; } /// /// 待备货商品信息 /// public class SubOrderInfo { /// /// 卖家店铺id /// public long supplierId { get; set; } /// /// 卖家店铺名称 /// public string supplierName { get; set; } /// /// 商品名 /// public string productName { get; set; } /// /// 商品Id /// public long productId { get; set; } /// /// 商品Skc /// public long productSkcId { get; set; } /// /// skc图片 /// public string productSkcPicture { get; set; } /// /// sku列表信息 /// public List skuQuantityDetailList { get; set; } = new List(); /// /// sku总计 /// public SkuQuantityInfo skuQuantityTotalInfo { get; set; } /// /// 备货仓组Id列表 /// public List warehouseGroupIdList { get; set; } /// /// 是否需要备货 /// public bool needStockUp { get; set; } = false; /// /// 临时存储已创建备货单信息 /// public bool isStockUp { get; set; } = false; public decimal? goodsAfsScore { get; set; } = null; } /// /// sku数量信息 /// public class SkuQuantityInfo { /// /// sku编号 /// public long? productSkuId { get; set; } /// /// sku名称 /// public string className { get; set; } /// /// 备货仓组 /// public string warehouseGroupName { get; set; } /// /// 累计加购数量 /// public int? inCardNumber { get; set; } /// /// 近7日加购数量 /// public int? inCartNumber7d { get; set; } /// /// 今日销量 /// public int? todaySaleVolume { get; set; } /// /// 近七日销量 /// public int? lastSevenDaysSaleVolume { get; set; } /// /// 近30天销量 /// public int? lastThirtyDaysSaleVolume { get; set; } /// /// 申报价格 CNY 分 /// public int? supplierPrice { get; set; } ///// ///// 仓内可用库存 ///// //public int? salesInventoryNum { get; set; } /// /// 建议备货引导(为true无需备货?) /// public bool? showStockGuide { get; set; } /// /// 建议备货数量 /// public int? adviceQuantity { get; set; } public InventoryNumInfo inventoryNumInfo { get; set; } /// /// 拟备货数量,=0不备货 /// public int wantStockUpBound { get; set; } = 0; } /// /// 备货相关库存数量 /// public class InventoryNumInfo { public int? waitOnShelfNum {get;set;} public int? arrivalDelayNum { get; set; } /// /// 已创建备货单待发货库存 /// public int? waitDeliveryInventoryNum { get; set; } public int? salesInventoryNum { get; set; } public int? deliveryDelayNum { get; set; } /// /// 仓内可用库存 /// public int? warehouseInventoryNum { get; set; } public int? expectedOccupiedInventoryNum { get; set; } /// /// 仓库预占用库存 /// public int? normalLockNumber { get; set; } public int? waitApproveInventoryNum { get; set; } public int? waitQcNum { get; set; } public int? unavailableWarehouseInventoryNum { get; set; } public int? waitInStock { get; set; } /// /// 已发货库存 /// public int? waitReceiveNum { get; set; } } /// /// 备货商品基础信息 /// public class stockBaseInfo { public string productName { get; set; } public string catName { get; set; } public string productSkcId { get; set; } public string productSkcPicture { get; set; } public long? supplierId { get; set; } public string supplierName { get; set; } public bool? punishVmiUrgencyOrder { get; set; } public string purchaseConfig { get; set; } public List purchaseConfigDetailList { get; set; } = new List(); } /// /// 配货sku配置详情 /// public class purchaseConfigDetail { public bool? isReducePricePass { get; set; } public bool? isVerifyPrice { get; set; } /// /// 价格单位 CNY /// public string currencyType { get; set; } /// /// sku价格 2800 分 /// public int? supplierPrice { get; set; } /// /// sku名称 12color gel pens /// public string className { get; set; } public long? productSkuId { get; set; } public int? exceptQuantity { get; set; } public int? applyQuantity { get; set; } public int? lastSevenDaysSaleVolume { get; set; } public int? availableSaleDays { get; set; } public int? stockOut { get; set; } public int? urgencyPurchaseNum { get; set; } public int? auditLowerBound { get; set; } public int? auditUpperBound { get; set; } /// /// 备货量上限 /// public int? applyUpperBound { get; set; } /// /// 备货量下限 /// public int? applyLowerBound { get; set; } public int? exceptQuantityWhenApply { get; set; } public int? addPurchaseNumBound { get; set; } /// /// 备货逻辑 "0 + 0" /// public string purchaseConfig { get; set; } } }