<?php
namespace App\Entity;
use App\Repository\CarouselsRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=CarouselsRepository::class)
*/
class Carousels
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $TitreFr;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $TitreEn;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $Image;
/**
* @ORM\ManyToOne(targetEntity=Contenus::class, inversedBy="carousels")
*/
private $Contenus;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $TexteFr;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $TexteEn;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $Ordre;
public function getId(): ?int
{
return $this->id;
}
public function getTitreFr(): ?string
{
return $this->TitreFr;
}
public function setTitreFr(?string $TitreFr): self
{
$this->TitreFr = $TitreFr;
return $this;
}
public function getTitreEn(): ?string
{
return $this->TitreEn;
}
public function setTitreEn(?string $TitreEn): self
{
$this->TitreEn = $TitreEn;
return $this;
}
public function getImage(): ?string
{
return $this->Image;
}
public function setImage(?string $Image): self
{
$this->Image = $Image;
return $this;
}
public function getContenus(): ?Contenus
{
return $this->Contenus;
}
public function setContenus(?Contenus $Contenus): self
{
$this->Contenus = $Contenus;
return $this;
}
public function getTexteFr(): ?string
{
return $this->TexteFr;
}
public function setTexteFr(?string $TexteFr): self
{
$this->TexteFr = $TexteFr;
return $this;
}
public function getTexteEn(): ?string
{
return $this->TexteEn;
}
public function setTexteEn(?string $TexteEn): self
{
$this->TexteEn = $TexteEn;
return $this;
}
public function getOrdre(): ?int
{
return $this->Ordre;
}
public function setOrdre(?int $Ordre): self
{
$this->Ordre = $Ordre;
return $this;
}
}