using Abp.Domain.Entities;
using Mapster;
using YGNT.QuestionLibrary.Core.BaseData.Enum;

namespace YGNT.QuestionLibrary.Papers.Dto
{
    public class PaperQuestionDto : Entity<long>
    {
        /// <summary>
        /// 试题简称
        /// </summary>
        public string ShortName { get; set; }

        /// <summary>
        /// 试题Id
        /// </summary>
        public long QuestionId { get; set; }

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

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

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

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 所属学科id
        /// </summary>
        public int DisciplineId { get; set; }

        /// <summary>
        /// 所属学科
        /// </summary>
        [AdaptIgnore]
        public string Discipline { get; set; }

        /// <summary>
        /// 单独分值
        /// </summary>
        public float SingleScore { 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; }
    }
}