$this->id, 'user_id' => $this->whenLoaded('user', fn () => $this->user?->uuid), 'relationship' => $this->relationship, 'full_name' => $this->full_name ?? ($this->user?->full_name), 'date_of_birth' => $this->date_of_birth?->toDateString(), 'joined_at' => $this->joined_at?->toIso8601String(), ]; } }