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

namespace Bailun.DC.Models
{
    /// <summary>
    /// ebay收入报告明细
    /// </summary>
    public class dc_base_income_ebay_paypal
    {
        /// <summary>
		/// 
        /// </summary>		
        public int id { get; set; }

        /// <summary>
        /// 公司id
        /// </summary>
        public int company_id { get; set; }

        /// <summary>
        /// paypal帐号名称
        /// </summary>		
        public string account_name { get; set; }

        /// <summary>
        /// 报告时间
        /// </summary>		
        public DateTime record_time { get; set; }

        /// <summary>
        /// 时区
        /// </summary>		
        public string time_zone { get; set; }

        /// <summary>
        /// 名称
        /// </summary>		
        public string name { get; set; }

        /// <summary>
        /// 类型
        /// </summary>		
        public string type { get; set; }

        /// <summary>
        /// 状态
        /// </summary>		
        public string status { get; set; }

        /// <summary>
        /// 币种
        /// </summary>		
        public string currency { get; set; }

        /// <summary>
        /// 总额
        /// </summary>		
        public decimal gross { get; set; }

        /// <summary>
        /// 费用
        /// </summary>		
        public decimal fee { get; set; }

        /// <summary>
        /// 净额
        /// </summary>		
        public decimal net { get; set; }

        /// <summary>
        /// 发件人邮箱
        /// </summary>		
        public string from_email { get; set; }

        /// <summary>
        /// 收件人邮箱
        /// </summary>		
        public string to_email { get; set; }

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

        /// <summary>
        /// 收货地址
        /// </summary>		
        public string shipping_address { get; set; }

        /// <summary>
        /// 地址状态
        /// </summary>		
        public string address_status { get; set; }

        /// <summary>
        /// 物品名称
        /// </summary>		
        public string item_title { get; set; }

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

        /// <summary>
        /// 运费和手续费金额
        /// </summary>		
        public decimal shipping_handling_amount { get; set; }

        /// <summary>
        /// 保险金额
        /// </summary>		
        public decimal insurance_amount { get; set; }

        /// <summary>
        /// 营业税
        /// </summary>		
        public decimal sales_tax { get; set; }

        /// <summary>
        /// 选项名称1
        /// </summary>		
        public string option_name1 { get; set; }

        /// <summary>
        /// 选项值1
        /// </summary>		
        public string option_value1 { get; set; }

        /// <summary>
        /// 选项名称2
        /// </summary>		
        public string option_name2 { get; set; }

        /// <summary>
        /// 选项值2
        /// </summary>		
        public string option_value2 { get; set; }

        /// <summary>
        /// 参考交易号
        /// </summary>		
        public string reference_txn_id { get; set; }

        /// <summary>
        /// 账单号
        /// </summary>		
        public string invoice_number { get; set; }

        /// <summary>
        /// 自定义号码
        /// </summary>		
        public string custom_number { get; set; }

        /// <summary>
        /// 数量
        /// </summary>		
        public int quantity { get; set; }

        /// <summary>
        /// 收据号
        /// </summary>		
        public string receipt_id { get; set; }

        /// <summary>
        /// 余额
        /// </summary>		
        public decimal balance { get; set; }

        /// <summary>
        /// 地址第一行
        /// </summary>		
        public string address_line1 { get; set; }

        /// <summary>
        /// 地址第2行/区/临近地区
        /// </summary>		
        public string address_line2 { get; set; }

        /// <summary>
        /// 城镇/城市
        /// </summary>		
        public string town { get; set; }

        /// <summary>
        /// 省/市/自治区/直辖市/特别行政区
        /// </summary>		
        public string province { get; set; }

        /// <summary>
        /// 邮政编码
        /// </summary>		
        public string postal_code { get; set; }

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

        /// <summary>
        /// 联系电话号码
        /// </summary>		
        public string contact_phone_number { get; set; }

        /// <summary>
        /// 主题
        /// </summary>		
        public string subject { get; set; }

        /// <summary>
        /// 备注
        /// </summary>		
        public string note { get; set; }

        /// <summary>
        /// 国家/地区代码
        /// </summary>		
        public string country_code { get; set; }

        /// <summary>
        /// 引起余额变动
        /// </summary>		
        public string balance_impact { get; set; }

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

        /// <summary>
        /// 
        /// </summary>		
        public int createuserid { get; set; }

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

    }
}
