using BBWY.Client.Models.SealBox;
using System;
using System.Collections.Generic;
using System.Text;

namespace BBWY.Client.Models.FallWare
{
    public class FallWareConfiguredModel : NotifyObject
    {
        private bool isHideSkuList = true;//默认隐藏
        public bool IsHideSkuList { get => isHideSkuList; set { Set(ref isHideSkuList, value); } }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string ProductTitle { get; set; }
        /// <summary>
        /// 采购单号
        /// </summary>
        public string PurchaseOrder { get; set; }
        /// <summary>
        /// 预约单号
        /// </summary>
        public string PrewOrder { get; set; }

        /// <summary>
        /// 运单号
        /// </summary>
        public string WaybillNo { get; set; }

        /// <summary>
        /// 仓库类型
        /// </summary>
        public WareType? WareType { get; set; }
        /// <summary>
        /// 封箱id
        /// </summary>
        public long SealBoxId { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WareName { get; set; }

        /// <summary>
        /// 箱子数
        /// </summary>
        public int? BoxCount { get; set; }

        /// <summary>
        /// 箱子总数量
        /// </summary>
        public int SealBoxTotalCount { get; set; }

        /// <summary>
        /// 提交采购单过期时间
        /// </summary>
        public DateTime? SetPurchaseOrderOverTime { get; set; }
        /// <summary>
        /// 仓库任务列表
        /// </summary>
        public IList<FallWareConfigureTask> SealBoxConfigureTasks { get; set; }
        private string setPurchaseOrderOverTimeMarkMsg;
        public string SetPurchaseOrderOverTimeMarkMsg { get => setPurchaseOrderOverTimeMarkMsg; set { Set(ref setPurchaseOrderOverTimeMarkMsg, value); } }


        private string fallWareRemainTime;
        public string FallWareRemainTime { get => fallWareRemainTime; set { Set(ref fallWareRemainTime, value); } }

        private bool isFallWareOverTime;
        public bool IsFallWareOverTime { get => isFallWareOverTime; set { Set(ref isFallWareOverTime, value); } }

        /// <summary>
        /// 预约时间
        /// </summary>
        public DateTime? TransportOverTime { get; set; }
    }
    public class FallWareConfigureTask : SealBoxConfigureTask
    {

    }
}