src/Entity/Manifestation.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use DateImmutable;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. use App\Repository\ManifestationRepository;
  7. /**
  8.  * @ORM\Entity(repositoryClass=ManifestationRepository::class)
  9.  */
  10. class Manifestation
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\Column(type="string", length=255)
  20.      */
  21.     private $titre;
  22.     /**
  23.      * @ORM\Column(type="string", length=255)
  24.      */
  25.     private $type;
  26.     /**
  27.      * @ORM\Column(type="boolean")
  28.      */
  29.     private $isDeleted=false;
  30.     /**
  31.      * @ORM\Column(type="date_immutable")
  32.      */
  33.     private $date;
  34.     /**
  35.      * @ORM\Column(type="time_immutable")
  36.      */
  37.     private $time;
  38.     public function getId(): ?int
  39.     {
  40.         return $this->id;
  41.     }
  42.     public function getTitre(): ?string
  43.     {
  44.         return $this->titre;
  45.     }
  46.     public function setTitre(string $titre): self
  47.     {
  48.         $this->titre $titre;
  49.         return $this;
  50.     }
  51.     public function getType(): ?string
  52.     {
  53.         return $this->type;
  54.     }
  55.     public function setType(string $type): self
  56.     {
  57.         $this->type $type;
  58.         return $this;
  59.     }
  60.     public function getIsDeleted(): ?bool
  61.     {
  62.         return $this->isDeleted;
  63.     }
  64.     public function setIsDeleted(bool $isDeleted): self
  65.     {
  66.         $this->isDeleted $isDeleted;
  67.         return $this;
  68.     }
  69.     public function getDate(): ?\DateTimeImmutable
  70.     {
  71.         return $this->date;
  72.     }
  73.     public function setDate(\DateTimeImmutable $date): self
  74.     {
  75.         $this->date $date;
  76.         return $this;
  77.     }
  78.     public function getTime(): ?\DateTimeImmutable
  79.     {
  80.         return $this->time;
  81.     }
  82.     public function setTime(\DateTimeImmutable $time): self
  83.     {
  84.         $this->time $time;
  85.         return $this;
  86.     }
  87.     public function isIsDeleted(): ?bool
  88.     {
  89.         return $this->isDeleted;
  90.     }   
  91. }