<?php
namespace App\Entity;
use App\Repository\SliderRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=SliderRepository::class)
*/
class Slider
{
/**
* @ORM\Id()
* @ORM\GeneratedValue()
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $image1;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $image2;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $image3;
public function getId(): ?int
{
return $this->id;
}
public function getImage1()
{
return $this->image1;
}
public function setImage1($image1): self
{
$this->image1 = $image1;
return $this;
}
public function getImage2()
{
return $this->image2;
}
public function setImage2($image2): self
{
$this->image2 = $image2;
return $this;
}
public function getImage3()
{
return $this->image3;
}
public function setImage3($image3): self
{
$this->image3 = $image3;
return $this;
}
}