src/Entity/Slider.php line 9
<?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]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $photo = null;
#[ORM\Column(length: 255)]
private ?string $titre1 = null;
#[ORM\Column(length: 255)]
private ?string $titre2 = null;
#[ORM\Column(length: 255)]
private ?string $soustitre = null;
#[ORM\Column(length: 255)]
private ?string $url = null;
public function getId(): ?int
{
return $this->id;
}
public function getPhoto(): ?string
{
return $this->photo;
}
public function setPhoto(string $photo): self
{
$this->photo = $photo;
return $this;
}
public function getTitre1(): ?string
{
return $this->titre1;
}
public function setTitre1(string $titre1): self
{
$this->titre1 = $titre1;
return $this;
}
public function getTitre2(): ?string
{
return $this->titre2;
}
public function setTitre2(string $titre2): self
{
$this->titre2 = $titre2;
return $this;
}
public function getSoustitre(): ?string
{
return $this->soustitre;
}
public function setSoustitre(string $soustitre): self
{
$this->soustitre = $soustitre;
return $this;
}
public function getUrl(): ?string
{
return $this->url;
}
public function setUrl(string $url): self
{
$this->url = $url;
return $this;
}
}