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

namespace Edu.Model.Entity.Course
{
    /// <summary>
    /// 教务奖励概率实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Teaching_Rewards_Rate
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 类型  1社会-奖金   2社会-课时费   3学生-奖金  4学生-课时费
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 概率类型  1满班率   2平均上课率/续班率
        /// </summary>
        public int RateType { get; set; }

        /// <summary>
        /// 起始值(最小率)
        /// </summary>
        public decimal StartValue { get; set; }

        /// <summary>
        /// 结束值(最大率)
        /// </summary>
        public decimal EndValue { get; set; }

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

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

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

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