using YBEE.EQM.Core;
namespace YBEE.EQM.Application;
///
/// 向抽样方案中添加抽样学生
///
public class AddExamSampleStudentInput
{
///
/// 抽样方案ID
///
[Required]
public int ExamSampleId { get; set; }
///
/// 监测样本学生ID
///
[Required]
public long ExamStudentId { get; set; }
///
/// 监测号
///
[Required, StringLength(20)]
public string ExamNumber { get; set; } = "";
///
/// 序号
///
[Required]
public int Sequence { get; set; } = 0;
///
/// 监测抽样类型
///
[Required]
public ExamSampleType ExamSampleType { get; set; } = ExamSampleType.SCHOOL_EXAM;
///
/// 是否为特殊学生
///
[Required]
public bool IsSpecialStudent { get; set; } = false;
///
/// 前期总成绩
///
[Required]
public decimal PreTotalScore { get; set; } = 0;
}
///
/// 分页查询抽样学生
///
public class ExamSampleStudentPageInput : PageInputBase
{
///
/// 监测抽样ID
///
[Required]
public int ExamSampleId { get; set; }
///
/// 年级ID
///
public short? GradeId { get; set; }
///
/// 班级ID
///
public short? ClassNumber { get; set; }
///
/// 学生姓名
///
public string Name { get; set; }
///
/// 证件类型
///
public CertificateType? CertificateType { get; set; }
///
/// 证件号码
///
public string IdNumber { get; set; }
///
/// 监测号
///
public string ExamNumber { get; set; }
///
/// 校区ID
///
public short? SysOrgBranchId { get; set; }
///
/// 抽样类型
///
public ExamSampleType? ExamSampleType { get; set;}
}
///
/// 查询监测学生信息输入参数
///
public class QueryExamSampleStudentInput
{
///
/// 监测计划ID
///
[Required]
public int ExamPlanId { get; set; }
///
/// 监测年级ID
///
[Required]
public int ExamGradeId { get; set; }
///
/// 校区ID
///
public short? SysOrgBranchId { get; set; }
///
/// 班号
///
[Required]
public short ClassNumber { get; set; }
///
/// 监测号
///
[Required, StringLength(20)]
public string ExamNumber { get; set; }
}