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 string ShowName { get; set; }
    }

    /// <summary>
    /// 完型填空
    /// </summary>
    public class colzeItem
    {
        /// <summary>
        /// 题目分数
        /// </summary>
        public decimal SubScore { get; set; }

        /// <summary>
        /// 学生得分
        /// </summary>
        public decimal StudentScore { get; set; }

        /// <summary>
        /// 选项列表
        /// </summary>
        public List<optionItem> OptionList { get; set; }
    }

    /// <summary>
    /// 完型填空、阅读理解、听力答案
    /// </summary>
    public class SubAnswerItem
    {
        /// <summary>
        /// 小题编号
        /// </summary>
        public string SubQuestionId { get; set; }

        /// <summary>
        /// 小题问题类型
        /// </summary>
        public string SubQuestionKey { get; set; }
        
        /// <summary>
        /// 小题答案
        /// </summary>
        public string SubAnswer { get; set; }

        /// <summary>
        /// 小题分数
        /// </summary>
        public decimal SubScore { get; set; }

        /// <summary>
        /// 学生小题得分
        /// </summary>
        public decimal StudentScore { 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 decimal SubScore { get; set; }

        /// <summary>
        /// 学生得分
        /// </summary>
        public decimal StudentScore { get; set; }

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