mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix remarks MR - notif
This commit is contained in:
parent
3ec212df93
commit
916209e402
@ -27,6 +27,7 @@ use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
/**
|
||||
* @ORM\Entity(repositoryClass=NotificationRepository::class)
|
||||
* @ORM\Table(name="chill_main_notification")
|
||||
*/
|
||||
class Notification
|
||||
{
|
||||
@ -70,7 +71,7 @@ class Notification
|
||||
private $relatedEntityId;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="boolean")
|
||||
* @ORM\Column(type="json")
|
||||
*/
|
||||
private $read;
|
||||
|
||||
@ -168,12 +169,12 @@ class Notification
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getRead(): ?bool
|
||||
public function getRead(): array
|
||||
{
|
||||
return $this->read;
|
||||
}
|
||||
|
||||
public function setRead(bool $read): self
|
||||
public function setRead(array $read): self
|
||||
{
|
||||
$this->read = $read;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user