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 1c6efb4 commit 1144a21Copy full SHA for 1144a21
generator-web/src/main/resources/templates/code-generator/jpa/entity.ftl
@@ -21,7 +21,7 @@ import io.swagger.annotations.ApiModelProperty;</#if>
21
*/
22
@Entity
23
<#if isLombok?exists && isLombok==true>@Data</#if>
24
-<#if isComment?exists && isComment==true>@Table(name="${classInfo.tableName}")</#if><#if isSwagger?exists && isSwagger==true>
+<#if isComment?exists && isComment==true>@Table(name="${classInfo.originTableName}")</#if><#if isSwagger?exists && isSwagger==true>
25
@ApiModel("${classInfo.classComment}")</#if>
26
public class ${classInfo.className} implements Serializable {
27
0 commit comments