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

        /// <summary>
        /// 教师id
        /// </summary>
        public int TeacherId { get; set; }

        /// <summary>
        /// 班级Id
        /// </summary>
        public int ClassId { get; set; }

        /// <summary>
        /// 原带班人数
        /// </summary>
        public int BaseStuNum { get; set; }

        /// <summary>
        /// 原课时费
        /// </summary>
        public decimal BaseHourFee { get; set; }

        /// <summary>
        /// 增加带班人数
        /// </summary>
        public int AddStuNum { get; set; }

        /// <summary>
        /// 增加课时费
        /// </summary>
        public decimal AddHourFee { get; set; }

        /// <summary>
        /// 班级人数
        /// </summary>
        public int ClassPeopelNum { get; set; }

        /// <summary>
        /// 结课时间
        /// </summary>
        public DateTime EndDate { get; set; }

        /// <summary>
        /// 满班率
        /// </summary>
        public decimal FullClassRate { get; set; }

        /// <summary>
        /// 平均上课率
        /// </summary>
        public decimal AvgCheckRate { get; set; }

        /// <summary>
        /// 累计课时
        /// </summary>
        public int ClassHours { get; set; }

        /// <summary>
        /// 课时奖金
        /// </summary>
        public decimal UnitPrice { get; set; }

        /// <summary>
        /// 累计绩效金额
        /// </summary>
        public decimal Money { get; set; }

        /// <summary>
        /// 财务单据id
        /// </summary>
        public int FinanceId { get; set; }

        /// <summary>
        /// 枚举 绩效状态  1待确认  2已确认  3不发放绩效 
        /// </summary>
        public PerfStateEnum PerfState { get; set; }

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

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

        /// <summary>
        /// 校区id
        /// </summary>
        public int School_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 string BonusJson { get; set; }

        /// <summary>
        /// 课时费对照
        /// </summary>
        public string ClassFeeJson { get; set; }

        /// <summary>
        /// 确认时间
        /// </summary>
        public DateTime? ConfirmDate { get; set; }
    }
}
