using Exam.Infrastructure.Data.Interface; using Exam.Share; using Hotline.Share.Dtos.ExamManages; using Hotline.Share.Enums.Exams; using System.ComponentModel; namespace Exam.Application.Interface.Exam { public class GradingExamQuestionDto : ExamQuestionDto { /// /// 主键 /// [Description("主键")] public string Id { get ; set; } /// /// 题干 /// [Description("题干")] public string Title { get; set; } /// /// 答案 /// [Description("答案")] public string Answer { get; set; } /// /// 题型 /// [Description("题型")] public EQuestionType QuestionType { get; set; } /// /// 考试明细选项 /// [Description("考试明细选项")] public List UserExamItemOptionDtos { get; set; } } public class GradingExamQuestionTempDto { /// /// 主键 /// [Description("主键")] public string Id { get; set; } /// /// 题干 /// [Description("题干")] public string Title { get; set; } /// /// 答案 /// [Description("答案")] public string Answer { get; set; } /// /// 题型 /// [Description("题型")] public EQuestionType QuestionType { get; set; } /// /// 用户考试明细Id /// [Description("用户考试明细Id")] public string UserExamItemId { get; set; } /// /// 试题选项Id /// [Description("试题选项Id")] public string QuestionOptionId { get; set; } /// /// 选项内容 /// [Description("选项内容")] public string Content { get; set; } /// /// 是否答案 /// [Description("是否答案")] public bool IsAnswer { get; set; } } public class UserExamQuestionDto:IActionRequest { /// /// 主键 /// [Description("主键")] public string Id { get; set; } /// /// 题干 /// [Description("题干")] public string Title { get; set; } /// /// 答案 /// [Description("答案")] public string Answer { get; set; } /// /// 题型 /// [Description("题型")] public EQuestionType QuestionType { get; set; } /// /// 考试明细选项 /// [Description("考试明细选项")] public List UserExamItemOptionDtos { get; set; } } }