|
@@ -1,8 +1,11 @@
|
|
|
package com.diagbot.vo;
|
|
|
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Getter;
|
|
|
import lombok.Setter;
|
|
|
|
|
|
+import javax.validation.constraints.NotBlank;
|
|
|
+
|
|
|
/**
|
|
|
* @author wangfeng
|
|
|
* @Description:
|
|
@@ -11,6 +14,10 @@ import lombok.Setter;
|
|
|
@Setter
|
|
|
@Getter
|
|
|
public class SchemaVO {
|
|
|
+ @ApiModelProperty(value = "标签名")
|
|
|
+ @NotBlank(message = "标签名不能为空")
|
|
|
private String labelName;
|
|
|
+ @ApiModelProperty(value = "搜索内容")
|
|
|
+ @NotBlank(message = "搜索内容不能为空")
|
|
|
private String pramNme;
|
|
|
}
|