<?php
namespace App\Entity;
use App\Repository\NotificationCronRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=NotificationCronRepository::class)
*/
class NotificationCron
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $content;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $titre;
/**
* @ORM\Column(type="string", length=1, nullable=true)
*/
private $seen;
/**
* @ORM\Column(type="datetime_immutable", nullable=true)
*/
private $createdAt;
public function getId(): ?int
{
return $this->id;
}
public function getContent(): ?string
{
return $this->content;
}
public function setContent(?string $content): self
{
$this->content = $content;
return $this;
}
public function getTitre(): ?string
{
return $this->titre;
}
public function setTitre(?string $content): self
{
$this->titre = $content;
return $this;
}
public function getSeen(): ?string
{
return $this->seen;
}
public function setSeen(?string $seen): self
{
$this->seen = $seen;
return $this;
}
public function getCreatedAt(): ?\DateTimeImmutable
{
return $this->createdAt;
}
public function setCreatedAt(?\DateTimeImmutable $createdAt): self
{
$this->createdAt = $createdAt;
return $this;
}
}