added jpa entity generator

master
Niclas Thobaben 2021-09-18 18:58:37 +02:00
parent cd6e19d720
commit 4d4b67af89
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ public class {{name}} {
@Enumerated(EnumType.STRING){{/isEnum}}{{#updateTimestamp}}
@UpdateTimestamp{{/updateTimestamp}}{{#creationTimestamp}}
@CreationTimestamp{{/creationTimestamp}}{{#oneToMany}}
@OneToMany{{/oneTomany}}
@OneToMany{{/oneToMany}}
private {{{type.name}}} {{name}};
{{/fields}}