src/Entity/SliderHeader.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SliderHeaderRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=SliderHeaderRepository::class)
  7.  */
  8. class SliderHeader
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=255, nullable=true)
  18.      */
  19.     private $image1;
  20.     /**
  21.      * @ORM\Column(type="string", length=255, nullable=true)
  22.      */
  23.     private $image2;
  24.     /**
  25.      * @ORM\Column(type="string", length=255, nullable=true)
  26.      */
  27.     private $image3;
  28.     /**
  29.      * @ORM\Column(type="string", length=255, nullable=true)
  30.      */
  31.     private $image4;
  32.     /**
  33.      * @ORM\Column(type="string", length=255)
  34.      */
  35.     private $page;
  36.     public function getId(): ?int
  37.     {
  38.         return $this->id;
  39.     }
  40.     public function getImage1()
  41.     {
  42.         return $this->image1;
  43.     }
  44.     public function setImage1($image1): self
  45.     {
  46.         $this->image1 $image1;
  47.         return $this;
  48.     }
  49.     public function getImage2()
  50.     {
  51.         return $this->image2;
  52.     }
  53.     public function setImage2($image2): self
  54.     {
  55.         $this->image2 $image2;
  56.         return $this;
  57.     }
  58.     public function getImage3()
  59.     {
  60.         return $this->image3;
  61.     }
  62.     public function setImage3($image3): self
  63.     {
  64.         $this->image3 $image3;
  65.         return $this;
  66.     }
  67.     public function getImage4()
  68.     {
  69.         return $this->image4;
  70.     }
  71.     public function setImage4($image4): self
  72.     {
  73.         $this->image4 $image4;
  74.         return $this;
  75.     }
  76.     public function getPage(): ?string
  77.     {
  78.         return $this->page;
  79.     }
  80.     public function setPage(string $page): self
  81.     {
  82.         $this->page $page;
  83.         return $this;
  84.     }
  85. }