src/Entity/Gestiform/Admin/Cursus/CVdynamique.php line 15

  1. <?php
  2. namespace App\Entity\Gestiform\Admin\Cursus;
  3. use DateTime;
  4. use DateTimeInterface;
  5. use App\Entity\AbstractEntity;
  6. use App\Entity\Gestiform\Admin\MasterListe\Masterlistelg;
  7. use App\Entity\Gestiform\Formations\Dossier\Dossier;
  8. use App\Entity\Gestiform\Users\Personne;
  9. use App\Repository\Gestiform\Admin\Cursus\CVdynamiqueRepository;
  10. use Doctrine\ORM\Mapping as ORM;
  11. #[ORM\Entity(repositoryClassCVdynamiqueRepository::class)]
  12. class CVdynamique extends AbstractEntity
  13. {
  14.     #[ORM\Column(type'string'length255nullabletrue)]
  15.     private ?string $etablissement null;
  16.     #[ORM\Column(type'string'length255nullabletrue)]
  17.     private ?string $ville null;
  18.     #[ORM\Column(type'string'length255nullabletrue)]
  19.     private ?string $ecole null;
  20.     #[ORM\Column(type'string'length255nullabletrue)]
  21.     private ?string $diplome null;
  22.     #[ORM\Column(type'string'length255nullabletrue)]
  23.     private ?string $domaineEtude null;
  24.     #[ORM\Column(type'string'length255nullabletrue)]
  25.     private ?string $description null;
  26.     #[ORM\Column(type'datetime'nullabletrue)]
  27.     private ?DateTime $start null;
  28.     #[ORM\Column(type'datetime'nullabletrue)]
  29.     private ?DateTime $end null;
  30.     #[ORM\ManyToOne(targetEntityMasterlistelg::class)]
  31.     private ?Masterlistelg $typeLigne null;
  32.     #[ORM\JoinColumn(nullabletrue)]
  33.     #[ORM\ManyToOne(targetEntityDossier::class, inversedBy'cvDynamiques')]
  34.     private ?Dossier $dossier null;
  35.     #[ORM\JoinColumn(nullabletrue)]
  36.     #[ORM\ManyToOne(targetEntityPersonne::class, inversedBy'cvDynamiques')]
  37.     private ?Personne $personne null;
  38.     public function getDossier(): ?Dossier
  39.     {
  40.         return $this->dossier;
  41.     }
  42.     public function setDossier(?Dossier $dossier): self
  43.     {
  44.         $this->dossier $dossier;
  45.         return $this;
  46.     }
  47.     public function getEtablissement(): ?string
  48.     {
  49.         return $this->etablissement;
  50.     }
  51.     public function setEtablissement(?string $etablissement): self
  52.     {
  53.         $this->etablissement $etablissement;
  54.         return $this;
  55.     }
  56.     public function getVille(): ?string
  57.     {
  58.         return $this->ville;
  59.     }
  60.     public function setVille(?string $ville): self
  61.     {
  62.         $this->ville $ville;
  63.         return $this;
  64.     }
  65.     public function getDiplome(): ?string
  66.     {
  67.         return $this->diplome;
  68.     }
  69.     public function setDiplome(?string $diplome): self
  70.     {
  71.         $this->diplome $diplome;
  72.         return $this;
  73.     }
  74.     public function getDomaineEtude(): ?string
  75.     {
  76.         return $this->domaineEtude;
  77.     }
  78.     public function setDomaineEtude(?string $domaineEtude): self
  79.     {
  80.         $this->domaineEtude $domaineEtude;
  81.         return $this;
  82.     }
  83.     public function getDescription(): ?string
  84.     {
  85.         return $this->description;
  86.     }
  87.     public function setDescription(?string $description): self
  88.     {
  89.         $this->description $description;
  90.         return $this;
  91.     }
  92.     public function getStart(): ?DateTimeInterface
  93.     {
  94.         return $this->start;
  95.     }
  96.     public function setStart(?DateTimeInterface $start): self
  97.     {
  98.         $this->start $start;
  99.         return $this;
  100.     }
  101.     public function getEnd(): ?DateTimeInterface
  102.     {
  103.         return $this->end;
  104.     }
  105.     public function setEnd(?DateTimeInterface $end): self
  106.     {
  107.         $this->end $end;
  108.         return $this;
  109.     }
  110.     public function getTypeLigne(): ?Masterlistelg
  111.     {
  112.         return $this->typeLigne;
  113.     }
  114.     public function setTypeLigne(?Masterlistelg $typeLigne): self
  115.     {
  116.         $this->typeLigne $typeLigne;
  117.         return $this;
  118.     }
  119.     public function getEcole(): ?string
  120.     {
  121.         return $this->ecole;
  122.     }
  123.     public function setEcole(?string $ecole): self
  124.     {
  125.         $this->ecole $ecole;
  126.         return $this;
  127.     }
  128.     public function getPersonne(): ?Personne
  129.     {
  130.         return $this->personne;
  131.     }
  132.     public function setPersonne(?Personne $personne): self
  133.     {
  134.         $this->personne $personne;
  135.         return $this;
  136.     }
  137. }