*/ use HasFactory, Notifiable, HasUlids; public $incrementing = false; protected $keyType = 'string'; /** * Get the attributes that should be cast. * * @return array */ protected function casts(): array { return [ 'email_verified_at' => 'datetime', 'password' => 'hashed', 'role' => UserRole::class, ]; } }