在生成的entity中增加swagger接口文档中属性说明注解

This commit is contained in:
zhangjiajia committed 2019-06-27 18:31:34 +08:00
1 parent a002299c3e
commit 7fb34b26e7
5 files changed
+27 -3

No files matched your search

@@ -49,6 +49,7 @@ private static final long serialVersionUID = 1L;
#if($column.columnName == $pk.columnName)
@TableId
#end
@ApiModelProperty(value="$column.comments"#if($column.nullable),required=$column.nullable#end#if($column.hidden),hidden=$column.hidden#end)
private $column.attrType $column.lowerAttrName;
#end