added jpa entity generator
parent
d43b2433ab
commit
f8e2a4cda6
|
@ -65,7 +65,8 @@ public class {{name}} {
|
|||
? this.{{name}}.stream()
|
||||
.map({{type.baseType}}::toModel)
|
||||
.collect(Collectors.toList())
|
||||
: Collections.emptyList());
|
||||
: Collections.emptyList()
|
||||
);
|
||||
{{/type.isCollection}}{{^type.isCollection}}
|
||||
{{modelName}}.set{{namePascalCase}}(this.{{name}} != null ? this.{{name}}.toModel() : null);
|
||||
{{/type.isCollection}}
|
||||
|
|
Loading…
Reference in New Issue