public function serialize(EntryUser $entryUser, array $options = [])
    {
        $serialized = [
            'id' => $entryUser->getUuid(),
            'autoId' => $entryUser->getId(),
            'entry' => [
                'id' => $entryUser->getEntry()->getUuid(),
            ],
            'user' => [
                'id' => $entryUser->getUser()->getUuid(),
            ],
            'shared' => $entryUser->isShared(),
            'notifyEdition' => $entryUser->getNotifyEdition(),
            'notifyComment' => $entryUser->getNotifyComment(),
            'notifyVote' => $entryUser->getNotifyVote(),
        ];

        return $serialized;
    }