using Edu.Model.Entity.Customer;
using System;
using System.Collections.Generic;
using System.Text;

namespace Edu.Model.ViewModel.Customer
{
    /// <summary>
    /// 客户完成任务和订单关联扩展实体
    /// </summary>
    public class RB_Customer_Finishdetails_Extend : RB_Customer_Finishdetails
    {
        /// <summary>
        /// 学员数量
        /// </summary>
        public int GuestNum { get; set; }

        /// <summary>
        /// 兑换人数
        /// </summary>
        public int ExchangeNum { get; set; }

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

        /// <summary>
        /// 兑换金额
        /// </summary>
        public decimal ExchangeMoney { get; set; }

        /// <summary>
        /// 完成类型
        /// </summary>
        public string FinishTypeStr
        {
            get
            {
                string str = "";
                if (this.FinishType == 1)
                {
                    str = "报名人数";
                }
                else if (this.FinishType == 2)
                {
                    str = "完成订单金额";
                }
                return str;
            }
        }
    }
}