|
@@ -4,6 +4,8 @@ import com.ym.mec.education.base.BaseQuery;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
+
|
|
|
+import javax.validation.constraints.NotNull;
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
/**
|
|
@@ -17,6 +19,7 @@ import java.io.Serializable;
|
|
|
public class ClassGroupReq extends BaseQuery implements Serializable {
|
|
|
|
|
|
@ApiModelProperty(value = "班级id",required = true)
|
|
|
+ @NotNull(message = "班级id不能为空")
|
|
|
private Integer groupId;
|
|
|
|
|
|
private Integer type = 0;
|