mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-24 19:59:31 +08:00
线上课增加必修课、选修课属性
This commit is contained in:
@@ -27,6 +27,10 @@ public class CourseRequest {
|
||||
@JsonProperty("is_show")
|
||||
private Integer isShow;
|
||||
|
||||
@NotNull(message = "is_required参数不存在")
|
||||
@JsonProperty("is_required")
|
||||
private Integer isRequired;
|
||||
|
||||
@NotNull(message = "dep_ids参数不存在")
|
||||
@JsonProperty("dep_ids")
|
||||
private Integer[] depIds;
|
||||
|
||||
Reference in New Issue
Block a user