using System;
using System.Collections.Generic;
using System.Text;
using Edu.Common.Enum.Course;

namespace Edu.Model.Entity.Course
{
    public class RB_Point_Order
    {
        public int ID { get; set; }

        /// <summary>
        /// 订单号
        /// </summary>        
        public string OrderNo
        {
            get;
            set;
        }
        /// <summary>
        /// 商户单号
        /// </summary>        
        public string MerchantsNo
        {
            get;
            set;
        }


        /// <summary>
        /// 充值前点数
        /// </summary>
        public int OldPonitNum { get; set; }


        /// <summary>
        /// 充值点数
        /// </summary>
        public int PonitNum { get; set; }


        /// <summary>
        /// 赠送点数
        /// </summary>
        public int GivePoint { get; set; }

        /// <summary>
        /// 实收金额
        /// </summary>        
        public decimal? Income
        {
            get;
            set;
        }


        /// <summary>
        /// 支付类型 枚举  1微信  2支付宝   3银行卡 
        /// </summary>        
        public OrderPayTypeEnum? PayWay
        {
            get;
            set;
        }
        /// <summary>
        /// 支付方式   枚举
        /// </summary>        
        public OrderPaymentTypeEnum? PaymentWay
        {
            get;
            set;
        }

        /// <summary>
        /// 用户id
        /// </summary>        
        public int? StudentId
        {
            get;
            set;
        }

        /// <summary>
        /// 订单状态  1-代付款，2-已付款
        /// </summary>        
        public int OrderStatus
        {
            get;
            set;
        }

        /// <summary>
        /// 支付时间
        /// </summary>
        public DateTime? PaymentTime { get; set; }



        /// <summary>
        /// 删除状态
        /// </summary>
        public int? State
        {
            get;
            set;
        }
        /// <summary>
        /// 集团编号
        /// </summary>
        public int Group_Id { get; set; }

        /// <summary>
        /// 学校编号
        /// </summary>
        public int School_Id { get; set; }
        /// <summary>
        /// CreateDate
        /// </summary>        
        public DateTime? CreateDate
        {
            get;
            set;
        }
    }
}
