fix jpa model for links

This commit is contained in:
2025-10-17 19:02:07 +02:00
parent f5ae04b6aa
commit 99ccd6f863
2 changed files with 8 additions and 1 deletions

View File

@@ -115,6 +115,13 @@ $jpa.linkAnnotations(4, $link, $entity.attributes)
#foreach( $link in $entity.selectedLinks )
public ${link.formattedFieldType(0)} ${link.getter}() {
return this.${link.formattedFieldName(0)};
}
#end
//--- SETTERS FOR LINKS
#foreach( $link in $entity.selectedLinks )
public void ${link.setter}( ${link.formattedFieldType(0)} $link.fieldName ) {
this.$link.fieldName = $link.fieldName ;
}
#end