mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 20:35:35 +08:00
added: 课时批量创建接口
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package xyz.playedu.api.request.backend;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author 杭州白书科技有限公司
|
||||
* @create 2023/3/21 16:33
|
||||
*/
|
||||
@Data
|
||||
public class CourseHourMultiRequest {
|
||||
@Data
|
||||
public class CourseHourItem {
|
||||
private Integer chapterId;
|
||||
private String title;
|
||||
private Integer duration;
|
||||
private Integer sort;
|
||||
private String type;
|
||||
private Integer rid;
|
||||
}
|
||||
|
||||
@NotNull(message = "hours参数不存在")
|
||||
private List<CourseHourItem> hours;
|
||||
}
|
||||
Reference in New Issue
Block a user