using System;
using System.Collections.Generic;
using System.Text;

namespace Bailun.DC.Models
{
    public class dc_base_ebay_transaction
    {
        /// <summary>
        /// 
        /// </summary>
        public double id { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string transaction_id { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string payout_id { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string sales_record_reference { get; set; }


        /// <summary>
        /// 买家名称
        /// </summary>
        public string username { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string transaction_type { get; set; }


        /// <summary>
        /// 费用金额
        /// </summary>
        public decimal value { get; set; }

        /// <summary>
        /// 费用rmb金额
        /// </summary>
        public decimal value_rmb { get; set; }

        /// <summary>
        /// 费用金额对应货币单位
        /// </summary>
        public string currency { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string booking_entry { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public DateTime transaction_date { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string transaction_status { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string payments_entity { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string item_id { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string references_json { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string transaction_memo { get; set; }


        /// <summary>
        /// 费用类型
        /// </summary>
        public string fee_type { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string order_id { get; set; }


        /// <summary>
        /// YYYY-MM-DD
        /// </summary>
        public DateTime? transaction_date_short { get; set; }


        /// <summary>
        /// pams账号ID
        /// </summary>
        public int account_id { get; set; }


        /// <summary>
        /// 数据中心创建时间
        /// </summary>
        public DateTime bj_create { get; set; }


        /// <summary>
        /// 北京时间
        /// </summary>
        public DateTime transaction_date_bj { get; set; }


        /// <summary>
        /// 转人民币汇率,根据bj_date取值
        /// </summary>
        public decimal exchange_rate { get; set; }


        /// <summary>
        /// 转美元汇率
        /// </summary>
        public decimal exchange_rate_usd { get; set; }

    }
}
