using YBEE.EQM.Core; namespace YBEE.EQM.Application; /// /// 添加单个学校班级输入参数 /// public class AddSchoolClassInput { /// /// 学校ID /// [Required] public short SysOrgId { get; set; } /// /// 校区ID /// public short? SysOrgBranchId { get; set; } /// /// 入学年份(级) /// [Required] public short GradeBeginYear { get; set; } /// /// 毕业年份(级) /// [Required] public short GradeEndYear { get; set; } /// /// 学制 /// [Required] public short EducationYears { get; set; } /// /// 学段 /// [Required] public EducationStage EducationStage { get; set; } /// /// 班号 /// [Required] public short ClassNumber { get; set; } /// /// 名称:入学年份+级+班号+班,如2025级1班 /// [Required] [StringLength(50)] public string Name { get; set; } /// /// 全称:学段名+入学年份+级+班号+班,如小学2025级1班 /// [Required] [StringLength(200)] public string FullName { get; set; } /// /// 简称:班号+班,如1班 /// [Required] [StringLength(50)] public string ShortName { get; set; } /// /// 备注 /// [StringLength(200)] public string Remark { get; set; } /// /// 状态 /// [Required] public CommonStatus Status { get; set; } } /// /// 批量添加学校班级输入参数 /// public class BatchAddSchoolClassInput { /// /// 学校ID /// [Required] public short SysOrgId { get; set; } /// /// 校区ID /// public short? SysOrgBranchId { get; set; } /// /// 入学年份(级) /// [Required] public short GradeBeginYear { get; set; } /// /// 毕业年份(级) /// [Required] public short GradeEndYear { get; set; } /// /// 学制 /// [Required] public short EducationYears { get; set; } /// /// 学段 /// [Required] public EducationStage EducationStage { get; set; } /// /// 添加班级数量 /// [Required, Range(1, 50, ErrorMessage = "班级数量限制为1至50")] public short ClassCount { get; set; } /// /// 状态 /// [Required] public CommonStatus Status { get; set; } } /// /// 分页查询班级输入参数 /// public class SchoolClassPageInput : PageInputBase { /// /// 学校ID /// public short? SysOrgId { get; set; } /// /// 校区ID /// public short? SysOrgBranchId { get; set; } /// /// 入学年份(级) /// public short? GradeBeginYear { get; set; } /// /// 班号 /// public short? ClassNumber { get; set; } /// /// 班名 /// public string Name { get; set; } /// /// 状态 /// public CommonStatus? Status { get; set; } } /// /// 导入批量生成班级输入参数 /// public class ImportSchoolClassInput { /// /// 学校ID /// [Required] public short SysOrgId { get; set; } /// /// 校区ID /// public short? SysOrgBranchId { get; set; } /// /// 监测年级 /// [Required] public ExamGradeOutput ExamGrade { get; set; } /// /// 班号列表 /// [Required] public List ClassNumberList { get; set; } } /// /// 批量插入输入参数 /// public class BatchInsertSchoolClassInput: AddSchoolClassInput { /// /// 主键 /// public long Id { get; set;} }