src/Entity/Gallery.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\GalleryRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassGalleryRepository::class)]
  6. class Gallery
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255)]
  13.     private ?string $image null;
  14.     #[ORM\Column(length255)]
  15.     private ?string $image2 null;
  16.     #[ORM\Column(length255)]
  17.     private ?string $image3 null;
  18.     public function getId(): ?int
  19.     {
  20.         return $this->id;
  21.     }
  22.     public function getImage(): ?string
  23.     {
  24.         return $this->image;
  25.     }
  26.     public function setImage(string $image): self
  27.     {
  28.         $this->image $image;
  29.         return $this;
  30.     }
  31.     public function getImage2(): ?string
  32.     {
  33.         return $this->image2;
  34.     }
  35.     public function setImage2(string $image2): self
  36.     {
  37.         $this->image2 $image2;
  38.         return $this;
  39.     }
  40.     public function getImage3(): ?string
  41.     {
  42.         return $this->image3;
  43.     }
  44.     public function setImage3(string $image3): self
  45.     {
  46.         $this->image3 $image3;
  47.         return $this;
  48.     }
  49. }