using System;
using System.Collections.Generic;
using System.Text;

namespace AutoTurnOver.Models.ApiDto
{
    public class api_temp_schedule_response_dto
    {
        public bool isSuccess { get; set; }
        public string message { get; set; }
        public data_dto data { get; set; }
        public class data_dto
        {
            public List<item_dto> items { get; set; }
        }
        public class item_dto
        {
            public string code { get; set; }

            /// <summary>
            /// 运输方式
            /// </summary>
            public string transportType { get; set; }
            public string purchaseCode { get; set; }
            public string sourceWareName { get; set; }
            public string sourceWareNo { get; set; }
            public string targetWareName { get; set; }
            public string targetWareNo { get; set; }
            public bool? isLockedPosition { get; set; }
            public string isLockedPocreaterNamesition { get; set; }
            public DateTime createTime { get; set; }
            public string createrName { get; set; }

            /// <summary>
            /// 是否临时数据
            /// </summary>
            public bool isTempData { get; set; }

            /// <summary>
            /// 是否合并单
            /// </summary>
            public bool isMerge { get; set; }

            /// <summary>
            /// 是否删除
            /// </summary>
            public bool isDeleted { get; set; }

            /// <summary>
            /// 是否异常
            /// </summary>
            public bool? IsException { get; set; }

            /// <summary>
            /// 是否aims
            /// </summary>
            public bool isAims { get; set; }
            public DateTime timeStamp { get; set; }
            public string remarks { get; set; }

            /// <summary>
            /// 创建状态
            /// </summary>
            public int createState { get; set; }

            /// <summary>
            /// 待发货数量
            /// </summary>
            public int tempDeliveryCount { get; set; }

            public List<sku_dto> allotScheduleProducts { get; set; }
            public class sku_dto
            {
                public string sku { get; set; }
                public string productName { get; set; }
                public int productNum { get; set; }
                public int tempDeliveryCount { get; set; }


                /// <summary>
                /// 2=作废
                /// </summary>
                public int tempState { get; set; }
            }
        }
       
    }
}
