'datetime', 'password' => 'hashed', ]; } public function canAccessPanel(Panel $panel): bool { return match ($panel->getId()) { 'admin' => $this->hasRole('admin'), 'partner' => true, default => false, }; } public function getTenants(Panel $panel): Collection { return collect([$this]); } public function canAccessTenant(Model $tenant): bool { return $tenant->getKey() === $this->getKey(); } public function listings() { return $this->hasMany(\Modules\Listing\Models\Listing::class); } }