using System;
using System.Collections.Generic;
using System.Text;
using XYY.Data.Model.Standard.Tracking;

namespace XYY.TaskTrack.Standard.TaskModel
{
    public class ErroJobLog
    {
        public string Request
        {
            get; set;
        }

        public string Target
        {
            get; set;
        }

        public bool IsExecute
        {
            get; set;
        }

        public string ActionUrl
        {
            get; set;
        }

        public DateTime CreateTime
        {
            get; set;
        }
    }

    public class Frist_Log
    {
        public List<Logistics_TraceGroup> Groups
        {
            get; set;
        }
    }

    public class Job_Customer_FristLog
    {

        public int Id
        {
            get; set;
        }

        public List<Job_LadingBillLogisticsItem> Jobs
        {
            get; set;
        }
    }

    public class Job_LadingBillLogistics
    {
        public int Id
        {
            get; set;
        }

        public List<Job_LadingBillLogisticsItem> Jobs
        {
            get; set;
        }
    }

    public class Job_LadingBillLogisticsItem
    {
        public Job_LadingBillLogisticsItem() { updatedNode = new List<string>(); }
        public string LadingBillNumber
        {
            get; set;
        }

        /// <summary>
        /// 交航时间
        /// </summary>
        public DateTime? DeliveryTime
        {
            get;set;
        }



        /// <summary>
        /// 离开(离港)时间
        /// </summary>
        public DateTime? DepartTime
        {
            get; set;
        }

        /// <summary>
        /// 到达(到港)时间
        /// </summary>
        public DateTime? ArrivalTime
        {
            get; set;
        }

        /// <summary>
        /// 清关时间
        /// </summary>
        public DateTime? ClearanceTime
        {
            get; set;
        }



        public int Id
        {
            get; set;
        }
        /// <summary>
        /// 提交清关时间
        /// </summary>
        public DateTime? SubmitClearanceTime { get; set; }
        /// <summary>
        /// 国内报关时间
        /// </summary>
        public DateTime? CustomsClearanceTime { get; set; }

        /// <summary>
        /// 交航时间
        /// </summary>
        public DateTime? TrafficTime { get; set; }
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 出库时间
        /// </summary>
        public DateTime? LeaveWarehouseTime { get; set; }
        public List<string> updatedNode { get; set; }

    }
    /// <summary>
    /// 头程补充入参
    /// </summary>
    public class TrackSupplementRequest
    {
        /// <summary>
        /// 运单号
        /// </summary>
        public string trackingNumber { get; set; }
        /// <summary>
        /// 提单号
        /// </summary>
        public string LadingBillNumber { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime trajectoryTime { get; set; }
        /// <summary>
        /// 轨迹内容
        /// </summary>
        public string StatusString { get; set; }

        public string Loaction { get; set; }
    }
}
