|
|
@@ -37,11 +37,11 @@ public class ${className}UpdateRequest extends BaseRequest implements Serializab
|
|
|
/**
|
|
|
* $column.comments
|
|
|
*/
|
|
|
- #if($column.attrType == "String" && $column.nullable == "NO")
|
|
|
+#if($column.attrType == "String" && $column.nullable == "NO")
|
|
|
@NotBlank(message = "${column.comments}不能为空")
|
|
|
- #elseif($column.attrType != "String" && $column.nullable == "NO")
|
|
|
+#elseif($column.attrType != "String" && $column.nullable == "NO")
|
|
|
@NotNull(message = "${column.comments}不能为空")
|
|
|
- #end
|
|
|
+#end
|
|
|
@ApiModelProperty(value = "$column.comments")
|
|
|
private $column.attrType $column.attrname;
|
|
|
#end
|