using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XYY.Core.Standard;

namespace XYY.Data.Model.Standard.Tracking
{
    public class Logistics_Trace : BaseEntity
    {
        public int SendFialEmail
        {
            get; set;
        }

        public string StrStatus
        {
            get; set;
        }
        public string LastMessage
        {
            get; set;
        }
        public string TrackingNumber
        {
            get; set;
        }

        public int OrderId
        {
            get; set;
        }

        public string Status
        {
            get; set;
        }

        /// <summary>
        /// 状态更新时间
        /// </summary>
        public DateTime? TargetTime
        {
            get; set;
        }

        /// <summary>
        /// 上网时间
        /// </summary>
        public DateTime? OnlineTime
        {
            get; set;
        }

        /// <summary>
        /// 预上网时间
        /// </summary>
        public DateTime? PreInternetAccessTime
        {
            get; set;
        }

        /// <summary>
        /// 异常时间
        /// </summary>
        public DateTime? FailTime
        {
            get; set;
        }

        /// <summary>
        /// 外出派送时间
        /// </summary>
        public DateTime? Delivered
        {
            get; set;
        }

        public string FailMessage
        {
            get; set;
        }

        public string FailCNMessage
        {
            get; set;
        }


        public int PreInternetAccessDay
        {
            get; set;
        }

        public int? SignDay
        {
            get; set;
        }

        /// <summary>
        /// 签收时间
        /// </summary>
        public DateTime? SignTime
        {
            get; set;
        }

        /// <summary>
        /// 发货时间(称重时间)
        /// </summary>
        public DateTime? DeliveryTime
        {
            get; set;
        }

        public int? OnlineDay
        {
            get; set;
        }

        public string Auth
        {
            get; set;
        }

        /// <summary>
        /// 上传到轨迹平台的时间
        /// </summary>
        public DateTime PostTime
        {
            get; set;
        }

        /// <summary>
        /// 最后拉取时间
        /// </summary>
        public DateTime? LastGetTime
        {
            get; set;
        }

        public int ChannelId
        {
            get; set;
        }

        /// <summary>
        /// 预报时间
        /// </summary>
        public DateTime? PredictionTime
        {
            get; set;
        }
        public bool IsUpdate { get; set; }
    }
}

