You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.7 KiB
45 lines
1.7 KiB
package cn.iocoder.yudao.module.zhuguang.controller.admin.basic_info.vo;
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import lombok.*;
|
|
import java.util.*;
|
|
import jakarta.validation.constraints.*;
|
|
import cn.iocoder.yudao.module.zhuguang.dal.dataobject.basic_info.StudentCourseClassDO;
|
|
|
|
@Schema(description = "管理后台 - 课程班级新增/修改 Request VO")
|
|
@Data
|
|
public class CourseClassSaveReqVO {
|
|
|
|
@Schema(description = "课程班级ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "783")
|
|
private Long id;
|
|
|
|
@Schema(description = "学期", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
@NotEmpty(message = "学期不能为空")
|
|
private String semester;
|
|
|
|
@Schema(description = "课程ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "21103")
|
|
@NotNull(message = "课程ID不能为空")
|
|
private Long courseId;
|
|
|
|
@Schema(description = "班级号", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
@NotEmpty(message = "班级号不能为空")
|
|
private String classNum;
|
|
|
|
@Schema(description = "授课老师ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11374")
|
|
@NotNull(message = "授课老师ID不能为空")
|
|
private Long teacherId;
|
|
|
|
@Schema(description = "学生人数", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
@NotNull(message = "学生人数不能为空")
|
|
private Integer peopleNum;
|
|
|
|
@Schema(description = "说明", example = "你说的对")
|
|
private String description;
|
|
|
|
@Schema(description = "课代表ID", example = "14228")
|
|
private Long studentId;
|
|
|
|
@Schema(description = "学生的课程班级列表")
|
|
private List<StudentCourseClassDO> studentCourseClasss;
|
|
|
|
} |