Commit 4da900ea authored by libin's avatar libin

代码生成模板*注释修改

parent 7ceb6f01
......@@ -24,13 +24,17 @@ public class ${className} implements Serializable {
#foreach ($column in $columns)
#if($column.columnName == $pk.columnName)
//$column.comments
/**
* $column.comments
*/
@Id
@GeneratedValue(generator = "JDBC")
@ApiModelProperty("$column.comments")
private $column.attrType $column.attrname;
#else
//$column.comments
/**
* $column.comments
*/
@Column(name = "$column.columnName")
@ApiModelProperty(value = "$column.comments"#if($column.columnName == "crt_time"||$column.columnName == "upd_time"), hidden = true #end)
private $column.attrType $column.attrname;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment