using YBEE.EQM.Core;
namespace YBEE.EQM.Application;
///
/// 导入监测特殊学生输入参数
///
public class ImportExamSpecialStudentItem
{
///
/// 监测计划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]
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; }
///
/// 申请原因
///
[Required, StringLength(2000)]
public string ApplyReason { get; set; }
///
/// 家长姓名
///
[StringLength(100)]
public string PatriarchName { get; set; }
///
/// 家长电话
///
[StringLength(50)]
public string PatriarchTel { get; set; }
///
/// 备注
///
public string Remark { get; set; }
}
///
/// 导入监测特殊学生输入参数
///
public class ImportExamSpecialStudentInput
{
///
/// 监测计划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 AddExamSpecialStudentInput
{
///
/// 监测计划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; }
///
/// 班号
///
[Required]
public short ClassNumber { get; set; }
///
/// 学籍号
///
[StringLength(100)]
public string StudentNumber { 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;
///
/// 申请原因
///
[Required, StringLength(2000)]
public string ApplyReason { 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 UpdateExamSpecialStudentInput
{
///
/// 主键
///
[Required]
public int Id { get; set; }
///
/// 校区ID
///
public short? SysOrgBranchId { get; set; }
///
/// 班号
///
[Required]
public short ClassNumber { get; set; }
///
/// 学籍号
///
[StringLength(100)]
public string StudentNumber { 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;
///
/// 申请原因
///
[Required, StringLength(2000)]
public string ApplyReason { 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 ClearExamSpecialStudentInput
{
///
/// 监测计划ID
///
[Required]
public int ExamPlanId { get; set; }
}
///
/// 分页查询监测特殊学生输入参数
///
public class ExamSpecialStudentPageInput : 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; }
///
/// 姓名
///
public string Name { get; set; }
///
/// 证件类型
///
public CertificateType? CertificateType { get; set; }
///
/// 证件号码
///
[StringLength(50)]
public string IdNumber { get; set; }
///
/// 性别
///
public Gender? Gender { get; set; }
///
/// 学籍号
///
public string StudentNumber { get; set; }
///
/// 申请原因
///
[StringLength(2000)]
public string ApplyReason { get; set; }
///
/// 家长电话
///
[StringLength(50)]
public string PatriarchTel { get; set; }
///
/// 往期是否已认定
///
public bool? IsIdentified { get; set; }
///
/// 状态
///
public AuditStatus? Status { get; set; }
}
///
/// 特殊学生审核输入参数
///
public class ExamSepcialStudentAuditInput
{
///
/// 监测特殊学生ID列表
///
public List Ids { get; set; }
///
/// 是否通过
///
public bool IsApproved { get; set; }
///
/// 审核意见
///
public string Remark { get; set; }
}