${columnTemplate.columnCode?lower_case?cap_first}() 首字母大写
public int hashCode() {
int result = 17;
<#list tableTemplate.columnTemplateList as columnTemplate>
<#if columnTemplate.columnType =="PrimaryKey" && tableTemplate.containCompositeid == "true">
result = 37 * result + (this.get${columnTemplate.columnCode?lower_case?cap_first}() == null ? 0 : this.get${columnTemplate.columnCodeWithGet}().hashCode());
</#if>
</#list>
return result;
}
public int hashCode() {
int result = 17;
<#list tableTemplate.columnTemplateList as columnTemplate>
<#if columnTemplate.columnType =="PrimaryKey" && tableTemplate.containCompositeid == "true">
result = 37 * result + (this.get${columnTemplate.columnCode?lower_case?cap_first}() == null ? 0 : this.get${columnTemplate.columnCodeWithGet}().hashCode());
</#if>
</#list>
return result;
}