using YBEE.EQM.Core;
namespace YBEE.EQM.Application;
///
/// 监测教师输出参数
///
public class ExamTeacherOutput
{
///
/// 主键
///
[Required]
public int Id { get; set; }
///
/// 监测计划ID
///
[Required]
public int ExamPlanId { get; set; }
///
/// 机构ID
///
[Required]
public short SysOrgId { get; set; }
///
/// 姓名
///
[Required]
public string Name { get; set; }
///
/// 学校职位ID
///
[Required]
public SchoolJobTitle SchoolJobTitle { get; set; }
///
/// 证件类型
///
[Required]
public CertificateType CertificateType { get; set; }
///
/// 证件号码
///
public string IdNumber { get; set; }
///
/// 出生日期
///
public DateTime? BirthDate { get; set; }
///
/// 性别
///
[Required]
public Gender Gender { get; set; }
///
/// 手机号码
///
public string Mobile { get; set; }
///
/// 电子邮箱
///
public string Email { get; set; }
///
/// 备注
///
public string Remark { get; set; }
}
///
/// 批量导入监测教师输入参数
///
public class UploadExamTeacherOutput: UploadExamDataBase
{
///
/// 姓名
///
[Required]
public string Name { get; set; }
///
/// 校内职务ID
///
[Required]
public SchoolJobTitle SchoolJobTitle { get; set; } = SchoolJobTitle.TEACHER;
///
/// 校内职务名称
///
public string SchoolJobTitleName { get; set; } = "";
///
/// 证件类型
///
[Required]
public CertificateType CertificateType { get; set; }
///
/// 证件类型名称
///
public string CertificateTypeName { get; set; } = "";
///
/// 证件号码
///
public string IdNumber { get; set; } = "";
///
/// 性别
///
public Gender? Gender { get; set; } = Core.Gender.UNKNOWN;
///
/// 性别名称
///
public string GenderName { get; set; } = "";
///
/// 手机号码
///
public string Mobile { get; set; }
///
/// 电子邮箱
///
public string Email { get; set; }
///
/// 备注
///
public string Remark { get; set; }
}