步步为盈
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
2.1 KiB

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
namespace BBWY.Client.Models.SealBox
{
public class SealBoxConfigureModel : NotifyObject
{
/// <summary>
/// skuid
/// </summary>
public string SkuId { get; set; }
/// <summary>
/// 任务id
/// </summary>
public long TaskId { get; set; }
/// <summary>
/// sku任务数
/// </summary>
public int SkuCount { get; set; }
/// <summary>
/// sku图片
/// </summary>
public string Logo { get; set; }
private int splitCount;
/// <summary>
/// 份数
/// </summary>
public int SplitCount { get=>splitCount; set {Set(ref splitCount,value); } }
private ObservableCollection<SealBoxConfigureWareHourseModel> wareHourseDatas = new ObservableCollection<SealBoxConfigureWareHourseModel>();
/// <summary>
/// 装箱配置列表
/// </summary>
public ObservableCollection<SealBoxConfigureWareHourseModel> WareHourseDatas { get => wareHourseDatas; set { Set(ref wareHourseDatas, value); } }
}
/// <summary>
/// 封箱配置 装箱配置
/// </summary>
public class SealBoxConfigureWareHourseModel : NotifyObject
{
private int index;
public int Index { get => index; set { Set(ref index, value); } }
private int count;
public int Count { get=>count; set {Set(ref count,value); } }
private string wareId;
public string WareId { get => wareId; set { Set(ref wareId, value); } }
private string wareName;
public string WareName { get => wareName; set { Set(ref wareName, value); } }
private WareType? wareType;
public WareType? WareType { get => wareType; set { Set(ref wareType, value); } }
/// <summary>
///待封箱 = 0, 待落仓 = 1, 待完结 = 2
/// </summary>
public PositionState? WareState { get; set; }
/// <summary>
///封箱id
/// </summary>
public long? SealBoxId { get; set; }
}
}