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