<?php
namespace App\Entity;
use App\Repository\JobsRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=JobsRepository::class)
*/
class Jobs
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @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 $Reference;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $Lieu;
/**
* @ORM\OneToMany(targetEntity=Sections::class, mappedBy="Jobs")
*/
private $sections;
/**
* @ORM\ManyToOne(targetEntity=BusinessUnit::class, inversedBy="jobs")
* @ORM\JoinColumn(name="business_unit_id", referencedColumnName="id", onDelete="SET NULL")
*/
private $BusinessUnit;
/**
* @ORM\ManyToOne(targetEntity=LieuxJobs::class, inversedBy="jobs")
*/
private $LieuxJobs;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $Mission;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $MissionEn;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $ProfilFr;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $ProfilEn;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $PropositionFr;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $PropositionEn;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $Afficher;
public function __construct()
{
$this->sections = new ArrayCollection();
}
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 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 getReference(): ?string
{
return $this->Reference;
}
public function setReference(?string $Reference): self
{
$this->Reference = $Reference;
return $this;
}
public function getLieu(): ?string
{
return $this->Lieu;
}
public function setLieu(?string $Lieu): self
{
$this->Lieu = $Lieu;
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->setJobs($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->getJobs() === $this) {
$section->setJobs(null);
}
}
return $this;
}
public function getBusinessUnit(): ?BusinessUnit
{
return $this->BusinessUnit;
}
public function setBusinessUnit(?BusinessUnit $BusinessUnit): self
{
$this->BusinessUnit = $BusinessUnit;
return $this;
}
public function getLieuxJobs(): ?LieuxJobs
{
return $this->LieuxJobs;
}
public function setLieuxJobs(?LieuxJobs $LieuxJobs): self
{
$this->LieuxJobs = $LieuxJobs;
return $this;
}
public function getMission(): ?string
{
return $this->Mission;
}
public function setMission(?string $Mission): self
{
$this->Mission = $Mission;
return $this;
}
public function getMissionEn(): ?string
{
return $this->MissionEn;
}
public function setMissionEn(?string $MissionEn): self
{
$this->MissionEn = $MissionEn;
return $this;
}
public function getProfilFr(): ?string
{
return $this->ProfilFr;
}
public function setProfilFr(?string $ProfilFr): self
{
$this->ProfilFr = $ProfilFr;
return $this;
}
public function getProfilEn(): ?string
{
return $this->ProfilEn;
}
public function setProfilEn(?string $ProfilEn): self
{
$this->ProfilEn = $ProfilEn;
return $this;
}
public function getPropositionFr(): ?string
{
return $this->PropositionFr;
}
public function setPropositionFr(?string $PropositionFr): self
{
$this->PropositionFr = $PropositionFr;
return $this;
}
public function getPropositionEn(): ?string
{
return $this->PropositionEn;
}
public function setPropositionEn(?string $PropositionEn): self
{
$this->PropositionEn = $PropositionEn;
return $this;
}
public function getAfficher(): ?int
{
return $this->Afficher;
}
public function setAfficher(?int $Afficher): self
{
$this->Afficher = $Afficher;
return $this;
}
}