using System;
using System.Collections.Generic;
using System.Text;
using XYY.Core.Standard;

namespace XYY.Model.Standard.First
{
    public class Logistics_LadingBill : BaseEntity
    {

        /// <summary>
        /// 提单号
        /// </summary>
        public string LadingBillNumber { get; set; }

        /// <summary>
        /// 服务商
        /// </summary>
        public string ServiceName { get; set; }


        /// <summary>
        /// 国家/地区
        /// </summary>
        public string Destination { get; set; }

        /// <summary>
        /// 始发地口岸
        /// </summary>
        public string OriginPort { get; set; }
        /// <summary>
        /// 实际派送渠道ID
        /// </summary>
        public int DeliveryChannelId { get; set; }
        /// <summary>
        /// 下单渠道ID
        /// </summary>
        public int PublicChennelId { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public LadingBillStatus Status { get; set; }

        public DateTime? CustomsClearanceTime
        {
            get; set;
        }

        /// <summary>
        /// 交航时间
        /// </summary>
        public DateTime? TrafficTime { get; set; }
        /// <summary>
        /// 离开(离港)时间
        /// </summary>
        public DateTime? DepartTime { get; set; }
        /// <summary>
        /// 离港备注
        /// </summary>
        public string DepartRemark { get; set; }
        /// <summary>
        /// 到达(到港)时间
        /// </summary>
        public DateTime? ArrivalTime { get; set; }
        /// <summary>
        /// 到港备注
        /// </summary>
        public string ArrivalRemark { get; set; }
        /// <summary>
        /// 清关时间
        /// </summary>
        public DateTime? ClearanceTime { get; set; }
        /// <summary>
        /// 清关备注
        /// </summary>
        public string ClearanceRemark { get; set; }
        /// <summary>
        /// 中订单数量
        /// </summary>
        public int TotalOrderCount { get; set; }
        /// <summary>
        /// 总重量
        /// </summary>
        public int TotalWeight { get; set; }
        /// <summary>
        /// 上网量
        /// </summary>
        public int OnlineCount { get; set; }

        /// <summary>
        /// 上网率
        /// </summary>
        public decimal OnlineRate { get; set; }

        /// <summary>
        /// 平均上网天数
        /// </summary>
        public decimal AvgOnlineDays { get; set; }

        /// <summary>
        /// 签收量
        /// </summary>
        public int SignCount { get; set; }

        /// <summary>
        /// 签收率
        /// </summary>
        public decimal SignRate { get; set; }

        /// <summary>
        /// 平均签收天数
        /// </summary>
        public decimal AvgSignDays { get; set; }

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

        public bool IsDeleted { get; set; }
        public DateTime? LeaveWarehouseTime { get; set; }
    }
}
