using YBEE.EQM.Core; namespace YBEE.EQM.Application; /// /// 导入缺测替补输入参数 /// public class ImportExamAbsentReplaceItem { /// /// 监测计划ID /// [Required] public int ExamPlanId { get; set; } /// /// 监测年级ID /// [Required] public int ExamGradeId { get; set; } /// /// 年级ID /// [Required] public short GradeId { get; set; } /// /// 班级号 /// [Required] public short ClassNumber { get; set; } /// /// 缺测学生姓名 /// [Required, StringLength(100)] public string AbsentName { get; set; } /// /// 缺测学生监测号 /// [Required, StringLength(20)] public string AbsentExamNumber { get; set; } /// /// 缺测科目 /// [Required] public string AbsentCourses { get; set; } /// /// 缺测原因 /// [Required, StringLength(200)] public string AbsentReason { get; set; } /// /// 是否有替补 /// [Required] public bool IsReplaced { get; set; } = false; /// /// 替补学生姓名 /// [StringLength(100)] public string ReplaceName { get; set; } /// /// 替补学生监测号 /// [StringLength(20)] public string ReplaceExamNumber { get; set; } /// /// 家长姓名 /// [StringLength(100)] public string PatriarchName { get; set; } /// /// 家长电话 /// [StringLength(50)] public string PatriarchTel { get; set; } /// /// 备注 /// public string Remark { get; set; } } /// /// 导入缺测替补输入参数 /// public class ImportExamAbsentReplaceInput { /// /// 监测计划ID /// [Required] public int ExamPlanId { get; set; } /// /// 机构ID /// public short? SysOrgId { get; set; } /// /// 校区ID /// public short? SysOrgBranchId { get; set; } /// /// 导入行 /// [Required] public List Items { get; set; } /// /// 数据导入模式 /// [Required] public DataImportMode DataImportMode { get; set; } } /// /// 添加缺测替补上报输入参数 /// public class AddExamAbsentReplaceInput { /// /// 监测计划ID /// [Required] public int ExamPlanId { get; set; } /// /// 机构ID /// [Required] public short SysOrgId { get; set; } /// /// 校区ID /// public short? SysOrgBranchId { get; set; } /// /// 监测年级ID /// [Required] public int ExamGradeId { get; set; } /// /// 年级ID /// [Required] public short GradeId { get; set; } /// /// 班级ID /// [Required] public long SchoolClassId { get; set; } /// /// 班号 /// [Required] public short ClassNumber { get; set; } /// /// 缺测学生姓名 /// [Required, StringLength(100)] public string AbsentName { get; set; } /// /// 缺测学生监测号 /// [Required, StringLength(20)] public string AbsentExamNumber { get; set; } /// /// 缺测科目 /// [Required] public string AbsentCourses { get; set; } = "[]"; /// /// 缺测原因 /// [Required, StringLength(200)] public string AbsentReason { get; set; } /// /// 是否有替补 /// [Required] public bool IsReplaced { get; set; } = false; /// /// 替补学生姓名 /// [StringLength(100)] public string ReplaceName { get; set; } /// /// 替补学生监测号 /// [StringLength(20)] public string ReplaceExamNumber { get; set; } /// /// 家长姓名 /// [StringLength(100)] public string PatriarchName { get; set; } /// /// 家长电话 /// [StringLength(50)] public string PatriarchTel { get; set; } /// /// 备注 /// [StringLength(200)] public string Remark { get; set; } } /// /// 更新缺测替补上报输入参数 /// public class UpdateExamAbsentReplaceInput : AddExamAbsentReplaceInput { /// /// 主键 /// [Required] public int Id { get; set; } } /// /// 清空缺测替补输入参数 /// public class ClearExamAbsentReplaceInput { /// /// 监测计划ID /// [Required] public int ExamPlanId { get; set; } } /// /// 分页查询缺测替补输入参数 /// public class ExamAbsentReplacePageInput : PageInputBase { /// /// 监测计划ID /// [Required] public int ExamPlanId { get; set; } /// /// 机构ID /// public short? SysOrgId { get; set; } /// /// 校区ID /// public short? SysOrgBranchId { get; set; } /// /// 年级ID /// public short? GradeId { get; set; } /// /// 班级号 /// public short? ClassNumber { get; set; } /// /// 缺测学生姓名 /// [StringLength(100)] public string AbsentName { get; set; } /// /// 缺测学生监测号 /// [StringLength(20)] public string AbsentExamNumber { get; set; } /// /// 缺测科目 /// public short? AbentCourseId { get; set; } /// /// 缺测原因 /// [StringLength(200)] public string AbsentReason { get; set; } /// /// 是否有替补 /// public bool? IsReplaced { get; set; } /// /// 替补学生姓名 /// [StringLength(100)] public string ReplaceName { get; set; } /// /// 替补学生监测号 /// [StringLength(20)] public string ReplaceExamNumber { get; set; } /// /// 家长电话 /// [StringLength(50)] public string PatriarchTel { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// 状态 /// public AuditStatus? Status { get; set; } } /// /// 缺测替补审核输入参数 /// public class ExamAbsentReplaceAuditInput { /// /// 缺测替补学生ID列表 /// public List Ids { get; set; } /// /// 是否通过 /// public bool IsApproved { get; set; } /// /// 审核意见 /// public string Remark { get; set; } }