src/Entity/Gestiform/Formations/Formateur/FormateurModule.php line 14

  1. <?php
  2. namespace App\Entity\Gestiform\Formations\Formateur;
  3. use App\Entity\AbstractEntity;
  4. use App\Entity\Gestiform\Formations\Catalogue\Module\Module;
  5. use App\Entity\Gestiform\Users\Formateur;
  6. use App\Repository\Gestiform\Formations\Formateur\FormateurModuleRepository;
  7. use Doctrine\ORM\Mapping as ORM;
  8. #[ORM\Entity(repositoryClassFormateurModuleRepository::class)]
  9. class FormateurModule extends AbstractEntity
  10. {
  11.     #[ORM\Column(type'string'nullabletrue)]
  12.     private ?string $tarif null;
  13.     #[ORM\Column(type'decimal'precision3scale2nullabletrue)]
  14.     private ?int $note null;
  15.     #[ORM\Column(type'decimal'precision3scale2nullabletrue)]
  16.     private ?int $noteAutoEval null;
  17.     #[ORM\JoinColumn(nullabletrueonDelete'CASCADE')]
  18.     #[ORM\ManyToOne(targetEntityFormateur::class, inversedBy'formateurModules')]
  19.     private ?Formateur $formateur null;
  20.     #[ORM\JoinColumn(nullabletrueonDelete'CASCADE')]
  21.     #[ORM\ManyToOne(targetEntityModule::class, inversedBy'formateurModules')]
  22.     private ?Module $module null;
  23.     
  24.     #[ORM\Column(type'boolean'nullabletrue)]
  25.     private ?bool $notified null;
  26.     public function getTarif(): ?string
  27.     {
  28.         return $this->tarif;
  29.     }
  30.     public function setTarif(?string $tarif): self
  31.     {
  32.         $this->tarif $tarif;
  33.         return $this;
  34.     }
  35.     public function getNote(): ?string
  36.     {
  37.         return $this->note;
  38.     }
  39.     public function setNote(?string $note): self
  40.     {
  41.         $this->note $note;
  42.         return $this;
  43.     }
  44.     public function getNoteAutoEval(): ?string
  45.     {
  46.         return $this->noteAutoEval;
  47.     }
  48.     public function setNoteAutoEval(?string $noteAutoEval): self
  49.     {
  50.         $this->noteAutoEval $noteAutoEval;
  51.         return $this;
  52.     }
  53.     public function getFormateur(): ?Formateur
  54.     {
  55.         return $this->formateur;
  56.     }
  57.     public function setFormateur(?Formateur $formateur): self
  58.     {
  59.         $this->formateur $formateur;
  60.         return $this;
  61.     }
  62.     public function getModule(): ?Module
  63.     {
  64.         return $this->module;
  65.     }
  66.     public function setModule(?Module $module): self
  67.     {
  68.         $this->module $module;
  69.         return $this;
  70.     }
  71.     public function getNotified(): ?bool
  72.     {
  73.       return $this->notified;
  74.     }
  75.     public function setNotified(?bool $notified): self
  76.     {
  77.         $this->notified $notified;
  78.         return $this;
  79.     }
  80. }