master
周文涛 2 years ago
parent d9ef162cac
commit ace0c13502

@ -24,9 +24,9 @@ import java.util.Date;
public class Add${entityName}PVO implements Serializable{
private static final long serialVersionUID = 1L;
<#list originalColumns as po>
/**${po.filedComment}*/
<#if po.fieldName == primaryKeyField>
<#else>
/**${po.filedComment}*/
<#if po.fieldType =='Date'>
<#if po.fieldDbType =='date'>
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@ -41,9 +41,9 @@ public class Add${entityName}PVO implements Serializable{
<#else>
</#if>
</#if>
<#if po.fieldName != primaryKeyField>
@ApiModelProperty(value = "${po.filedComment}")
<#if po.fieldName == 'delFlag'>
</#if>
private <#if po.fieldType=='java.sql.Blob'>byte[]<#else>${po.fieldType}</#if> ${po.fieldName};
</#if>
</#list>
}

Loading…
Cancel
Save