restructure sequelize model.