diff --git a/packages/cli/generators/model/index.js b/packages/cli/generators/model/index.js index d01529ae03dc..1829735f1755 100644 --- a/packages/cli/generators/model/index.js +++ b/packages/cli/generators/model/index.js @@ -57,12 +57,17 @@ module.exports = class ModelGenerator extends ArtifactGenerator { return super._setupGenerator(); } + setOptions() { + return super.setOptions(); + } + checkLoopBackProject() { return super.checkLoopBackProject(); } async promptArtifactName() { await super.promptArtifactName(); + this.artifactInfo.className = utils.toClassName(this.artifactInfo.name); this.log( `Let's add a property to ${chalk.yellow(this.artifactInfo.className)}`, );