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

namespace Edu.Model.Entity.Bonus
{
    /// <summary>
    /// 员工人头奖励实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Personnel_Bonus
    {
		/// <summary>
		/// 主键编号
		/// </summary>
		public int Id { get; set; }

		/// <summary>
		/// 期数编号
		/// </summary>
		public int PeriodId { get; set; }

		/// <summary>
		/// 关联方案编号
		/// </summary>
		public int PlanId { get; set; }

		/// <summary>
		/// 类型(1-市场人员，2-课程顾问)
		/// </summary>
		public int PlanType { get; set; }

		/// <summary>
		/// 年份
		/// </summary>
		public int YearNum { get; set; }

		/// <summary>
		/// 月份编号
		/// </summary>
		public int MonthNum { get; set; }

		/// <summary>
		/// 员工编号
		/// </summary>
		public int EmployeeId { get; set; }

		/// <summary>
		/// 当月订单人数
		/// </summary>
		public int CurGuestNum { get; set; }

		/// <summary>
		/// 当月奖励金额
		/// </summary>
		public decimal CurRewardMoney { get; set; }

		/// <summary>
		/// 当月订单金额
		/// </summary>
		public decimal CurOrderMoney { get; set; }


		/// <summary>
		/// 待抵扣金额
		/// </summary>
		public decimal DeductionMoney { get; set; }


		/// <summary>
		/// 已完成抵扣金额
		/// </summary>
		public decimal FinishDeductionMoney { get; set; }

		/// <summary>
		/// 创建人
		/// </summary>
		public int CreateBy { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateTime { get; set; }

		/// <summary>
		/// 修改人
		/// </summary>
		public int UpdateBy { get; set; }

		/// <summary>
		/// 修改时间
		/// </summary>
		public DateTime UpdateTime { get; set; }

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

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

		/// <summary>
		/// 是否达成本月目标(1-是)
		/// </summary>
		public int IsReach { get; set; }

		/// <summary>
		/// 开单奖金
		/// </summary>
		public decimal OpenBonus { get; set; }

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

		/// <summary>
		/// 以前月份的冲抵金额
		/// </summary>
		public decimal BeforeMoney { get; set; }

		/// <summary>
		/// 当月人头奖励配置数据Json格式
		/// </summary>
		public string HisBonusData { get; set; }

		/// <summary>
		/// 线索条数
		/// </summary>
		public int ClueNum { get; set; }

		/// <summary>
		/// 是否发放人头奖励[1-已发放,0-待发放]
		/// </summary>
		public int IsIssue { get; set; }
	}
}
