0])] #[Assert\Type(type: 'boolean')] #[Groups(['notificationuser'])] private $isRead = 0; /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set isRead * * @param boolean $isRead * * @return NotificationUser */ public function setIsRead($isRead) { $this->isRead = $isRead; return $this; } /** * Get isRead * * @return boolean */ public function getIsRead() { return $this->isRead; } /** * Set notification * * @param AbstractInformation $notification * * @return NotificationUser */ public function setNotification(AbstractInformation $notification) { $this->notification = $notification; return $this; } /** * Get notification * * @return Notification */ public function getNotification() { return $this->notification; } /** * Set access * * @param Access $access * * @return NotificationUser */ public function setAccess(Access $access) { $this->access = $access; return $this; } /** * Get access * * @return Access */ public function getAccess() { return $this->access; } }