using System; using System.Collections.Generic; using System.Text; using System.Windows.Automation.Peers; using WebSocketSharp; namespace BBWY.Client.Models.APIModel.Response.PackTask { public class PackTaskResultResponse { /// /// 查询总数据(判断总页数) /// public int TotalCount { get; set; } /// /// 页面返回的数据 /// public GetPackTaskDTO[] Items { get; set; } } public class GetPackTaskDTO { /// /// SKU标题 /// public string SkuName { get; set; } /// /// 图片链接 /// public string Logo { get; set; } /// /// 任务id /// public long TaskId { get; set; } /// /// 需求方创建日期 /// public DateTime CreateTime { get; set; } /// /// 任务状态(未完成=0,已完成=1,) /// public int TaskStatus { get; set; } /// /// 需求方团队 /// public string DepartmentName { get; set; } /// /// 需求方店铺 /// public string ShopName { get; set; } /// /// 货号 /// public string ProductItemNum { get; set; } /// /// 货号品名 /// public string BrandName { get; set; } /// /// 对接人 /// public string UserName { get; set; } /// /// 打包人 /// public string[] PackUserName { get; set; } /// /// skuid /// public string SkuId { get; set; } /// /// sku数量 /// public int SkuCount { get; set; } /// /// 打包类型(单件=0,多件=1) /// public int PackType { get; set; } /// /// 落仓(本地仓=0,齐越仓=1,京东仓=2) /// public int PositionType { get; set; } /// /// 基础包装(快递袋=0,纸箱=1,麻袋=2) /// public int BasicPack { get; set; } /// /// 增量1() /// public string Increment1 { get; set; } /// /// 增量2() /// public int? Increment2 { get; set; } /// /// 工序道数 /// public int? ProcessCount { get; set; } /// /// 到货情况(待收货=0,部分收货=1,已到货=2) /// public int Availability { get; set; } //todo: 条形码数据 合格证数据 ///// ///// 打包费用 ///// //public FeesItemTypeDTO FeesItemTypeDTO { get; set; } /// /// /// public FeesItemResponse FeesItemResponse { get; set; } /// /// 合格证位置(外部包装=0,产品包装=1) /// public int? CertificatePosition { get; set; } /// /// 箱子耗材(自带=0,4-13号纸箱=1-10,) /// public int? BoxConsumables { get; set; } /// /// sku配件名称 /// public string SkuGoodsTitle { get; set; } /// /// 配件数 /// public int GoodsNumber { get; set; } /// /// 气泡纸耗材(长=0,宽=1) /// public int? AirConsumables { get; set; } /// /// 注意事项(对接备注) /// public string MarkMessage { get; set; } public BarCodeModel BarCodeDTO { get; set; } public CertificateModel certificate { get; set; } /// /// 是否加急 /// public int IsWorry { get; set; } /// /// 品牌 /// public string Brand { get; set; } } //public class FeesItemTypeDTO :NotifyObject //{ // private bool isPaperBox; // public bool IsPaperBox { get => isPaperBox; set { Set(ref isPaperBox, value); } } // private bool isBoxNumber; // public bool IsBoxNumber { get => isBoxNumber; set { Set(ref isBoxNumber, value); } } // private bool isAcceptGoods; // public bool IsAcceptGoods { get=>isAcceptGoods; set { Set(ref isAcceptGoods, value); } } // private bool isSendGoods; // /// // /// 装箱 送货 // /// // public bool IsSendGoods { get=> isSendGoods; set { Set(ref isSendGoods, value); } } // private bool isRuturnGoods; // /// // /// 退货质检 // /// // public bool IsRuturnGoods { get => isRuturnGoods; set { Set(ref isRuturnGoods, value); } } // private bool isUpdatePack; // /// // /// 更换包装 // /// // public bool IsUpdatePack { get => isUpdatePack; set { Set(ref isUpdatePack, value); } } // private bool isUnpacking; // /// // /// 拆套 // /// // public bool IsUnpacking { get => isUnpacking; set { Set(ref isUnpacking, value); } } // private bool isBasicPackFees; // /// // /// 基础包装费 // /// // public bool IsBasicPackFees { get => isBasicPackFees; set { Set(ref isBasicPackFees, value); } } // private bool isBoxPackFees; // /// // /// 箱子包装费 // /// // public bool IsBoxPackFees { get => isBoxPackFees; set { Set(ref isBoxPackFees, value); } } // private bool isExpressPackFees; // /// // /// 快递袋包装费 // /// // public bool IsExpressPackFees { get => isExpressPackFees; set { Set(ref isExpressPackFees, value); } } // private bool isExpressCloseSideFees; // /// // /// 快递袋封边 // /// // public bool IsExpressCloseSideFees { get => isExpressCloseSideFees; set { Set(ref isExpressCloseSideFees, value); } } // private bool isAirPaperPackFees; // /// // /// 气泡纸包装费 // /// // public bool IsAirPaperPackFees { get => isAirPaperPackFees; set { Set(ref isAirPaperPackFees, value); } } // private bool isAirBagPackFees; // /// // /// 气泡袋包装费 // /// // public bool IsAirBagPackFees { get => isAirBagPackFees; set { Set(ref isAirBagPackFees, value); } } // private bool isPOPBagPackFees; // /// // /// POP包装费 // /// // public bool IsPOPBagPackFees { get => isPOPBagPackFees; set { Set(ref isPOPBagPackFees, value); } } // private bool isTapePackFees; // /// // /// 胶带工序 // /// // public bool IsTapePackFees { get => isTapePackFees; set { Set(ref isTapePackFees, value); } } // private bool isIncreateGoods; // /// // ///增量配件 // /// // public bool IsIncreateGoods { get => isIncreateGoods; set { Set(ref isIncreateGoods, value); } } // private bool isAirPaper; // /// // /// 气泡纸 // /// // public bool IsAirPaper { get => isAirPaper; set { Set(ref isAirPaper, value); } } // private bool isTape; // /// // /// 胶带 // /// // public bool IsTape { get => isTape; set { Set(ref isTape, value); } } // public void SetAllVisitity() // { // IsPaperBox = SetVisitity( PaperBox); // IsBoxNumber = SetVisitity(Convert.ToDecimal(BoxNumber) ); // IsAcceptGoods = SetVisitity(AcceptGoods); // IsSendGoods = SetVisitity(SendGoods); // IsRuturnGoods = SetVisitity(RuturnGoods); // IsUpdatePack = SetVisitity(UpdatePack); // IsUnpacking = SetVisitity(Unpacking); // IsBasicPackFees = SetVisitity(BasicPackFees); // IsBoxPackFees = SetVisitity(BoxPackFees ); // IsExpressPackFees = SetVisitity(ExpressPackFees); // IsExpressCloseSideFees = SetVisitity(ExpressCloseSideFees ); // IsAirPaperPackFees = SetVisitity(AirPaperPackFees); // IsAirBagPackFees = SetVisitity(AirBagPackFees); // IsPOPBagPackFees = SetVisitity(POPBagPackFees); // IsTapePackFees = SetVisitity(TapePackFees); // IsIncreateGoods = SetVisitity(IncreateGoods); // IsAirPaper = SetVisitity(AirPaper); // IsTape = SetVisitity(Tape); // } // private bool SetVisitity( decimal? item ) // { // if (item != null ) // { // return false; // } // else // { // return true;// 无数据隐藏 // } // } // /// // /// 箱子价格 // /// // public decimal? PaperBox { get; set; } // public decimal PaperBoxNo { get; set; } // /// // /// 第几号箱子 // /// // public int BoxNumber { get; set; } // /// // /// 收货 卸货 // /// // public decimal? AcceptGoods { get; set; } // public decimal AcceptGoodsNo { get; set; } // /// // /// 装箱 送货 // /// // public decimal? SendGoods { get; set; } // public decimal SendGoodsNo { get; set; } // /// // /// 退货质检 // /// // public decimal? RuturnGoods { get; set; } // public decimal RuturnGoodsNo { get; set; } // /// // /// 更换包装 // /// // public decimal? UpdatePack { get; set; } // public decimal UpdatePackNo { get; set; } // /// // /// 拆套 // /// // public decimal? Unpacking { get; set; } // public decimal UnpackingNo { get; set; } // /// // /// 基础包装费 // /// // public decimal? BasicPackFees { get; set; } // public decimal BasicPackFeesNo { get; set; } // /// // /// 箱子包装费 // /// // public decimal? BoxPackFees { get; set; } // public decimal BoxPackFeesNo { get; set; } // /// // /// 快递袋包装费 // /// // public decimal? ExpressPackFees { get; set; } // public decimal ExpressPackFeesNo { get; set; } // /// // /// 快递袋封边 // /// // public decimal? ExpressCloseSideFees { get; set; } // public decimal ExpressCloseSideFeesNo { get; set; } // /// // /// 气泡纸包装费 // /// // public decimal? AirPaperPackFees { get; set; } // public decimal AirPaperPackFeesNo { get; set; } // /// // /// 气泡袋包装费 // /// // public decimal? AirBagPackFees { get; set; } // public decimal AirBagPackFeesNo { get; set; } // /// // /// POP包装费 // /// // public decimal? POPBagPackFees { get; set; } // public decimal POPBagPackFeesNo { get; set; } // /// // /// 胶带工序 // /// // public decimal? TapePackFees { get; set; } // public decimal TapePackFeesNo { get; set; } // /// // ///增量配件 // /// // public decimal? IncreateGoods { get; set; } // public decimal IncreateGoodsNo { get; set; } // /// // /// 气泡纸 // /// // public decimal? AirPaper { get; set; } // public decimal AirPaperNo { get; set; } // /// // /// 胶带 // /// // public decimal? Tape { get; set; } // public decimal TapeNo { get; set; } // /// // /// 打包消耗的总费用(总数量) // /// // public decimal AllPackFees { get; set; } // /// // /// 总费用(单价) // /// // public decimal TotalFees { get; set; } //} }