using Exam.Infrastructure.Data.Entity; using Exam.Infrastructure.Data.Interface; using Hotline.Share.Dtos.Practices; using System.ComponentModel; namespace Exam.Share { /// /// 练习 /// [Description("练习")] public class PracticeDto:UpdatePracticeDto { /// /// 练习标签 /// [Description("练习标签")] public new List PracticeTagDtos { get; set; } } /// /// 练习 /// [Description("练习")] public class AddPracticeDto : IAddRequest { /// /// 练习流水号 /// [Description("练习流水号")] public string Code { get; set; } /// /// 练习类型 /// [Description("练习类型")] public string PracticeType { get; set; } /// /// 出题数量 /// [Description("出题数量")] public int Count { get; set; } /// /// 练习标签 /// [Description("练习标签")] public List PracticeTagDtos { get; set; } } /// /// 练习 /// [Description("练习")] public class UpdatePracticeDto : AddPracticeDto,IActionRequest { /// /// 主键 /// [Description("主键")] public string Id { get; set; } /// /// 练习标签 /// [Description("练习标签")] public new List PracticeTagDtos { get; set; } } }