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

namespace Edu.Model.ViewModel.Sell
{
    /// <summary>
    /// 课程顾问、市场达标奖金配置扩展实体类
    /// </summary>
    public class RB_Bonus_PlanExtend : RB_Bonus_Plan
    {
        /// <summary>
        /// 配置详细列表实体类
        /// </summary>
        public List<RB_Bouns_PlanDetail_Extend> DetailList { get; set; }

        /// <summary>
        /// 类型字符串
        /// </summary>
        public string PlanTypeStr
        {
            get
            {

                string str = "";
                if (this.PlanType == 1)
                {
                    str = "市场";
                }
                else if (this.PlanType == 2)
                {
                    str = "课程顾问";
                }
                return str;
            }
        }

        /// <summary>
        /// 适用人员详情列表
        /// </summary>
        public List<SaleManItem> SaleList { get; set; }

        /// <summary>
        /// 适用课程详情
        /// </summary>
        public List<CourseItem> UseCourseList { get; set; }

        /// <summary>
        /// 不适用课程详情列表
        /// </summary>
        public List<CourseItem> NotUseCourseList { get; set; }
    }

    /// <summary>
    /// 适用人员项目配置
    /// </summary>
    public class SaleManItem
    {
        /// <summary>
        ///人员编号
        /// </summary>
        public int SaleId { get; set; }

        /// <summary>
        /// 人员名称
        /// </summary>
        public string SaleManName { get; set; }
    }


    /// <summary>
    /// 课程项目配置
    /// </summary>
    public class CourseItem
    {
        /// <summary>
        /// 课程编号
        /// </summary>
        public int CourseId { get; set; }

        /// <summary>
        /// 课程名称
        /// </summary>
        public string CourseName { get; set; }
    }
}
