using YBEE.EQM.Core; namespace YBEE.EQM.Application; /// /// 批量导入监测教师任教学科 /// public class ImportExamTeacherCourseItem { /// /// 监测计划ID /// [Required] public int ExamPlanId { get; set; } /// /// 机构ID /// public short? SysOrgId { get; set; } /// /// 姓名 /// [Required] public string Name { get; set; } /// /// 证件类型 /// [Required] public CertificateType CertificateType { get; set; } /// /// 证件号码 /// public string IdNumber { get; set; } = ""; /// /// 监测年级ID /// [Required] public int ExamGradeId { get; set; } /// /// 年级ID /// [Required] public short GradeId { get; set; } /// /// 班级号 /// [Required] public short ClassNumber { get; set; } /// /// 科目ID /// [Required] public short CourseId { get; set; } /// /// 备注 /// public string Remark { get; set; } } /// /// 批量导入监测教师任教学科输入参数 /// public class ImportExamTeacherCourseInput { /// /// 监测计划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 AddExamTeacherCourseInput { /// /// 监测计划ID /// [Required] public int ExamPlanId { get; set; } /// /// 机构ID /// public short? SysOrgId { get; set; } /// /// 校区ID /// public short? SysOrgBranchId { 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; } = ""; /// /// 监测年级ID /// [Required] public int ExamGradeId { get; set; } /// /// 年级ID /// [Required] public short GradeId { get; set; } /// /// 班号 /// [Required] public short ClassNumber { get; set; } /// /// 科目ID /// [Required] public short CourseId { get; set; } /// /// 备注 /// [StringLength(200)] public string Remark { get; set; } } /// /// 更新监测教师任教学科 /// public class UpdateExamTeacherCourseInput : BaseId { /// /// 监测计划ID /// [Required] public int ExamPlanId { get; set; } /// /// 机构ID /// public short? SysOrgId { get; set; } /// /// 校区ID /// public short? SysOrgBranchId { 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; } = ""; /// /// 监测年级ID /// [Required] public int ExamGradeId { get; set; } /// /// 年级ID /// [Required] public short GradeId { get; set; } /// /// 班号 /// [Required] public short ClassNumber { get; set; } /// /// 科目ID /// [Required] public short CourseId { get; set; } /// /// 备注 /// [StringLength(200)] public string Remark { get; set; } } /// /// 清空监测教师任教学科 /// public class ClearExamTeacherCourseInput { /// /// 监测计划ID /// [Required] public int ExamPlanId { get; set; } } /// /// 分页查询监测教师任教学科 /// public class ExamTeacherCoursePageInput : PageInputBase { /// /// 监测计划ID /// [Required] public int ExamPlanId { get; set; } /// /// 校区ID /// public short? SysOrgBranchId { get; set; } /// /// 姓名 /// public string Name { get; set; } /// /// 证件类型 /// public CertificateType? CertificateType { get; set; } /// /// 证件号码 /// public string IdNumber { get; set; } /// /// 年级ID /// public short? GradeId { get; set; } /// /// 班号 /// public short? ClassNumber { get; set; } /// /// 科目ID /// public short? CourseId { get; set; } }