src/Entity/Organisateur.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\OrganisateurRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassOrganisateurRepository::class)]
  6. class Organisateur
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255)]
  13.     private ?string $title null;
  14.     #[ORM\Column(length255)]
  15.     private ?string $image null;
  16.     #[ORM\Column]
  17.     private ?int $orderBy null;
  18.     #[ORM\Column]
  19.     private ?bool $isEnabled true;
  20.     public function getId(): ?int
  21.     {
  22.         return $this->id;
  23.     }
  24.     public function getTitle(): ?string
  25.     {
  26.         return $this->title;
  27.     }
  28.     public function setTitle(string $title): self
  29.     {
  30.         $this->title $title;
  31.         return $this;
  32.     }
  33.     public function getImage(): ?string
  34.     {
  35.         return $this->image;
  36.     }
  37.     public function setImage(string $image): self
  38.     {
  39.         $this->image $image;
  40.         return $this;
  41.     }
  42.     public function getOrderBy(): ?int
  43.     {
  44.         return $this->orderBy;
  45.     }
  46.     public function setOrderBy(int $orderBy): self
  47.     {
  48.         $this->orderBy $orderBy;
  49.         return $this;
  50.     }
  51.     public function isIsEnabled(): ?bool
  52.     {
  53.         return $this->isEnabled;
  54.     }
  55.     public function setIsEnabled(bool $isEnabled): self
  56.     {
  57.         $this->isEnabled $isEnabled;
  58.         return $this;
  59.     }
  60. }