*/ use HasFactory, Notifiable; /** * Only administrators have accounts; there is no public registration. */ public function canAccessPanel(Panel $panel): bool { return true; } /** * Get the attributes that should be cast. * * @return array */ protected function casts(): array { return [ 'email_verified_at' => 'datetime', 'password' => 'hashed', ]; } }