'boolean', 'last_login_at' => 'datetime', 'password' => 'hashed', 'two_factor_confirmed_at' => 'datetime', ]; } protected function fullName(): Attribute { return Attribute::get(function () { return $this->profile?->full_name ?? $this->username; }); } public function profile(): HasOne { return $this->hasOne(UserProfile::class); } }