id; } public function setNotification(?Notification $notification): self { $this->notification = $notification; return $this; } public function getNotification(): Notification { return $this->notification; } public function setAccess(?Access $access): self { $this->access = $access; return $this; } public function getAccess(): Access { return $this->access; } public function setIsRead(?bool $isRead): self { $this->isRead = $isRead; return $this; } public function getIsRead(): ?bool { return $this->isRead; } }