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

namespace Edu.Model.ViewModel.Bonus
{
    /// <summary>
    /// 员工人头奖励扩展实体类
    /// </summary>
    public class RB_Personnel_Bonus_Extend : RB_Personnel_Bonus
    {
        /// <summary>
        /// 人头奖励详情列表
        /// </summary>
        public List<RB_Personnel_BonusDetail_Extend> DetailList { get; set; }

        /// <summary>
        /// 抵扣列表
        /// </summary>
        public List<RB_Personnel_Deduction_Extend> DeductionList { get; set; }

        /// <summary>
        /// 变更日志列表
        /// </summary>
        public List<RB_Personnel_BonusLog_Extend> BonusLogList { get; set; }
        
        /// <summary>
        /// 是否查询未平账
        /// </summary>
        public int IsNoBalance { get; set; }

        /// <summary>
        /// 查询员工编号
        /// </summary>
        public string QEmployeeIds { get; set; }

        /// <summary>
        /// 期数编号【查询使用】
        /// </summary>
        public string QPeriodIds { get; set; }

        /// <summary>
        /// 员工姓名
        /// </summary>
        public string EmployeeName { get; set; }
    }

    /// <summary>
    /// 当月人头奖励配置数据
    /// </summary>
    public class CurrentMonthBonusData 
    {
        /// <summary>
        /// 开单奖金
        /// </summary>
        public decimal OpenBonus { get; set; }

        /// <summary>
        /// 每5条线索奖金
        /// </summary>
        public decimal ClueNumSalary { get; set; }

        /// <summary>
        /// 当月目标金额
        /// </summary>
        public decimal MonthGoalMoney { get; set; }

        /// <summary>
        /// 人头梯度详情
        /// </summary>
        public List<CurrentMonthBonusDataDetails> DetailList { get; set; }
    }

    /// <summary>
    /// 当月人头奖励梯度配置数据
    /// </summary>
    public class CurrentMonthBonusDataDetails
    {
        /// <summary>
		/// 开始人数
		/// </summary>
		public decimal StartNum { get; set; }

        /// <summary>
        /// 结束人数
        /// </summary>
        public decimal EndNum { get; set; }

        /// <summary>
        /// 奖励金额
        /// </summary>
        public decimal Money { get; set; }
    }
}
