using Edu.Common.Enum;
using Edu.Common.Enum.Course;
using System;
using VT.FW.DB;

namespace Edu.Model.Entity.Sell
{
    /// <summary>
    /// 市场顾问提成规则实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
	public class RB_Sell_Achievements_Rule
	{
		/// <summary>
		/// Id
		/// </summary>
		public int Id { get; set; }

		/// <summary>
		/// 方案名称
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// 类型  1市场、2顾问、3教师
		/// </summary>
		public int Type { get; set; }

		/// <summary>
		/// 课程类型   1包含   2不包含
		/// </summary>
		public int CourseType { get; set; }

		/// <summary>
		/// 相关课程Ids  英文逗号分隔
		/// </summary>
		public string CourseIds { get; set; }

		/// <summary>
		/// 提成人员
		/// </summary>
		public string EmpIds { get; set; }

		/// <summary>
		/// 子人员   用于部门的情况
		/// </summary>
		public string ChildEmpIds { get; set; }

		/// <summary>
		/// 删除状态
		/// </summary>
		public int Status { get; set; }

		/// <summary>
		/// 集团编号
		/// </summary>
		public int Group_Id { 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 decimal CourseRate { get; set; }

		/// <summary>
		/// 首次发放比例
		/// </summary>
		public decimal FirstRate { get; set; }

		/// <summary>
		/// 业绩提成比例  json格式
		/// </summary>
		public string Content { get; set; }

		/// <summary>
		/// 使用的校区
		/// </summary>
		public string SchoolIds { get; set; }

	}
}
