using System;
using XYY.Common.Standard.Attributes;
using XYY.Core.Standard;


namespace XYY.Model.Standard.Order
{
    public class Logistics_TrunkLine : BaseEntity
    {
        public string LadingBillNumber { get; set; }
        public string FlightNo { get; set; }
        /// <summary>
        /// 航班预计到达
        /// </summary>
        public DateTime Eta { get; set; }
        /// <summary>
        /// 航班起飞
        /// </summary>
        public DateTime Etd { get; set; }
        public string FromPortCode { get; set; }
        /// <summary>
        /// 中转港，英文逗号隔开
        /// </summary>
        public string TransitPortCode { get; set; }
        public string ToPortCode { get; set; }
        /// <summary>
        /// 交货类型：散货(LOOSE_CARGO)、整板(BUP)
        /// </summary>
        public CargoTypeEnum CargoType { get; set; }
        /// <summary>
        /// 版号
        /// </summary>
        public string UldNo { get; set; }
        /// <summary>
        /// 版型
        /// </summary>
        public string UldType { get; set; }
        public PushStatusEnum DeliveryPushStatus { get; set; }
        public PushStatusEnum ArrivePushStatus { get; set; }
        public string ErrorMessage { get; set; }
        public string ArriveFlightNo { get; set; }
        /// <summary>
        /// 航班实际到达时间
        /// </summary>
        public DateTime? Ata { get; set; }
        /// <summary>
        /// 航班实际起飞时间
        /// </summary>
        public DateTime? Atd { get; set; }
        /// <summary>
        /// 时区
        /// </summary>
        public int TimeZone { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
        public string PdfUrl { get; set; }
        public decimal TotalWeight { get; set; }
        [NoDb]
        public string DeliveryPushStatusStr { get { return DeliveryPushStatus.GetDescription(); } }
        [NoDb]
        public string ArrivePushStatusStr { get { return ArrivePushStatus.GetDescription(); } }
        [NoDb]
        public int? LadingBillWeight { get; set; }
    }
}
