using LearningOfficer.OA.Common.Dtos.Solution;
using LearningOfficer.OA.Common.Dtos.SysFile;
using LearningOfficer.OA.Common.Enums;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningOfficer.OA.Common.Dtos.ToolKit
{
public class ToolKitAddDto
{
///
/// 解决方案学期阶段枚举集合
///
public List SolutionSemesters { get; set; }
///
/// 备 注:工具名称
/// 默认值:
///
public string ToolName { get; set; } = null!;
///
/// 备 注:工具格式 文件后缀名
/// 默认值:
///
public string ToolType { get; set; } = null!;
///
/// 备 注:文件上传后的id
/// 默认值:
///
public long SysFileId { get; set; }
///
/// 备 注:大小 kb
/// 默认值:
///
public int ToolSize { get; set; }
///
/// 备 注:适用对象 1:学校;2:教师;3:学生
/// 默认值:
///
public ToolObjectType ProblemObj { get; set; }
///
/// 备 注:使用班级类型。1本科班,2重点班,3重点本科都适用
/// 默认值:
///
public ToolClassType ToolClassType { get; set; }
}
public class ToolKitUpdateDto : ToolKitAddDto
{
///
/// 备 注:工具Id
/// 默认值:
///
public long Id { get; set; }
}
public class ToolKitViewDto
{
public long Id { get; set; }
///
/// 备 注:工具名称
/// 默认值:
///
public string ToolName { get; set; } = null!;
///
/// 备 注:工具格式 文件后缀名
/// 默认值:
///
public string ToolType { get; set; } = null!;
///
/// 备 注:大小 kb
/// 默认值:
///
public int ToolSize { get; set; }
///
/// 备 注:适用对象 1:学校;2:教师;3:学生
/// 默认值:
///
public ToolObjectType ProblemObj { get; set; }
///
/// 备 注:最后更新时间
/// 默认值:
///
public DateTime UpTime { get; set; }
///
/// 文件信息
///
public SysFileViewDto Fileinfo { get; set; }
///
/// 备 注:添加时间
/// 默认值:
///
public DateTime AddTime { get; set; }
///
/// 备 注:使用班级类型。1本科班,2重点班,3重点本科都适用
/// 默认值:
///
public ToolClassType ToolClassType { get; set; }
public List ToolKitSemesters { get; set; }
///
/// 关联解决方案列表
///
public List SolutionLists { get; set; } = new();
}
}