async generateModels() {
        if (utils.nonEmptyObject(this.tables)) {
            utils.logdebug(`* Start to generate Sequelize Models`);
            this.models = []
            // build Sequelize models
            await Promise.all(Object.values(this.tables).map(this.buildModel,this));
            // TODO: build Sequelize relations / associations (not required but useful)
            utils.logdebug(`* Finish to generate Sequelize Models`);
            return this.models;
        }
        return false
    }
/**
     * Generates all Sequelize models from Table and Relation objects
     * @returns list of Sequelize models, or false
     */
Generates all Sequelize models from Table and Relation objects
@returns list of Sequelize models, or false
Generates all Sequelize models from Table and Relation objects @returns list of Sequelize models or false
async generateModels() {
        if (utils.nonEmptyObject(this.tables)) {
            utils.logdebug(`* Start to generate Sequelize Models`);
            this.models = []
            await Promise.all(Object.values(this.tables).map(this.buildModel,this));
            utils.logdebug(`* Finish to generate Sequelize Models`);
            return this.models;
        }
        return false
    }
async generateModels ( ) { if ( utils . nonEmptyObject ( this . tables ) ) { utils . logdebug ( ` ` ) ; this . models = [ ] await Promise . all ( Object . values ( this . tables ) . map ( this . buildModel , this ) ) ; utils . logdebug ( ` ` ) ; return this . models ; } return false }
Generates all Sequelize models from Table and Relation objects
 @returns list of Sequelize models, or false
Generates all Sequelize models from Table and Relation objects @returns list of Sequelize models or false
// build Sequelize models // TODO: build Sequelize relations / associations (not required but useful)