<?php
namespace App\Entity;
use App\Repository\NotificationsRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: NotificationsRepository::class)]
class Notifications
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $text = null;
#[ORM\Column]
private ?int $type = null;
#[ORM\Column(nullable: true)]
private ?int $idObject = null;
#[ORM\Column]
private ?int $etat = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
private ?\DateTimeInterface $dateCreation = null;
#[ORM\Column(nullable: true)]
private ?int $idUser = null;
#[ORM\Column(nullable: true)]
private ?int $etatWarning = null;
#[ORM\Column(nullable: true)]
private ?int $idBure = null;
#[ORM\Column(nullable: true)]
private ?int $etat_show = null;
public function getId(): ?int
{
return $this->id;
}
public function getText(): ?string
{
return $this->text;
}
public function setText(string $text): static
{
$this->text = $text;
return $this;
}
public function getType(): ?int
{
return $this->type;
}
public function setType(int $type): static
{
$this->type = $type;
return $this;
}
public function getIdObject(): ?int
{
return $this->idObject;
}
public function setIdObject(?int $idObject): static
{
$this->idObject = $idObject;
return $this;
}
public function getEtat(): ?int
{
return $this->etat;
}
public function setEtat(int $etat): static
{
$this->etat = $etat;
return $this;
}
public function getDateCreation(): ?\DateTimeInterface
{
return $this->dateCreation;
}
public function setDateCreation(\DateTimeInterface $dateCreation): static
{
$this->dateCreation = $dateCreation;
return $this;
}
public function getIdUser(): ?int
{
return $this->idUser;
}
public function setIdUser(?int $idUser): static
{
$this->idUser = $idUser;
return $this;
}
public function getEtatWarning(): ?int
{
return $this->etatWarning;
}
public function setEtatWarning(?int $etatWarning): static
{
$this->etatWarning = $etatWarning;
return $this;
}
public function getIdBure(): ?int
{
return $this->idBure;
}
public function setIdBure(?int $idBure): static
{
$this->idBure = $idBure;
return $this;
}
public function getEtatShow(): ?int
{
return $this->etat_show;
}
public function setEtatShow(int $etat_show): static
{
$this->etat_show = $etat_show;
return $this;
}
}