using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Common.FangCang; namespace WIDESEA_DTO.SquareCabin { public class TowcsDto { public class TowcsResponse { /// /// 结果代码:0成功,1失败 /// public string code { get; set; } /// /// 结果信息 成功success /// public string msg { get; set; } public string success { get; set; } /// /// 业务数据 /// public List data { get; set; } } //向wcs入库单 public class ToediInInfo { /// /// 客户code /// public string customerCode { get; set; } /// /// 物料类型code /// public string materialCode { get; set; } // 外部入库单号 //(唯一标识,校重) public string externalOrderNo { get; set; } /// ///入库单类型 //10:销售入库单 //20:盘盈入库单 /// public string inOrderType { get; set; } /// /// 优先级 /// public int priority { get; set; } /// /// 是否取消 /// public int Is_cancel { get; set; } /// /// 入库单明细 /// public List details { get; set; } } public class ToediInDetail { /// /// 批号 /// public string batchNo { get; set; } /// /// 产品code如果为null使用名称+规格查找sku /// public string productCode { get; set; } /// /// sku名称 /// public string productName { get; set; } /// /// sku规格 /// public string productSpecifications { get; set; } /// /// 数量 /// public int quantity { get; set; } /// /// 效期 /// public string validityPeriod { get; set; } /// /// 生产厂家 /// public string manufacturer { get; set; } /// /// 库房号 /// public string libraryNo { get; set; } /// /// 盘盈明细 /// public List stocktakingDetails { get; set; } } public class ToediInStock { /// /// 料箱号 /// public string palletCode { get; set; } /// /// 数量 /// public string quantity { get; set; } } //向wcs出库单 public class ToediOutInfo { /// /// 客户code /// public string customerCode { get; set; } /// /// 物料类型code /// public string materialCode { get; set; } /// /// 外部出库单号(唯一标识) /// public String externalOrderNo { get; set; } /// /// 订单类型 //10:一般交易出库单 //20:盘点出库单 //30:盘亏出库单 /// public string outOrderType { get; set; } /// /// 优先级1-5 /// public int priority { get; set; } /// /// 是否取消 /// public int Is_cancel { get; set; } /// /// 出库明细详情 /// public List details { get; set; } } public class ToeOutdiInDetail { /// /// 批号 /// public string batchNo { get; set; } /// /// 产品code如果为null使用名称+规格查找sku /// public string productCode { get; set; } /// /// sku名称 /// public string productName { get; set; } /// /// sku规格 /// public string productSpecifications { get; set; } /// /// 数量 /// public int quantity { get; set; } /// /// 盘亏明细 /// public List stocktakingDetails { get; set; } } public class ToOutediInStock { /// /// 料箱号 /// public string palletCode { get; set; } /// /// 数量 /// public string quantity { get; set; } } //产品同步接口 public class ProductInfo { /// /// 客户code /// public string customerCode { get; set; } /// /// 物料类型code /// public string materialCode { get; set; } public string productCode { get; set; } /// /// 产品名称 /// public string productName { get; set; } /// /// 产品条码 /// public string productBarCode{ get; set; } /// /// 规格 /// public string productSpecifications { get; set; } /// /// 单位 /// public string unit { get; set; } /// /// 长 /// public string singleProductLongNum { get; set; } /// /// 宽 /// public string singleProductWideNum { get; set; } /// /// 高 /// public string singleProductHighNum { get; set; } /// /// 重量 /// public string singleProductWeight { get; set; } /// /// 体积 /// public string singleProductVolume { get; set; } /// /// 是否取消 /// public string Is_delete { get; set; } } //wcs订单回传 public class EdiOrderCallbackRequest { public string customerCode { get; set; } public string materialCode { get; set; } public string externalOrderNo { get; set; } public string orderNo { get; set; } public string orderType { get; set; } public List details { get; set; } } public class EdiOrderDetailDto { public string batchNo { get; set; } /// /// 产品code /// public string productCode { get; set; } public string productName { get; set; } /// /// sku规格 /// public string productSpecifications { get; set; } public DateTime finishDate { get; set; } //完成时间 /// /// 盘点单专属(盘点单差异明细) /// public List stocktakingDetails { get; set; } /// /// 出入库单专属(出入库库货品料箱明细) /// public List orderDetails { get; set; } } /// /// 盘点 /// public class EdiStocktakingDetailDto { /// /// 差异料箱号 /// public string palletCode { get; set; } /// /// 如果是盘点回返回差异数 /// public string differenceQuantity { get; set; } /// /// 如果是盘点,盘盈1 盘亏0 /// public string IsProfit { get; set; } } /// /// 正常出入库 /// public class EdiOrderBoxDto { /// /// 出入库数量 /// public string quantity { get; set; } /// /// 料箱号 /// public string palletCode { get; set; } } } }