belongsToMany(Entry::class, 'entry_authors'); } public function user(): ?XenForoUser { if( !$this->user_id ) return null; return app(XenforoService::class)->getXfUser($this->user_id); } }