using System;
using System.Collections.Generic;
using System.Text;
using VT.FW.DB;

namespace Edu.Model.Entity.Finance
{

    /// <summary>
    /// 线上支付记录实体
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Finance_OrderRecord
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int ID { get; set; }
        /// <summary>
        /// 类型  1收款 2退款,3-活动收入，4-活动退款
        /// </summary>        
        public int? Type
        {
            get;
            set;
        }
        /// <summary>
        /// 财务id
        /// </summary>        
        public int FinanceId
        {
            get;
            set;
        }

        /// <summary>
        /// 订单号
        /// </summary>
        public int OrderId { get; set; }



        /// <summary>
        /// 合同单号
        /// </summary>
        public int ContractId { get; set; }
        /// <summary>
        /// CreateDate
        /// </summary>        
        public DateTime? CreateDate
        {
            get;
            set;
        }

        /// <summary>
		/// 集团编号
		/// </summary>
		public int RB_Group_Id { get; set; }

        /// <summary>
        /// 学校编号
        /// </summary>
        public int RB_School_Id { get; set; }

        /// <summary>
        /// 商户订单号
        /// </summary>

        public string OutTradeNo { get; set; }

        /// <summary>
        /// 微信支付订单号
        /// </summary>

        public string TransactionId { get; set; }


        /// <summary>
        /// 商户订单号
        /// </summary>

        public int OrderRecordId { get; set; }

        /// <summary>
        /// 支付总金额
        /// </summary>
        public decimal TotalPrice { get; set; }

        /// <summary>
        /// 手续费
        /// </summary>
        public decimal ServiceFee { get; set; }
    }
}
