using System.ComponentModel.DataAnnotations;
using Abp.Application.Services.Dto;
using Abp.Domain.Entities;
using YGNT.QuestionLibrary.Core.Models;

namespace YGNT.QuestionLibrary.Tasks.Dto.QuestionResolve
{
    /// <summary>
    /// 解析任务试题
    /// </summary>
    public class ResoleTaskQuestionDto : EntityDto<long>
    {
        /// <summary>
        /// 试题原始id
        /// </summary>
        public long QuestionOriginId { get; set; }

        /// <summary>
        /// 题型名称(题型可能会出现与基础数据不匹配的情况)
        /// </summary>
        public string DisciplineQuestionTypeName { get; set; }

        /// <summary>
        /// 解析试题
        /// </summary>
        public string ResoleQuestionTypeName { get; set; }

        /// <summary>
        /// 细分题型id(不匹配为空)
        /// </summary>
        public int? DisciplineQuestionTypeId { get; set; }

        /// <summary>
        /// 系统试题类型Id(不匹配为空)
        /// </summary>
        public int? QuestionTypeId { get; set; }

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

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

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

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

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