using LearningOfficer.OA.Common.Dtos.ToolKit; using LearningOfficer.OA.Common.Enums; using LearningOfficer.OA.Common.Request; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LearningOfficer.OA.Common.Dtos.Solution { public class SolutionAddDto { /// /// 备 注:问题描述 /// 默认值: /// public string ProblemTitle { get; set; } = null!; /// /// 备 注:适用对象 1:学校;2:教师;3:学生 /// 默认值: /// public ToolObjectType ProblemObj { get; set; } /// /// 备 注:问题显著现象 /// 默认值: /// public string ProblemPhenomenon { get; set; } = null!; /// /// 备 注:使用班级类型。1本科班,2重点班,3重点本科都适用 /// 默认值: /// public ToolClassType ToolClassType { get; set; } /// /// 备 注:解决方案文本描述 /// 默认值: /// public string SolutionContent { get; set; } = null!; /// /// 工具包ID列表 /// public List ProblemTools { get; set; } /// /// 关联任务类型枚举列表 /// public List ProblemTaskType { get; set; } /// /// 关联学段枚举列表 /// public List ProblemSemesters { get; set; } } public class SolutionUpdateDto : SolutionAddDto { /// /// 备 注:主键ID /// 默认值: /// public long Id { get; set; } } public class SolutionSearchMobileDto : PageRequest { /// /// 备 注:问题描述 /// 默认值: /// public string? ProblemTitle { get; set; } /// /// 备 注:适用对象 1:学校;2:教师;3:学生 /// 默认值: /// public ToolObjectType? ProblemObj { get; set; } /// /// 备 注:问题显著现象 /// 默认值: /// public string? ProblemPhenomenon { get; set; } = null!; /// /// 班级id(必传) /// public long ClassesId { get; set; } /// /// 任务类型枚举列表 /// public SysTaskTypeEnums? ProblemTaskType { get; set; } } public class SolutionListViewMobileDto { public long Id { get; set; } /// /// 备 注:问题描述 /// 默认值: /// public string ProblemTitle { get; set; } = null!; /// /// 最后修改时间 /// public DateTime UpTime { get; set; } /// /// 备 注:适用对象 1:学校;2:教师;3:学生 /// 默认值: /// public ToolObjectType ProblemObj { get; set; } /// /// 备 注:使用班级类型。1本科班,2重点班,3重点本科都适用 /// 默认值: /// public ToolClassType ToolClassType { get; set; } /// /// 备 注:问题显著现象 /// 默认值: /// public string ProblemPhenomenon { get; set; } = null!; /// /// 关联学段枚举列表 /// public List ProblemSemesters { get; set; } } public class SolutionListViewDto { public long Id { get; set; } /// /// 备 注:问题描述 /// 默认值: /// public string ProblemTitle { get; set; } = null!; /// /// 最后修改时间 /// public DateTime UpTime { get; set; } /// /// 备 注:适用对象 1:学校;2:教师;3:学生 /// 默认值: /// public ToolObjectType ProblemObj { get; set; } /// /// 备 注:使用班级类型。1本科班,2重点班,3重点本科都适用 /// 默认值: /// public ToolClassType ToolClassType { get; set; } /// /// 关联学段枚举列表 /// public List ProblemSemesters { get; set; } } public class SolutionSearchDto : PageRequest { /// /// 备 注:问题描述 /// 默认值: /// public string? ProblemTitle { get; set; } /// /// 备 注:适用对象 1:学校;2:教师;3:学生 /// 默认值: /// public ToolObjectType? ProblemObj { get; set; } /// /// 备 注:使用班级类型。1本科班,2重点班,3重点本科都适用 /// 默认值: /// public ToolClassType? ToolClassType { get; set; } /// /// 关联年级枚举列表 /// public List? SolutionSemesterEnums { get; set; } ///// ///// 任务类型枚举列表 ///// //public List? ProblemTaskType { get; set; } } public class SolutionDetailViewDto { public long Id { get; set; } /// /// 备 注:问题描述 /// 默认值: /// public string ProblemTitle { get; set; } = null!; /// /// 最后修改时间 /// public DateTime UpTime { get; set; } /// /// 备 注:适用对象 1:学校;2:教师;3:学生 /// 默认值: /// public ToolObjectType ProblemObj { get; set; } /// /// 备 注:使用班级类型。1本科班,2重点班,3重点本科都适用 /// 默认值: /// public ToolClassType ToolClassType { get; set; } /// /// 关联学段枚举列表 /// public List ProblemSemesters { get; set; } /// /// 备 注:问题显著现象 /// 默认值: /// public string ProblemPhenomenon { get; set; } = null!; /// /// 备 注:解决方案文本描述 /// 默认值: /// public string SolutionContent { get; set; } = null!; /// /// 关联任务类型枚举列表 /// public List ProblemTaskTypes { get; set; } /// /// 解决方案工具列表 /// public List ToolKits { get; set; } } }