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_Commission_Rule
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 班级类型  
        /// </summary>
        public int ClassType { get; set; }

        /// <summary>
        /// 报名类型  1初次   2续班
        /// </summary>
        public int EnrollType { get; set; }

        /// <summary>
        /// 销售提成比例
        /// </summary>
        public decimal SalesRate { get; set; }

        /// <summary>
        /// 老师比例
        /// </summary>
        public decimal TeacherRate { get; set; }

        /// <summary>
        /// 助教比例
        /// </summary>
        public decimal AssistantRate { 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 FirstRate { get; set; }

    }
}
