标签管理validation报错问题
This commit is contained in:
+8
-2
@@ -63,9 +63,13 @@ public class OnlCgformArea implements Serializable {
|
||||
@ApiModelProperty(value = "展示区域(1基本信息,2文本信息,3关联关系)")
|
||||
private java.lang.String showArea;
|
||||
|
||||
/**展示区域对应flag*/
|
||||
/* @Excel(name = "展示区域对应flag", width = 15)
|
||||
@ApiModelProperty(value = "展示区域对应flag")
|
||||
private java.lang.Integer showAreaFlag;*/
|
||||
|
||||
/**英文名称*/
|
||||
@Excel(name = "英文名称", width = 15)
|
||||
@javax.validation.constraints.Pattern(regexp = "^[a-zA-Z]{1}$",message = "请输入正确的字母")
|
||||
@ApiModelProperty(value = "英文名称")
|
||||
private java.lang.String enName;
|
||||
|
||||
@@ -76,8 +80,10 @@ public class OnlCgformArea implements Serializable {
|
||||
|
||||
/**排序号*/
|
||||
@Excel(name = "排序号", width = 15)
|
||||
@javax.validation.constraints.Pattern(regexp = "^-?[1-9]\\d+$",message = "请输入正确的整数")
|
||||
@ApiModelProperty(value = "排序号")
|
||||
private java.lang.Integer sort;
|
||||
|
||||
public void setShowArea(String showArea) {
|
||||
this.showArea = showArea;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user