<?php
namespace App\Entity\Gestiform\Admin\Cursus;
use App\Entity\AbstractEntity;
use App\Entity\Gestiform\Admin\MasterListe\Masterlistelg;
use App\Entity\Gestiform\Formations\Dossier\Dossier;
use App\Entity\Gestiform\Users\Personne;
use App\Repository\Gestiform\Admin\Cursus\CVdynamiqueRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=CVdynamiqueRepository::class)
*/
class CVdynamique extends AbstractEntity
{
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private ?string $etablissement = null;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private ?string $ville = null;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private ?string $ecole = null;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private ?string $diplome = null;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private ?string $domaineEtude = null;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private ?string $description = null;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private ?\DateTime $start = null;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private ?\DateTime $end = null;
/**
* @ORM\ManyToOne(targetEntity=Masterlistelg::class)
*/
private ?Masterlistelg $typeLigne = null;
/**
* @ORM\ManyToOne(targetEntity=Dossier::class, inversedBy="cvDynamiques")
* @ORM\JoinColumn(nullable=true)
*/
private ?Dossier $dossier = null;
/**
* @ORM\ManyToOne(targetEntity=Personne::class, inversedBy="cvDynamiques")
* @ORM\JoinColumn(nullable=true)
*/
private ?Personne $personne = null;
public function getDossier(): ?Dossier
{
return $this->dossier;
}
public function setDossier(?Dossier $dossier): self
{
$this->dossier = $dossier;
return $this;
}
public function getEtablissement(): ?string
{
return $this->etablissement;
}
public function setEtablissement(?string $etablissement): self
{
$this->etablissement = $etablissement;
return $this;
}
public function getVille(): ?string
{
return $this->ville;
}
public function setVille(?string $ville): self
{
$this->ville = $ville;
return $this;
}
public function getDiplome(): ?string
{
return $this->diplome;
}
public function setDiplome(?string $diplome): self
{
$this->diplome = $diplome;
return $this;
}
public function getDomaineEtude(): ?string
{
return $this->domaineEtude;
}
public function setDomaineEtude(?string $domaineEtude): self
{
$this->domaineEtude = $domaineEtude;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(?string $description): self
{
$this->description = $description;
return $this;
}
public function getStart(): ?\DateTimeInterface
{
return $this->start;
}
public function setStart(?\DateTimeInterface $start): self
{
$this->start = $start;
return $this;
}
public function getEnd(): ?\DateTimeInterface
{
return $this->end;
}
public function setEnd(?\DateTimeInterface $end): self
{
$this->end = $end;
return $this;
}
public function getTypeLigne(): ?Masterlistelg
{
return $this->typeLigne;
}
public function setTypeLigne(?Masterlistelg $typeLigne): self
{
$this->typeLigne = $typeLigne;
return $this;
}
public function getEcole(): ?string
{
return $this->ecole;
}
public function setEcole(?string $ecole): self
{
$this->ecole = $ecole;
return $this;
}
public function getPersonne(): ?Personne
{
return $this->personne;
}
public function setPersonne(?Personne $personne): self
{
$this->personne = $personne;
return $this;
}
}