using YBEE.EQM.Core;
namespace YBEE.EQM.Application;
///
/// 上传学生信息输入参数
///
public class UploadExamStudentInput: UploadExamDataInput
{
///
/// 监测年级ID
///
[Required]
public int ExamGradeId { get; set; }
}
///
/// 导入监测学生输入参数
///
public class ImportExamStudentItem
{
///
/// 监测计划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; }
///
/// 选科组合ID
///
public short? NceeCourseCombId { get; set; }
///
/// 姓名
///
[Required]
public string Name { get; set; }
///
/// 证件类型
///
[Required]
public CertificateType CertificateType { get; set; }
///
/// 证件号码
///
public string IdNumber { get; set; } = "";
///
/// 性别
///
public Gender? Gender { get; set; } = Core.Gender.UNKNOWN;
///
/// 学籍号
///
public string StudentNumber { get; set; }
///
/// 自编监测号
///
public string ExamNumber { get; set; }
///
/// 考场号
///
public string RoomNumber { get; set; } = "";
///
/// 座位号
///
public string SeatNumber { get; set; }
///
/// 备注
///
public string Remark { get; set; }
}
///
/// 导入监测学生输入参数
///
public class ImportExamStudentInput
{
///
/// 监测计划ID
///
[Required]
public int ExamPlanId { get; set; }
///
/// 监测年级ID
///
[Required]
public int ExamGradeId { get; set; }
///
/// 年级ID
///
[Required]
public int GradeId { 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 AddExamStudentInput
{
///
/// 监测计划ID
///
[Required]
public int ExamPlanId { get; set; }
///
/// 机构ID
///
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; }
///
/// 班号
///
[Required]
public short ClassNumber { get; set; }
///
/// 高中选科组合ID
///
public short? NceeCourseCombId { get; set; }
///
/// 自编监测号
///
[StringLength(20)]
public string ExamNumber { get; set; } = "";
///
/// 学籍号
///
[StringLength(100)]
public string StudentNumber { get; set; } = "";
///
/// 考场号
///
[StringLength(20)]
public string RoomNumber { get; set; } = "";
///
/// 座位号
///
[StringLength(20)]
public string SeatNumber { get; set; } = "";
///
/// 姓名
///
[Required, StringLength(100)]
public string Name { get; set; }
///
/// 证件类型
///
[Required]
public CertificateType CertificateType { get; set; } = CertificateType.NONE;
///
/// 证件号码
///
[StringLength(50)]
public string IdNumber { get; set; } = "";
///
/// 出生日期
///
public DateTime? BirthDate { get; set; }
///
/// 性别
///
[Required]
public Gender Gender { get; set; } = Gender.UNKNOWN;
///
/// 备注
///
[StringLength(200)]
public string Remark { get; set; }
}
///
/// 更新监测学生输入参数
///
public class UpdateExamStudentInput
{
///
/// 主键
///
[Required]
public long Id { get; set; }
///
/// 校区ID
///
public short? SysOrgBranchId { get; set; }
///
/// 班号
///
[Required]
public short ClassNumber { get; set; }
///
/// 高中选科组合ID
///
public short? NceeCourseCombId { get; set; }
///
/// 自编监测号
///
[StringLength(20)]
public string ExamNumber { get; set; } = "";
///
/// 学籍号
///
[StringLength(100)]
public string StudentNumber { get; set; } = "";
///
/// 考场号
///
[StringLength(20)]
public string RoomNumber { get; set; } = "";
///
/// 座位号
///
[StringLength(20)]
public string SeatNumber { get; set; } = "";
///
/// 姓名
///
[Required, StringLength(100)]
public string Name { get; set; }
///
/// 证件类型
///
[Required]
public CertificateType CertificateType { get; set; } = CertificateType.NONE;
///
/// 证件号码
///
[StringLength(50)]
public string IdNumber { get; set; } = "";
///
/// 出生日期
///
public DateTime? BirthDate { get; set; }
///
/// 性别
///
[Required]
public Gender Gender { get; set; } = Gender.UNKNOWN;
///
/// 备注
///
[StringLength(200)]
public string Remark { get; set; }
}
///
/// 清空监测学生输入参数
///
public class ClearExamStudentInput
{
///
/// 监测计划ID
///
[Required]
public int ExamPlanId { get; set; }
}
///
/// 分页查询监测学生输入参数
///
public class ExamStudentPageInput : PageInputBase
{
///
/// 监测计划ID
///
[Required]
public int ExamPlanId { get; set; }
///
/// 校区ID
///
public short? SysOrgBranchId { get; set; }
///
/// 年级ID
///
public short? GradeId { get; set; }
///
/// 班级号
///
public short? ClassNumber { get; set; }
///
/// 选科组合ID
///
public short? NceeCourseCombId { get; set; }
///
/// 姓名
///
public string Name { get; set; }
///
/// 证件类型
///
public CertificateType? CertificateType { get; set; }
///
/// 证件号码
///
public string IdNumber { get; set; }
///
/// 性别
///
public Gender? Gender { get; set; }
///
/// 学籍号
///
public string StudentNumber { get; set; }
///
/// 自编监测号
///
public string ExamNumber { get; set; }
///
/// 考场号
///
public string RoomNumber { get; set; }
///
/// 座位号
///
public string SeatNumber { get; set; }
}
///
/// 查询班级学生人数输出参数
///
public class ExamStudentCountPageInput : PageInputBase
{
///
/// 监测计划ID
///
[Required]
public int ExamPlanId { get; set; }
///
/// 城乡类别
///
public UrbanRuralType? UrbanRuralType { get; set; }
///
/// 年级ID
///
public short? GradeId { get; set; }
///
/// 班级号
///
public short? ClassNumber { get; set; }
///
/// 学校名称
///
public string SysOrgName { get; set; }
///
/// 学校代码
///
public string SysOrgCode { get; set; }
///
/// 最少班级数量
///
public int? ClassCountMin { get; set; }
///
/// 最多班级数量
///
public int? ClassCountMax { get; set; }
///
/// 班级最少人数
///
public int? StudentCountMin { get; set; }
///
/// 班级最多人数
///
public int? StudentCountMax { get; set; }
///
/// 必须排除的班级ID列表
///
public List ExcludeSchoolClassIds { get; set; }
///
/// 必须包含的班级ID列表
///
public List IncludeSchoolClassIds { get; set; }
}