using Edu.Common.Enum.Question;
using System;
using System.Collections.Generic;

namespace Edu.Model.ViewModel.Question
{
    /// <summary>
    /// 题目类型视图实体类
    /// </summary>
    [Serializable]
    public class RB_Question_Type_ViewModel : Model.Entity.Question.RB_Question_Type
    {

    }

    public class QuestionTypeItem
    {
        /// <summary>
        /// 题目类型Key
        /// </summary>
        public string Key { get; set; }

        /// <summary>
        /// 题目数据
        /// </summary>
        public object Data { get; set; }
    }

    /// <summary>
    /// 选择题选项列表【单选、多选、判断题】
    /// </summary>
    public class optionItem
    {
        /// <summary>
        /// 选项编号【例如:A,B,C,D】
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 选项内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 是否是选项答案
        /// </summary>
        public bool IsAnswer { get; set; }
    }

    /// <summary>
    /// 填空题、简答题
    /// </summary>
    public class fillInItem
    {
        /// <summary>
        /// 选项内容
        /// </summary>
        public string Content { get; set; }
    }

    /// <summary>
    /// 连线题
    /// </summary>
    public class matchingItem
    {
        /// <summary>
        /// 选项编号【例如:A,B,C,D,1,2,3,4】
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 选项内容
        /// </summary>
        public string Content { get; set; }
    }

    /// <summary>
    /// 阅读理解
    /// </summary>
    public class readingComprehensioItem
    {
        /// <summary>
        /// 问题类型(5-种基本题型)
        /// </summary>
        public int QuestionType { get; set; }

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

        /// <summary>
        /// 问题类型名称
        /// </summary>
        public string QuestionName { get; set; }

        /// <summary>
        /// 题目名称
        /// </summary>
        public string SubTitle { get; set; }

        /// <summary>
        /// 题目答案内容
        /// </summary>
        public object SubAnwser { get; set; }
    }
}