'datetime', 'last_app_active_at' => 'datetime', 'password' => 'hashed', ]; } /** The owner reference used to scope every CRM record to this account. */ public function ownerRef(): string { return (string) $this->public_id; } public function avatarUrl(): ?string { $url = trim((string) $this->avatar_url); return $url !== '' ? $url : null; } }