using Exam.Infrastructure.Data.Interface; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hotline.Share.Dtos.Trains { public class TrainPracticeOptionsDto: UpdateTrainPracticeOptionsDto { } public class AddTrainPracticeOptionsDto : IAddRequest { /// /// 培训习题Id /// [Description("培训习题Id")] public string TrainPracticeId { get; set; } /// /// 题库选项Id /// [Description("题库选项Id")] public string QuestionOptionId { get; set; } /// /// 题库Id /// [Description("题库Id")] public string QuestionId { get; set; } /// /// 选项 /// [Description("选项")] public string Content { get; set; } /// /// 是否答案 /// [Description("是否答案")] public bool IsAnswer { get; set; } /// /// 选项题标 /// [Description("选项题标")] public string Label { get; set; } } public class UpdateTrainPracticeOptionsDto : AddTrainPracticeOptionsDto, IActionRequest { /// /// 主键 /// [Description("主键")] public string Id { get; set; } } public class SimpleTrainPracticeOptionsDto:IAddRequest { /// /// 题库Id /// [Description("题库Id")] public string QuestionId { get; set; } /// /// 题库选项Id /// [Description("题库选项Id")] public string QuestionOptionId { get; set; } /// /// 选项 /// [Description("选项")] public string Content { get; set; } /// /// 选项题标 /// [Description("选项题标")] public string Label { get; set; } /// /// 是否选择 /// [Description("是否选择")] public bool IsSelected { get; set; } /// /// 是否正确答案 /// [Description("是否正确答案")] public bool IsAnswer { get; set; } } }