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

namespace Edu.Model.Entity.Grade
{
    /// <summary>
    /// 班级学员签到实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Class_Check
	{
		/// <summary>
		/// 主键编号
		/// </summary>
		public int ClassCheckId { get; set; }

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


		/// <summary>
		/// 上课计划时间id
		/// </summary>
		public int ClassTimeId { get; set; }

		/// <summary>
		/// 上课日期
		/// </summary>
		public DateTime ClassDate { get; set; }

		/// <summary>
		/// 状态
		/// </summary>
		public DateStateEnum Status { get; set; }
		/// <summary>
		/// 教室编号
		/// </summary>
		public int ClassRoomId { get; set; }

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

		/// <summary>
		/// 所属校区
		/// </summary>
		public int School_Id { get; set; }

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


		/// <summary>
		/// 学员id
		/// </summary>
		public int OrderGuestId { get; set; }


		/// <summary>
		/// 0-正常，1-缺席,2-请假 签到状态
		/// </summary>
		public int CheckStatus { get; set; }


		/// <summary>
		/// 学习分钟数（单位：分钟）
		/// </summary>
		public int StudyNum { get; set; }

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

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

		/// <summary>
		/// 当前抵扣课时
		/// </summary>
		public decimal CurrentDeductionHours { get; set; }

		/// <summary>
		/// 是否连续缺课12课时
		/// </summary>
		public int IsAbsentHours { get; set; }

		/// <summary>
		/// 补课状态(1-正常，2-可补课，3-不可补课, 4-未处理)
		/// </summary>
		public int MakeUpStatus { get; set; }
	}
}
