using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using YGNT.QuestionLibrary.Core.Models;

namespace YGNT.QuestionLibrary.Tasks.Dto.QuestionResolve
{
    /// <summary>
    /// 确认导入试题
    /// </summary>
    public class AffirmTaskQuestionDto
    {
        public AffirmTaskQuestionDto()
        {
            KnowledgePointList = new List<long>();
        }

        /// <summary>
        /// 解析任务试题Id
        /// </summary>
        [Required]
        public long ResoleTaskQuestionId { get; set; }

        /// <summary>
        /// 细分题型id
        /// </summary>
        [Required]
        public int DisciplineQuestionTypeId { get; set; }

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

        /// <summary>
        /// 试题知识点
        /// </summary>
        public List<long> KnowledgePointList { get; set; }

        /// <summary>
        /// 出题年份
        /// </summary>
        public DateTime? AriseTime { get; set; }
    }
}