common: added jpa_sql attribute to user model
This commit is contained in:
parent
0628fa454a
commit
bcd1edd47c
|
@ -35,8 +35,9 @@ public class {{name}} {
|
||||||
|
|
||||||
{{#fields}}
|
{{#fields}}
|
||||||
{{#description}}/** {{.}} **/{{/description}}
|
{{#description}}/** {{.}} **/{{/description}}
|
||||||
{{#isPkey}}@Id{{/isPkey}}
|
{{#isPkey}}
|
||||||
{{#isCollection}}@OneToMany{{/isCollection}}
|
@Id{{/isPkey}}{{#isCollection}}
|
||||||
|
@OneToMany{{/isCollection}}
|
||||||
@Column(nullable = {{nullable}})
|
@Column(nullable = {{nullable}})
|
||||||
private {{{type.name}}} {{name}};
|
private {{{type.name}}} {{name}};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue