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.
26 lines
917 B
26 lines
917 B
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.CourseClassDO;
|
|
|
|
@Schema(description = "管理后台 - 课程新增/修改 Request VO")
|
|
@Data
|
|
public class CourseSaveReqVO {
|
|
|
|
@Schema(description = "主键,唯一标识一门课程", requiredMode = Schema.RequiredMode.REQUIRED, example = "822")
|
|
private Long id;
|
|
|
|
@Schema(description = "课程名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
|
|
@NotEmpty(message = "课程名称不能为空")
|
|
private String courseName;
|
|
|
|
@Schema(description = "课程类型", example = "1")
|
|
private String courseType;
|
|
|
|
@Schema(description = "课程班级列表")
|
|
private List<CourseClassDO> courseClasss;
|
|
|
|
} |