getRecord()->owner_id; } function getType(): string { if ($this->getOwnerId() < 0) return "club"; return "user"; } function getUser(): ?User { return (new Users)->get($this->getOwnerId()); } function getClub(): ?Club { return (new Clubs)->get($this->getOwnerId() * -1); } }