|
@@ -4,7 +4,9 @@ import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
import com.qmth.distributed.print.business.enums.ExamPaperStructureStatusEnum;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
+import org.hibernate.validator.constraints.Length;
|
|
|
|
|
|
+import javax.validation.constraints.NotNull;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
@@ -38,6 +40,8 @@ public class BasicPaperInfo {
|
|
|
private String paperNumber;
|
|
|
|
|
|
@ApiModelProperty(value = "试卷类型(A,B)")
|
|
|
+ @NotNull(message = "请提供试卷类型")
|
|
|
+ @Length(min = 1,message = "请提供试卷类型")
|
|
|
private String paperType;
|
|
|
|
|
|
@ApiModelProperty(value = "状态")
|