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;
///
/// sku列表信息
///
public List skuQuantityDetailList { get; set; } = new List();
///
/// sku总计
///
public SkuQuantityInfo skuQuantityTotalInfo { get; set; }
///
/// 备货单创建时间
///
public long? purchaseTime { get; set; }
public bool? isCanJoinDeliverPlatform { get; set; } // false,
public string joinDeliverPlatformReason { get; set; } // "当前备货单已加入发货台,无需重复操作",
}
///
/// 待备货商品信息
///
public class WarehouseProductSubOrderInfo
{
///
/// 卖家店铺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; }
///
/// skc货号
///
public string skcExtCode { get; set; }
///
/// 加入站点时长 单位天
///
public int? onSalesDurationOffline { 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;
///
/// 品质售后率
///
public decimal? qltyAfsOrdrRate { get; set; } = null;
///
/// 品质售后次数
///
public int? qltyAfsOrdCnt { get; set; } = null;
///
/// 获取评价分错误
///
public string getAfsScoreError { get; set; } = "";
public decimal? discount { get; set; } = 100;
///
/// KJD库中是否有进货价数据
///
//public bool hasDbPurchasePrice { get; set; } = false;
///
/// KJD库中进货价数据
///
public TemuDBProductPurchasePriceInfo purchasePriceInfo { 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; }
///
/// 累计销量
///
public int? totalSaleVolume { get; set; }
///
/// 申报价格 CNY 分
///
public int? supplierPrice { get; set; }
///
/// (加入发货台时的)备货件数
///
public int? purchaseQuantity { 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;
///
/// 进货价,保存于KJD库 单位分
///
public int purchasePrice { get; set; } = 0;
///
/// 总货值
///
public int goodsValue { get; set; }
///
/// 总进价(成本)
///
public int goodsCost { get; set; }
///
/// 今日利润(通过KJD库获取进货价计算获得)单位元
///
public decimal? todayProfit { get; set; } = null;
///
/// 近7日利润(通过KJD库获取进货价计算获得)单位元
///
public decimal? sevenDaysProfit { get; set; } = null;
///
/// 近30日利润(通过KJD库获取进货价计算获得)单位元
///
public decimal? thirtyDaysProfit { get; set; } = null;
}
///
/// 备货相关库存数量
///
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; }
}
}