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

namespace XYY.Model.Standard.Order
{
    public class Order_DraftOrder : BaseEntity
    {
        /// <summary>
        /// 是否为一票多件订单
        /// </summary>
        public bool MoreThanOneTicket
        {
            get; set;
        }

        public string IOSS
        {
            get; set;
        }
        public string BatchId { get; set; }
        public int? OrderId { get; set; }
        public string TransferNumber { get; set; }


        public DraftOrderStatus Status { get; set; }

        public string House
        {
            get; set;
        }

        public int CreateChannelId
        {
            get; set;
        }


        public int CustomerId { get; set; }
        /// <summary>
        /// 渠道编号
        /// </summary>
        public int ChannelId { get; set; }


        public string ChannelCode
        {
            get; set;
        }


        /// <summary>
        /// 订单号
        /// </summary>
        public string ReferenceNo { get; set; }
        /// <summary>
        /// 克重
        /// </summary>
        public int Weight { get; set; }
        /// <summary>
        /// 是否为COD订单
        /// </summary>
        public bool IsCod { get; set; }
        /// <summary>
        /// cod收款金额
        /// </summary>
        public decimal CodFee { get; set; }
        /// <summary>
        /// COD收款币种
        /// </summary>
        public string CodCurrency { get; set; }
        /// <summary>
        /// 订单来源(默认为网站下单)
        /// </summary>
        public int SourceType { get; set; } = 1;
        public string FullName { get; set; }
        public string Company { get; set; }
        public string CountryCode { get; set; }
        public string Email { get; set; }
        public string ZipCode { get; set; }
        public string State { get; set; }
        public string City { get; set; }
        public string Street { get; set; }
        public string Phone { get; set; }
        public string TaxNo
        {
            get; set;
        }

        /// <summary>
        /// 是否电话通知
        /// </summary>
        public bool IsTelephone
        {
            get; set;
        }
        /// <summary>
        /// 是否电话通知
        /// </summary>
        public bool IsSMS
        {
            get; set;
        }

        public bool IsContainsElectricGoosd
        {
            get; set;
        }

        public bool IsContainsSpecialGoods
        {
            get; set;
        }

        public string DestinationPortCode
        {
            get; set;
        }


        public string TrackingNumber { get; set; }

        /// <summary>
        /// 库房ID
        /// </summary>
        public int RoomId
        {
            get; set;
        }
        /// <summary>
        /// 订单来源
        /// </summary>
        public string Origin { get; set; }

        /// <summary>
        /// 所属地区
        /// </summary>
        public string Region
        {
            get; set;
        }

        /// <summary>
        /// 所属区域
        /// </summary>
        public string Area
        {
            get; set;
        }
        public string ErrorMessage { get; set; }
        public bool IsOnline
        {
            get; set;
        }
    }
}
