<?php
namespace App\Entity;
use App\Repository\AccordeonsRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=AccordeonsRepository::class)
*/
class Accordeons
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $TitreFr;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $TexteFr;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $TitreEn;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $TexteEn;
/**
* @ORM\ManyToOne(targetEntity=Contenus::class, inversedBy="accordeons")
*/
private $Contenus;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $Background;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $titreAccordeonFr;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $titreAccordeonEn;
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 getTexteFr(): ?string
{
return $this->TexteFr;
}
public function setTexteFr(?string $TexteFr): self
{
$this->TexteFr = $TexteFr;
return $this;
}
public function getTitreEn(): ?string
{
return $this->TitreEn;
}
public function setTitreEn(?string $TitreEn): self
{
$this->TitreEn = $TitreEn;
return $this;
}
public function getTexteEn(): ?string
{
return $this->TexteEn;
}
public function setTexteEn(?string $TexteEn): self
{
$this->TexteEn = $TexteEn;
return $this;
}
public function getBackground(): ?string
{
return $this->Background;
}
public function setBackground(?string $Background): self
{
$this->Background = $Background;
return $this;
}
public function getContenus(): ?Contenus
{
return $this->Contenus;
}
public function setContenus(?Contenus $Contenus): self
{
$this->Contenus = $Contenus;
return $this;
}
public function getTitreAccordeonFr(): ?string
{
return $this->titreAccordeonFr;
}
public function setTitreAccordeonFr(?string $titreAccordeonFr): self
{
$this->titreAccordeonFr = $titreAccordeonFr;
return $this;
}
public function getTitreAccordeonEn(): ?string
{
return $this->titreAccordeonEn;
}
public function setTitreAccordeonEn(?string $titreAccordeonEn): self
{
$this->titreAccordeonEn = $titreAccordeonEn;
return $this;
}
}