First Commit - Source Code from Reply
This commit is contained in:
35
dbcmnpsrc/FE/mnpdev/build/hibernate/genLib/Pojo.ftl
Normal file
35
dbcmnpsrc/FE/mnpdev/build/hibernate/genLib/Pojo.ftl
Normal file
@@ -0,0 +1,35 @@
|
||||
<#if c2h.getClassName(clazz).indexOf("Ccrm")!=-1>
|
||||
package mnp.database.hb.dto.ccrm;
|
||||
<#else>
|
||||
package mnp.database.hb.dto;
|
||||
</#if>
|
||||
|
||||
//${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