mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +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\Entity(repositoryClass=NotificationRepository::class)
|
||||||
|
* @ORM\Table(name="chill_main_notification")
|
||||||
*/
|
*/
|
||||||
class Notification
|
class Notification
|
||||||
{
|
{
|
||||||
@ -70,7 +71,7 @@ class Notification
|
|||||||
private $relatedEntityId;
|
private $relatedEntityId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ORM\Column(type="boolean")
|
* @ORM\Column(type="json")
|
||||||
*/
|
*/
|
||||||
private $read;
|
private $read;
|
||||||
|
|
||||||
@ -168,12 +169,12 @@ class Notification
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRead(): ?bool
|
public function getRead(): array
|
||||||
{
|
{
|
||||||
return $this->read;
|
return $this->read;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setRead(bool $read): self
|
public function setRead(array $read): self
|
||||||
{
|
{
|
||||||
$this->read = $read;
|
$this->read = $read;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user