Commit 3fe38d51 by 谢海旭

学习中心:自测调整

1 parent 7df1c02a
......@@ -7,6 +7,7 @@ import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;
......@@ -23,7 +24,7 @@ public class LevelExamAddRequest extends AbstractRopRequest {
/**
* 所属部门Id
*/
@NotEmpty
@NotNull
@ApiModelProperty(notes = "所属部门Id")
private Integer departmentId;
......@@ -37,21 +38,21 @@ public class LevelExamAddRequest extends AbstractRopRequest {
/**
* 考试时间
*/
@NotEmpty
@NotNull
@ApiModelProperty(notes = "考试时间")
private Integer examTime;
/**
* 学习中心权限 (1:提交后开放)
*/
@NotEmpty
@NotNull
@ApiModelProperty(notes = "学习中心权限 (1:提交后开放)")
private Byte learningCenterPermission;
/**
* 生效方式 (1:立即生效, 2:定时生效)
*/
@NotEmpty
@NotNull
@ApiModelProperty(notes = "生效方式 (1:立即生效, 2:定时生效)")
private Byte effectiveType;
......@@ -65,7 +66,7 @@ public class LevelExamAddRequest extends AbstractRopRequest {
/**
* 状态 (0:草稿, 1:未生效, 2:生效, 3:失效)
*/
@NotEmpty
@NotNull
@ApiModelProperty(notes = "状态 (0:草稿, 1:未生效, 2:生效, 3:失效)")
private Byte status;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!