src/Entity/Notifications.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\NotificationsRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassNotificationsRepository::class)]
  7. class Notifications
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $text null;
  15.     #[ORM\Column]
  16.     private ?int $type null;
  17.     #[ORM\Column(nullabletrue)]
  18.     private ?int $idObject null;
  19.     #[ORM\Column]
  20.     private ?int $etat null;
  21.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  22.     private ?\DateTimeInterface $dateCreation null;
  23.     #[ORM\Column(nullabletrue)]
  24.     private ?int $idUser null;
  25.     #[ORM\Column(nullabletrue)]
  26.     private ?int $etatWarning null;
  27.     #[ORM\Column(nullabletrue)]
  28.     private ?int $idBure null;
  29.     #[ORM\Column(nullabletrue)]
  30.     private ?int $etat_show null;
  31.     public function getId(): ?int
  32.     {
  33.         return $this->id;
  34.     }
  35.     public function getText(): ?string
  36.     {
  37.         return $this->text;
  38.     }
  39.     public function setText(string $text): static
  40.     {
  41.         $this->text $text;
  42.         return $this;
  43.     }
  44.     public function getType(): ?int
  45.     {
  46.         return $this->type;
  47.     }
  48.     public function setType(int $type): static
  49.     {
  50.         $this->type $type;
  51.         return $this;
  52.     }
  53.     public function getIdObject(): ?int
  54.     {
  55.         return $this->idObject;
  56.     }
  57.     public function setIdObject(?int $idObject): static
  58.     {
  59.         $this->idObject $idObject;
  60.         return $this;
  61.     }
  62.     public function getEtat(): ?int
  63.     {
  64.         return $this->etat;
  65.     }
  66.     public function setEtat(int $etat): static
  67.     {
  68.         $this->etat $etat;
  69.         return $this;
  70.     }
  71.     public function getDateCreation(): ?\DateTimeInterface
  72.     {
  73.         return $this->dateCreation;
  74.     }
  75.     public function setDateCreation(\DateTimeInterface $dateCreation): static
  76.     {
  77.         $this->dateCreation $dateCreation;
  78.         return $this;
  79.     }
  80.     public function getIdUser(): ?int
  81.     {
  82.         return $this->idUser;
  83.     }
  84.     public function setIdUser(?int $idUser): static
  85.     {
  86.         $this->idUser $idUser;
  87.         return $this;
  88.     }
  89.     public function getEtatWarning(): ?int
  90.     {
  91.         return $this->etatWarning;
  92.     }
  93.     public function setEtatWarning(?int $etatWarning): static
  94.     {
  95.         $this->etatWarning $etatWarning;
  96.         return $this;
  97.     }
  98.     public function getIdBure(): ?int
  99.     {
  100.         return $this->idBure;
  101.     }
  102.     public function setIdBure(?int $idBure): static
  103.     {
  104.         $this->idBure $idBure;
  105.         return $this;
  106.     }
  107.     public function getEtatShow(): ?int
  108.     {
  109.         return $this->etat_show;
  110.     }
  111.     public function setEtatShow(int $etat_show): static
  112.     {
  113.         $this->etat_show $etat_show;
  114.         return $this;
  115.     }
  116. }