using YBEE.EQM.Core;
namespace YBEE.EQM.Application;
///
/// 添加试卷输入参数
///
public class AddExamPaperInput
{
///
/// 监测计划ID
///
[Required]
public int ExamPlanId { get; set; }
///
/// 监测年级ID
///
[Required]
public int ExamGradeId { get; set; }
///
/// 年级ID
///
[Required]
public short GradeId { get; set; }
///
/// 监测科目ID
///
[Required]
public int ExamCourseId { get; set; }
///
/// 科目ID
///
[Required]
public short CourseId { get; set; }
///
/// 名称
///
[Required]
public string Name { get; set; }
///
/// 总分
///
[Required]
public decimal Score { get; set; }
///
/// 备注
///
[StringLength(200)]
public string Remark { get; set; } = "";
}
///
/// 更新试卷输入参数
///
public class UpdateExamPaperInput : BaseId
{
///
/// 名称
///
[Required]
public string Name { get; set; }
///
/// 总分
///
[Required]
public decimal Score { get; set; }
///
/// 备注
///
[StringLength(200)]
public string Remark { get; set; } = "";
}
///
/// 批量初始化试卷输入参数
///
public class ExamPaperBatchInitInput
{
public int ExamPlanId { get; set; }
}
///
/// 分配试卷双向细目表或问题建议输入参数
///
public class AssignExamPaperWriterInput
{
///
/// 撰写人用户ID
///
public int WriterSysUserId { get; set; }
///
/// 试卷ID列表
///
public List Ids { get; set; }
}
///
/// 分页查询试卷编撰监测计划输入参数
///
public class ExamPaperExamPlanPageInput : ExamPlanPageInput
{
///
/// 试卷编撰人员类型
///
[Required]
public ExamPaperWriterType WriterType { get; set; }
}
///
/// 保存学科问题建议输入参数
///
public class SaveExamPaperSuggestion : BaseId
{
///
/// 问题
///
[Required, StringLength(4000)]
public string Questions { get; set; }
///
/// 建议
///
[Required, StringLength(4000)]
public string Suggestions { get; set; }
}