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

namespace YGNT.QuestionLibrary.Papers.Dto
{
    /// <summary>
    /// 试卷信息
    /// </summary>
    public class PaperDto : EntityDto
    {
        /// <summary>
        /// 试卷名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 考试时间(时间戳,毫秒)
        /// </summary>
        public long ExamTime { get; set; }

        /// <summary>
        /// 试卷总分
        /// </summary>
        public float TotalScore { get; set; }

        /// <summary>
        /// 合格分数
        /// </summary>
        public float PassingScore { get; set; }

        /// <summary>
        /// 包含学科
        /// </summary>
        [AdaptIgnore]
        public string PaperDisciplines { get; set; }
        /// <summary>
        /// 包含教育类别
        /// </summary>
        [AdaptIgnore]
        public string EducationCategorys { get; set; }

        /// <summary>
        /// 题量
        /// </summary>
        public int PaperQuestionCount { get; set; }

        /// <summary>
        /// 试卷说明
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public Status Status { get; set; }

       
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreationTime { get; set; }


        /// <summary>
        /// 最后修改日期
        /// </summary>
        public DateTime? LastModificationTime { get; set; }
    }
}