using Edu.Common.Enum.Exam;
using System;
using System.Collections.Generic;
using System.Text;
using VT.FW.DB;

namespace Edu.Model.Entity.Exam
{
    /// <summary>
    /// 试卷考试学员实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Examination_Student
    {
        /// <summary>
        /// 考试学员管理主键编号
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 发布考试编号
        /// </summary>
        public int PublishId { get; set; }

        /// <summary>
        /// 试卷编号
        /// </summary>
        public int PaperId { get; set; }

        /// <summary>
        /// 学员编号
        /// </summary>
        public int GuestId { get; set; }

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

        /// <summary>
        /// 订单编号
        /// </summary>
        public int OrderId { get; set; }

        /// <summary>
        /// 课程编号
        /// </summary>
        public int CourseId { get; set; }

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

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

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

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

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

        /// <summary>
        /// 考试状态(见枚举)
        /// </summary>
        public ExamTestStatusEnum ExamStatus { get; set; }
        
        /// <summary>
        /// 学员考试开始时间
        /// </summary>
        public DateTime? ExamStartTime { get; set; }

        /// <summary>
        /// 学员考试结束时间
        /// </summary>
        public DateTime? ExamEndTime { get; set; }

        /// <summary>
        /// 总得分
        /// </summary>
        public decimal TotalScore { get; set; }

        /// <summary>
        /// 学员评语
        /// </summary>
        public string StuComment { get; set; }
    }
}
