using Edu.Common.Enum.Course;
using Edu.Common.Enum.Question;
using Edu.Model.Entity.Course;
using Edu.Model.ViewModel.Question;
using System;
using System.Collections.Generic;
using System.Text;

namespace Edu.Model.ViewModel.Course
{
    /// <summary>
    /// 课程作业详情视图实体类
    /// </summary>
    public class RB_Course_JobDetails_ViewModel : RB_Course_JobDetails
    {
        /// <summary>
        /// 问题名称
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 问题内容
        /// </summary>
        public string QuestionContent { get; set; }

        /// <summary>
        /// 难易程度(1-易，2-中，3-难)
        /// </summary>
        public DifficultyTypeEnum DifficultyType { get; set; }

        /// <summary>
        /// 答案解析
        /// </summary>
        public string AnswerParse { get; set; }

        /// <summary>
        /// 问题类型编号
        /// </summary>
        public int QuestionTypeId { get; set; }

        /// <summary>
        /// 问题类型Key
        /// </summary>
        public string QuestionTypeKey { get; set; }

        /// <summary>
        /// 知识点
        /// </summary>
        public string Knowledge { get; set; }

        /// <summary>
        /// 是否同步修改引用此题目的作业和考试(1-是)
        /// </summary>
        public int IsUpdateJobExam { get; set; }

        /// <summary>
        /// 问题答案【JSON字符串】
        /// </summary>
        public string Answer { get; set; }

        /// <summary>
        /// 填空题(答案顺序打乱也判正确)
        /// </summary>
        public int IsMutex { get; set; }

        /// <summary>
        /// 题目所属大类
        /// </summary>
        public QuestionCategoryEnum? Category { get; set; }

        /// <summary>
        ///  考级程度
        /// </summary>
        public LevelTypeEnum? LevelType { get; set; }
    }
}
