using Mapster;
using System;
using System.Collections.Generic;
using System.Text;
using YGNT.QuestionLibrary.Core.BaseData.Enum;
using YGNT.QuestionLibrary.Core.Models;
using YGNT.QuestionLibrary.Core.Questions;
using YGNT.QuestionLibrary.Questions.Dto;

namespace YGNT.QuestionLibrary.Testings.Dto
{
    public class TestingQuestionDto
    {
        /// <summary>
        /// 测验ID
        /// </summary>
        public int TestingId { get; set; }
        /// <summary>
        /// 试题ID
        /// </summary>
        public long QuestionId { get; set; }

        /// <summary>
        /// 试题简称
        /// </summary>
        public string ShortName { get; set; }

        /// <summary>
        /// 试题类型
        /// </summary>
        [AdaptIgnore]
        public string DisciplineQuestionTypeName { get; set; }

        /// <summary>
        /// 学科细分题型Id
        /// </summary>
        public int DisciplineQuestionTypeId { get; set; }

        /// <summary>
        /// 题型类别
        /// </summary>
        public QuestionCategory QuestionCategory { get; set; }

        /// <summary>
        /// 难度
        /// </summary>
        public Difficulty Difficulty { get; set; }

        /// <summary>
        /// 试题html
        /// </summary>
        public string Html { get; set; }

        /// <summary>
        /// 解析html
        /// </summary>
        public string Analysis { get; set; }

        /// <summary>
        /// 答案
        /// </summary>
        public string Answer { get; set; }

        public List< ResolveDto> Resolve { get; set; }

    }
}
