added jpa entity generator
This commit is contained in:
parent
3e3fb686de
commit
89d22a0730
|
@ -54,7 +54,7 @@ function getCustomType(type, namespace) {
|
|||
let match = LAST_ELEMENT_REGEX.exec(type)
|
||||
let name = ''
|
||||
let importstatement = null
|
||||
let isEnum = name.includes('enum')
|
||||
let isEnum = type.includes('enums')
|
||||
if(match) {
|
||||
name = utils.pascalcase(match[2])
|
||||
importstatement = `${match[1].replace('enums', 'models')}.${name}`
|
||||
|
|
Loading…
Reference in a new issue