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

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

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

        /// <summary>
        /// 发放类型(1-按班级发放，2-指定学生发放)
        /// </summary>
        public int PublishType { get; set; }

        /// <summary>
        /// 考试开始时间
        /// </summary>
        public DateTime ExamStartTime { get; set; }

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

        /// <summary>
        /// 考试限时
        /// </summary>
        public int ExamTimes { get; set; }

        /// <summary>
        /// 限时提交(多少分钟内不允许提交)
        /// </summary>
        public int SubmitTimes { get; set; }

        /// <summary>
        /// 限时进入(多少分钟后不允许参加考试)
        /// </summary>
        public int EnterTimes { get; set; }

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

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

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

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

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

        /// <summary>
        /// 题目乱序(1-是)
        /// </summary>
        public int IsQuestionRandom { get; set; }

        /// <summary>
        /// 选项乱序(1-是)
        /// </summary>
        public int IsOptionRandom { get; set; }

        /// <summary>
        /// 学生离开作答页面(1-是)
        /// </summary>
        public int IsLeaveAnswer { get; set; }

        /// <summary>
        /// 离开次数
        /// </summary>
        public int LeaveTimes { get; set; }

        /// <summary>
        /// 是否禁用多终端(1-是)
        /// </summary>
        public int IsDisableMultiTerminal { get; set; }

        /// <summary>
        /// 是否只允许(App、PC)考试(1-是)
        /// </summary>
        public int IsExamType { get; set; }

        /// <summary>
        /// 考试终端类型(1-App,2-PC)
        /// </summary>
        public int ExamTypeValue { get; set; }

        /// <summary>
        /// 考试须知
        /// </summary>
        public string ExamNotice { get; set; }

        /// <summary>
        /// 及格分数
        /// </summary>
        public decimal PassScore { get; set; }

        /// <summary>
        /// 考试到达截止时间后自动提交(1-是)
        /// </summary>
        public int IsAutoSubmit { get; set; }

        /// <summary>
        /// 填空类型的题目设为主观题(1-是)
        /// </summary>
        public int FillInIsSubject { get; set; }

        /// <summary>
        /// 填空题答案不区分大小写(1-是)
        /// </summary>
        public int FillInIsIgnore { get; set; }

        /// <summary>
        /// 多选题未选全给一半分(1-是)
        /// </summary>
        public int IsHalfScore { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        public Common.Enum.EduTask.EduTaskRrocessStatus ExamineStatus { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public int Reviewer { get; set; }

        /// <summary>
        /// 封面图片
        /// </summary>
        public string PublishPic { get; set; }

        /// <summary>
        /// 审核备注
        /// </summary>
        public string PublishRemark { get; set; }
    }
}
