We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e71aa0d commit 093a918Copy full SHA for 093a918
generator-web/src/main/resources/templates/code-generator/mybatis-plus/plusentity.ftl
@@ -19,13 +19,13 @@ public class ${classInfo.className} implements Serializable {
19
20
private static final long serialVersionUID = 1L;
21
22
+ @TableId(type = IdType.AUTO)
23
<#if classInfo.fieldList?exists && classInfo.fieldList?size gt 0>
24
<#list classInfo.fieldList as fieldItem >
25
<#if isComment?exists && isComment==true>/**
26
* ${fieldItem.fieldComment}
27
*/</#if><#if isSwagger?exists && isSwagger==true>
28
@ApiModelProperty("${fieldItem.fieldComment}")</#if>
- @TableId(type = IdType.AUTO)
29
private ${fieldItem.fieldClass} ${fieldItem.fieldName};
30
31
<#if isLombok?exists && isLombok==false>
0 commit comments