sequelize.define 使用该方法可以定义model,例子如下: const Sequelize = require('sequelize'); var sequelize = new Sequelize(config.database, config.username, config.password, { host: config.host, dialect: 'mysql', pool: { max: 5, min: 0, idle: 30000 } }); var Website = sequelize.define('website', { id: