First Commit - Source Code from Reply
This commit is contained in:
30
dbcmnpsrc/FE/mnpdev/test/hibernate/genLib/Pojo.ftl
Normal file
30
dbcmnpsrc/FE/mnpdev/test/hibernate/genLib/Pojo.ftl
Normal file
@@ -0,0 +1,30 @@
|
||||
package it.valueteam.obj.dao.db.hb;
|
||||
//${pojo.getPackageDeclaration()}
|
||||
// Generated ${date} by Hibernate Tools ${version}
|
||||
|
||||
<#assign classbody>
|
||||
<#include "PojoTypeDeclaration.ftl"/> {
|
||||
|
||||
<#if !pojo.isInterface()>
|
||||
<#include "PojoFields.ftl"/>
|
||||
|
||||
<#include "PojoConstructors.ftl"/>
|
||||
|
||||
<#include "PojoPropertyAccessors.ftl"/>
|
||||
|
||||
<#include "PojoToString.ftl"/>
|
||||
|
||||
<#include "PojoEqualsHashcode.ftl"/>
|
||||
|
||||
<#else>
|
||||
<#include "PojoInterfacePropertyAccessors.ftl"/>
|
||||
|
||||
</#if>
|
||||
<#include "PojoExtraClassCode.ftl"/>
|
||||
|
||||
}
|
||||
</#assign>
|
||||
|
||||
${pojo.generateImports()}
|
||||
${classbody}
|
||||
|
||||
Reference in New Issue
Block a user