hasMany(User::class); } public function permission() { return $this->belongsToMany(Permission::class, "roles_permissions"); } }