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

namespace XYY.Model.Standard.MpsOrder
{
    public class Order_MpsOrder : BaseEntity
    {
        public string ChannelCode { get; set; }
        public int DraftOrderId { get; set; }
        public int CustomerId { get; set; }
        public string FbaOrderNumber { get; set; }
        public string CustomerOrderNumber { get; set; }
        public string ReceiverName { get; set; }
        public string ReceiverPhone { get; set; }
        public string ReceiverCountry { get; set; }
        public string ReceiverState { get; set; }
        public string ReceiverCity { get; set; }
        public string ReceiverZipCode { get; set; }
        public string ReceiverCompanyName { get; set; }
        public string ReceiverStreet1 { get; set; }
        public string ReceiverEmail { get; set; }
        /// <summary>
        /// 特殊物品标识
        /// </summary>
        public string GoodsNames
        {
            get; set;
        }


        public string SenderName { get; set; }
        public string SenderPhone { get; set; }
        public string SenderCountry { get; set; }
        public string SenderState { get; set; }
        public string SenderCity { get; set; }
        public string SenderZipCode { get; set; }
        public string SenderCompanyName { get; set; }
        public string SenderStreet { get; set; }

        public int BoxQty { get; set; }

        public string WarehouseCode { get; set; }

        public MpsOrderStatus Status { get; set; }
        public int? OrderId { get; set; }
        public string TrackingNumber { get; set; }
        public string TransferNumber { get; set; }

        /// <summary>
        /// 报关方式
        /// </summary>
        public string DeclarationMethod { get; set; }
        public string BatchId { get; set; }
        public string Tags { get; set; }
        public bool Identification { get; set; }

        public bool CustomerSettlement
        {
            get; set;
        }

        public bool BranchOfficeSettlement
        {
            get; set;
        }

        [NoDb]
        public string ChannelName
        {
            get; set;
        }

        [NoDb]
        public int ChannelId
        {
            get; set;
        }

        [NoDb]
        public int Weight
        {
            get; set;
        }

        [NoDb]
        public List<Order_MpsOrderBox> Boxs
        {
            get; set;
        }
        public string ReceiverStreet2 { get; set; }

        public decimal? CostPrice { get; set; }
        public decimal? ChargedWeight { get; set; }

        public bool Magnetic { get; set; }
        public bool Electric { get; set; }
        /// <summary>
        /// 危险品
        /// 原：液体
        /// </summary>
        public bool Liquid { get; set; }
        public string LadingBillNumber { get; set; }
        public string UploadFileUrl { get; set; }
    }
}
