getRecord()->id; } function getUserId(): string { return $this->getRecord()->user; } function getUser(): ?User { return (new Users)->get($this->getRecord()->user); } function getClubId(): string { return $this->getRecord()->club; } function getClub(): ?Club { return (new Clubs)->get($this->getRecord()->club); } function getComment(): string { return is_null($this->getRecord()->comment) ? "" : $this->getRecord()->comment; } use Traits\TSubscribable; }