<?php
namespace App\Entity;
use App\Repository\FormationsRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=FormationsRepository::class)
*/
class Formations
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $Reference;
/**
* @ORM\Column(type="date", nullable=true)
*/
private $Date;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $TitreFr;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $TitreEN;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $TexteFr;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $TexteEn;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $Image;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $Duree;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $NbParticipants;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $DelaiFr;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $DelaiEn;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $Langues;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $PublicFr;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $PublicEn;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $Tarifs;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $DistanceFr;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $DistanceEn;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $LieuFr;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $LieuEn;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $MoyenFr;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $MoyenEn;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $SuviFr;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $SuiviEn;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $AccessibiliteFr;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $AccessibiliteEn;
/**
* @ORM\OneToMany(targetEntity=Sections::class, mappedBy="Formations")
*/
private $sections;
/**
* @ORM\OneToMany(targetEntity=SessionsFormations::class, mappedBy="Formations")
*/
private $sessionsFormations;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $ModaliteFr;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $ModaliteEn;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $Handicape;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $Malentendant;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $TarifsIntraFr;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $TarifsIntraEn;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $ObjectifsFr;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $ObjectifsEn;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $PrerequisFr;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $PrerequisEn;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $ContenusFr;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $ContenusEn;
/**
* @ORM\ManyToOne(targetEntity=TypesFormations::class, inversedBy="formations")
*/
private $TypesFormations;
/**
* @ORM\ManyToOne(targetEntity=SujetsFormations::class, inversedBy="formations")
*/
private $SujetsFormations;
/**
* @ORM\ManyToOne(targetEntity=LogicielsFormations::class, inversedBy="formations")
*/
private $LogicielsFormations;
/**
* @ORM\ManyToOne(targetEntity=VersionsFormations::class, inversedBy="formations")
*/
private $VersionsFormations;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $LanguesEn;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $DureeEn;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $NbParticipantsEn;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $TarifsEn;
/**
* @ORM\ManyToOne(targetEntity=CategoriesFormations::class, inversedBy="formations")
*/
private $CategoriesFormations;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $Afficher;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $Ordre;
public function __construct()
{
$this->sections = new ArrayCollection();
$this->sessionsFormations = new ArrayCollection();
}
public function getId(): ?int
{
return $this->id;
}
public function getReference(): ?string
{
return $this->Reference;
}
public function setReference(?string $Reference): self
{
$this->Reference = $Reference;
return $this;
}
public function getDate(): ?\DateTimeInterface
{
return $this->Date;
}
public function setDate(?\DateTimeInterface $Date): self
{
$this->Date = $Date;
return $this;
}
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 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 getImage(): ?string
{
return $this->Image;
}
public function setImage(?string $Image): self
{
$this->Image = $Image;
return $this;
}
public function getDuree(): ?string
{
return $this->Duree;
}
public function setDuree(?string $Duree): self
{
$this->Duree = $Duree;
return $this;
}
public function getNbParticipants(): ?string
{
return $this->NbParticipants;
}
public function setNbParticipants(?string $NbParticipants): self
{
$this->NbParticipants = $NbParticipants;
return $this;
}
public function getDelaiFr(): ?string
{
return $this->DelaiFr;
}
public function setDelaiFr(?string $DelaiFr): self
{
$this->DelaiFr = $DelaiFr;
return $this;
}
public function getDelaiEn(): ?string
{
return $this->DelaiEn;
}
public function setDelaiEn(?string $DelaiEn): self
{
$this->DelaiEn = $DelaiEn;
return $this;
}
public function getLangues(): ?string
{
return $this->Langues;
}
public function setLangues(?string $Langues): self
{
$this->Langues = $Langues;
return $this;
}
public function getPublicFr(): ?string
{
return $this->PublicFr;
}
public function setPublicFr(?string $PublicFr): self
{
$this->PublicFr = $PublicFr;
return $this;
}
public function getPublicEn(): ?string
{
return $this->PublicEn;
}
public function setPublicEn(?string $PublicEn): self
{
$this->PublicEn = $PublicEn;
return $this;
}
public function getTarifs(): ?string
{
return $this->Tarifs;
}
public function setTarifs(?string $Tarifs): self
{
$this->Tarifs = $Tarifs;
return $this;
}
public function getDistanceFr(): ?string
{
return $this->DistanceFr;
}
public function setDistanceFr(?string $DistanceFr): self
{
$this->DistanceFr = $DistanceFr;
return $this;
}
public function getDistanceEn(): ?string
{
return $this->DistanceEn;
}
public function setDistanceEn(?string $DistanceEn): self
{
$this->DistanceEn = $DistanceEn;
return $this;
}
public function getLieuFr(): ?string
{
return $this->LieuFr;
}
public function setLieuFr(?string $LieuFr): self
{
$this->LieuFr = $LieuFr;
return $this;
}
public function getLieuEn(): ?string
{
return $this->LieuEn;
}
public function setLieuEn(?string $LieuEn): self
{
$this->LieuEn = $LieuEn;
return $this;
}
public function getMoyenFr(): ?string
{
return $this->MoyenFr;
}
public function setMoyenFr(?string $MoyenFr): self
{
$this->MoyenFr = $MoyenFr;
return $this;
}
public function getMoyenEn(): ?string
{
return $this->MoyenEn;
}
public function setMoyenEn(?string $MoyenEn): self
{
$this->MoyenEn = $MoyenEn;
return $this;
}
public function getSuviFr(): ?string
{
return $this->SuviFr;
}
public function setSuviFr(?string $SuviFr): self
{
$this->SuviFr = $SuviFr;
return $this;
}
public function getSuiviEn(): ?string
{
return $this->SuiviEn;
}
public function setSuiviEn(?string $SuiviEn): self
{
$this->SuiviEn = $SuiviEn;
return $this;
}
public function getAccessibiliteFr(): ?string
{
return $this->AccessibiliteFr;
}
public function setAccessibiliteFr(?string $AccessibiliteFr): self
{
$this->AccessibiliteFr = $AccessibiliteFr;
return $this;
}
public function getAccessibiliteEn(): ?string
{
return $this->AccessibiliteEn;
}
public function setAccessibiliteEn(?string $AccessibiliteEn): self
{
$this->AccessibiliteEn = $AccessibiliteEn;
return $this;
}
/**
* @return Collection<int, Sections>
*/
public function getSections(): Collection
{
return $this->sections;
}
public function addSection(Sections $section): self
{
if (!$this->sections->contains($section)) {
$this->sections[] = $section;
$section->setFormations($this);
}
return $this;
}
public function removeSection(Sections $section): self
{
if ($this->sections->removeElement($section)) {
// set the owning side to null (unless already changed)
if ($section->getFormations() === $this) {
$section->setFormations(null);
}
}
return $this;
}
/**
* @return <int, SessionsFormations>
*/
public function getSessionsFormations(): Collection
{
return $this->sessionsFormations;
}
public function addSessionsFormation(SessionsFormations $sessionsFormation): self
{
if (!$this->sessionsFormations->contains($sessionsFormation)) {
$this->sessionsFormations[] = $sessionsFormation;
$sessionsFormation->setFormations($this);
}
return $this;
}
public function removeSessionsFormation(SessionsFormations $sessionsFormation): self
{
if ($this->sessionsFormations->removeElement($sessionsFormation)) {
// set the owning side to null (unless already changed)
if ($sessionsFormation->getFormations() === $this) {
$sessionsFormation->setFormations(null);
}
}
return $this;
}
public function getModaliteFr(): ?string
{
return $this->ModaliteFr;
}
public function setModaliteFr(?string $ModaliteFr): self
{
$this->ModaliteFr = $ModaliteFr;
return $this;
}
public function getModaliteEn(): ?string
{
return $this->ModaliteEn;
}
public function setModaliteEn(?string $ModaliteEn): self
{
$this->ModaliteEn = $ModaliteEn;
return $this;
}
public function isHandicape(): ?bool
{
return $this->Handicape;
}
public function setHandicape(?bool $Handicape): self
{
$this->Handicape = $Handicape;
return $this;
}
public function isMalentendant(): ?bool
{
return $this->Malentendant;
}
public function setMalentendant(?bool $Malentendant): self
{
$this->Malentendant = $Malentendant;
return $this;
}
public function getTarifsIntraFr(): ?string
{
return $this->TarifsIntraFr;
}
public function setTarifsIntraFr(?string $TarifsIntraFr): self
{
$this->TarifsIntraFr = $TarifsIntraFr;
return $this;
}
public function getTarifsIntraEn(): ?string
{
return $this->TarifsIntraEn;
}
public function setTarifsIntraEn(?string $TarifsIntraEn): self
{
$this->TarifsIntraEn = $TarifsIntraEn;
return $this;
}
public function getObjectifsFr(): ?string
{
return $this->ObjectifsFr;
}
public function setObjectifsFr(?string $ObjectifsFr): self
{
$this->ObjectifsFr = $ObjectifsFr;
return $this;
}
public function getObjectifsEn(): ?string
{
return $this->ObjectifsEn;
}
public function setObjectifsEn(?string $ObjectifsEn): self
{
$this->ObjectifsEn = $ObjectifsEn;
return $this;
}
public function getPrerequisFr(): ?string
{
return $this->PrerequisFr;
}
public function setPrerequisFr(?string $PrerequisFr): self
{
$this->PrerequisFr = $PrerequisFr;
return $this;
}
public function getPrerequisEn(): ?string
{
return $this->PrerequisEn;
}
public function setPrerequisEn(?string $PrerequisEn): self
{
$this->PrerequisEn = $PrerequisEn;
return $this;
}
public function getContenusFr(): ?string
{
return $this->ContenusFr;
}
public function setContenusFr(?string $ContenusFr): self
{
$this->ContenusFr = $ContenusFr;
return $this;
}
public function getContenusEn(): ?string
{
return $this->ContenusEn;
}
public function setContenusEn(?string $ContenusEn): self
{
$this->ContenusEn = $ContenusEn;
return $this;
}
public function getTypesFormations(): ?TypesFormations
{
return $this->TypesFormations;
}
public function setTypesFormations(?TypesFormations $TypesFormations): self
{
$this->TypesFormations = $TypesFormations;
return $this;
}
public function getSujetsFormations(): ?SujetsFormations
{
return $this->SujetsFormations;
}
public function setSujetsFormations(?SujetsFormations $SujetsFormations): self
{
$this->SujetsFormations = $SujetsFormations;
return $this;
}
public function getLogicielsFormations(): ?LogicielsFormations
{
return $this->LogicielsFormations;
}
public function setLogicielsFormations(?LogicielsFormations $LogicielsFormations): self
{
$this->LogicielsFormations = $LogicielsFormations;
return $this;
}
public function getVersionsFormations(): ?VersionsFormations
{
return $this->VersionsFormations;
}
public function setVersionsFormations(?VersionsFormations $VersionsFormations): self
{
$this->VersionsFormations = $VersionsFormations;
return $this;
}
public function getLanguesEn(): ?string
{
return $this->LanguesEn;
}
public function setLanguesEn(?string $LanguesEn): self
{
$this->LanguesEn = $LanguesEn;
return $this;
}
public function getDureeEn(): ?string
{
return $this->DureeEn;
}
public function setDureeEn(?string $DureeEn): self
{
$this->DureeEn = $DureeEn;
return $this;
}
public function getNbParticipantsEn(): ?string
{
return $this->NbParticipantsEn;
}
public function setNbParticipantsEn(?string $NbParticipantsEn): self
{
$this->NbParticipantsEn = $NbParticipantsEn;
return $this;
}
public function getTarifsEn(): ?string
{
return $this->TarifsEn;
}
public function setTarifsEn(?string $TarifsEn): self
{
$this->TarifsEn = $TarifsEn;
return $this;
}
public function getCategoriesFormations(): ?CategoriesFormations
{
return $this->CategoriesFormations;
}
public function setCategoriesFormations(?CategoriesFormations $CategoriesFormations): self
{
$this->CategoriesFormations = $CategoriesFormations;
return $this;
}
public function getAfficher(): ?int
{
return $this->Afficher;
}
public function setAfficher(?int $Afficher): self
{
$this->Afficher = $Afficher;
return $this;
}
public function getOrdre(): ?int
{
return $this->Ordre;
}
public function setOrdre(?int $Ordre): self
{
$this->Ordre = $Ordre;
return $this;
}
}