|
|
@ -32,6 +32,10 @@ public class ${entityName} extends BaseEntity{
|
|
|
|
<#if po.fieldName == primaryKeyField>
|
|
|
|
<#if po.fieldName == primaryKeyField>
|
|
|
|
@TableId(type = IdType.ASSIGN_ID)
|
|
|
|
@TableId(type = IdType.ASSIGN_ID)
|
|
|
|
<#else>
|
|
|
|
<#else>
|
|
|
|
|
|
|
|
<#if po.fieldComment !=''>
|
|
|
|
|
|
|
|
/**${po.fieldComment}*/
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "${po.fieldComment}")
|
|
|
|
|
|
|
|
</#if>
|
|
|
|
<#if po.fieldType =='Date'>
|
|
|
|
<#if po.fieldType =='Date'>
|
|
|
|
<#if po.fieldDbType =='date'>
|
|
|
|
<#if po.fieldDbType =='date'>
|
|
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
|
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
|
|
@ -42,13 +46,6 @@ public class ${entityName} extends BaseEntity{
|
|
|
|
</#if>
|
|
|
|
</#if>
|
|
|
|
<#else>
|
|
|
|
<#else>
|
|
|
|
</#if>
|
|
|
|
</#if>
|
|
|
|
</#if>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<#if po.fieldComment !=''>
|
|
|
|
|
|
|
|
/**${po.fieldComment}*/
|
|
|
|
|
|
|
|
@Excel(name = "${po.fieldComment}", width = 15)
|
|
|
|
|
|
|
|
@ExcelImport("${po.fieldComment}")
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "${po.fieldComment}")
|
|
|
|
|
|
|
|
</#if>
|
|
|
|
</#if>
|
|
|
|
@TableField(value="${po.fieldColumn}")
|
|
|
|
@TableField(value="${po.fieldColumn}")
|
|
|
|
<#if po.fieldName == 'delFlag'>
|
|
|
|
<#if po.fieldName == 'delFlag'>
|
|
|
|