线上课增加必修课、选修课属性

This commit is contained in:
none
2023-03-20 14:33:19 +08:00
parent 48a1597998
commit 1fdbc2fdca
8 changed files with 67 additions and 36 deletions

View File

@@ -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;