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

namespace XYY.Service.Standard.Finance.Charging.CustomerOrderFee
{
    public class Finance_Order_Charges : BaseEntity
    {

        public decimal Length
        {
            get; set;
        }

        public decimal Width
        {
            get; set;
        }

        public decimal Height
        {
            get; set;
        }

        /// <summary>
        /// 计费单号
        /// </summary>
        public string AccountingNo
        {
            get; set;
        }

        /// <summary>
        /// 系统单号
        /// </summary>
        public string SystemNo
        {
            get; set;
        }

        /// <summary>
        /// 交易时间
        /// </summary>
        public DateTime TransactionTime
        {
            get; set;
        }

        /// <summary>
        /// 运费
        /// </summary>
        public decimal ShippingFee
        {
            get; set;
        }

        /// <summary>
        /// 所属客户
        /// </summary>
        public int CustomerId
        {
            get; set;
        }

        /// <summary>
        /// 运单号
        /// </summary>
        public string TrackingNumber
        {
            get; set;
        }

        /// <summary>
        /// 末端产品
        /// </summary>
        public int ChannelId
        {
            get; set;
        }

        /// <summary>
        /// 下单产品
        /// </summary>
        public int OrderCreateChannelId
        {
            get; set;
        }

        /// <summary>
        /// 计费金额
        /// </summary>
        public decimal EUTariff
        {
            get; set;
        }

        /// <summary>
        /// 计费汇率
        /// </summary>
        public decimal EUTariffRate
        {
            get; set;
        }

        /// <summary>
        /// 申报币种
        /// </summary>
        public decimal GoodsDeclaredVal
        {
            get; set;
        }

        /// <summary>
        /// 附加费
        /// </summary>
        public decimal AttachFee
        {
            get; set;
        }

        /// <summary>
        /// 计费重量
        /// </summary>
        public decimal Weight
        {
            get; set;
        }

        /// <summary>
        /// 国家代码
        /// </summary>
        public string CountryCode
        {
            get; set;
        }

        /// <summary>
        /// 红冲
        /// </summary>
        public bool Offset
        {
            get; set;
        }

        /// <summary>
        /// 费用描述
        /// </summary>
        public string FeeDescription
        {
            get; set;
        }

        /// <summary>
        /// 支出或收入
        /// </summary>
        public string IncomeOrESxpense
        {
            get; set;
        }

        /// <summary>
        /// 是否包含IOSS
        /// </summary>
        public bool HasIOSS
        {
            get; set;
        }

        /// <summary>
        /// 邮编
        /// </summary>
        public string ZipCode
        {
            get; set;
        }

        /// <summary>
        /// 结算完成
        /// </summary>
        public bool SettlementCompleted
        {
            get; set;
        }
        /// <summary>
        /// 扣费对象
        /// </summary>
        public ChargeTarget? ChargeTarget { get; set; }
        /// <summary>
        /// 利润
        /// </summary>
        public decimal? Profit { get; set; }
    }
}
