using Exam.Infrastructure.Data.Entity; using Hotline.Share.Dtos.Questions; using Hotline.Share.Enums.Exams; using System.ComponentModel; using System.Runtime.CompilerServices; namespace Hotline.Share.Dtos.ExamManages { /// /// 考试试题 /// [Description("考试试题")] public class ExamQuestionDto : ActionRequest { /// /// 题干 /// [Description("题干")] public string Title { get; set; } /// /// 题型 /// [Description("题型")] public EQuestionType QuestionType { get; set; } /// /// 分数 /// [Description("分数")] public int? Score { get; set; } /// /// 考试选项 /// [Description("考试选项")] public List QuestionOptions {get;set;} /// /// 答案 /// [Description("答案")] public string Answer { get; set; } } /// /// 查看考试试题 /// [Description("查看考试试题")] public class ViewExamQuestionDto : ExamQuestionDto { /// /// 实际得分 /// [Description("实际得分")] public int? RealScore { get; set; } /// /// 试题Id /// [Description("试题Id")] public string QuestionId { get; set; } /// /// 考试试题Id /// [Description("考试试题Id")] public string ExamQuestionId { get; set; } /// /// 试题关联知识 /// [Description("试题关联知识")] public List QuestionKnowladgeDtos { get; set; } /// /// 试题课件 /// [Description("试题课件")] public List QuestionSourcewareDtos { get; set; } /// /// 查看试题选项 /// [Description("查看试题选项")] public new List QuestionOptions { get; set; } /// /// 参考答案 /// [Description("参考答案")] public string CorrectAnswer { get; set; } } }