<?phpnamespace App\Entity;use App\Traits\CreatedUpdatedTrait;use Doctrine\ORM\Mapping as ORM;use App\Repository\AdminNotificationRepository;/** * @ORM\Table(name="v_admin_notification") * @ORM\Entity(repositoryClass=AdminNotificationRepository::class) */class AdminNotification{ const ADMIN_NOTIFICATION_TYPE_PICTURE_UPLOAD = 'PICTURE_UPLOAD'; /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $notificationType; /** * @ORM\Column(type="text") */ private $message; /** * @ORM\Column(type="json", nullable=true) */ private $arguments; /** * @ORM\Column(type="boolean") */ private $seen = false; use CreatedUpdatedTrait; public function getId(): ?int { return $this->id; } /** * @return mixed */ public function getNotificationType() { return $this->notificationType; } /** * @param mixed $notificationType */ public function setNotificationType($notificationType): void { $this->notificationType = $notificationType; } /** * @return bool */ public function isSeen(): ?bool { return $this->seen; } /** * @param bool $seen */ public function setSeen(?bool $seen): void { $this->seen = $seen; } /** * @return mixed */ public function getMessage() { return $this->message; } /** * @param mixed $message */ public function setMessage($message): void { $this->message = $message; } /** * @return mixed */ public function getArguments() { return $this->arguments; } /** * @param mixed $arguments */ public function setArguments($arguments): void { $this->arguments = $arguments; }}