@author ${AUTHOR} * */ public class ${entity.name}RestDto { #foreach($attribute in $entity.attributes) private $attribute.type $attribute.name; #end What does a Telosys template look like? http://velocity.apache.org/ Telosys template engine is Velocity (well-known, open source and well documented) Templates language is VTL (Velocity Template Language) • Directives : #foreach, #if, #set,... • Variables & objects (from model) : $entity, $AUTHOR, $attribute.type, ... • Specific Java Classes can be added (if necessary)