|
@@ -4,6 +4,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Getter;
|
|
|
import lombok.Setter;
|
|
|
|
|
|
+import javax.validation.constraints.NotBlank;
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
import java.util.List;
|
|
|
|
|
@@ -19,7 +20,7 @@ public class RetrievalVO {
|
|
|
private Integer type;
|
|
|
@NotNull(message = "请输入病人年龄")
|
|
|
private Integer age;
|
|
|
- @NotNull(message = "请输入症状")
|
|
|
+ @NotBlank(message = "请输入检索内容")
|
|
|
private String InputStr;
|
|
|
@NotNull(message = "请输入病人性别")
|
|
|
private Integer sexType;
|