Modelsu.findAll({
attributes: ['userId', 'avatars', 'is_vip', 'action', 'rank'],
include: [
{ model: User, as: "UuserId", attributes: ['username'] },
],
})
db.modelsu.belongsTo(db.user, { foreignKey: 'userId', as: 'UuserId' });
так я сделал асоциацию для модели