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

Open in your IDE?
  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. /**
  9.  * @ORM\Entity(repositoryClass=FormateurModuleRepository::class)
  10.  */
  11. class FormateurModule extends AbstractEntity
  12. {
  13.     /**
  14.      * @ORM\Column(type="string", nullable=true)
  15.      */
  16.     private ?string $tarif null;
  17.     /**
  18.      * @ORM\Column(type="decimal", precision=3, scale=2, nullable=true)
  19.      */
  20.     private ?int $note null;
  21.     /**
  22.      * @ORM\Column(type="decimal", precision=3, scale=2, nullable=true)
  23.      */
  24.     private ?int $noteAutoEval null;
  25.     /**
  26.      * @ORM\ManyToOne(targetEntity=Formateur::class, inversedBy="formateurModules")
  27.      * @ORM\JoinColumn(nullable=true, onDelete="CASCADE")
  28.      */
  29.     private ?Formateur $formateur null;
  30.     /**
  31.      * @ORM\ManyToOne(targetEntity=Module::class, inversedBy="formateurModules")
  32.      * @ORM\JoinColumn( nullable=true, onDelete="CASCADE" )
  33.      */
  34.     private ?Module $module null;
  35.     
  36.     /**
  37.     * @ORM\Column(type="boolean", nullable=true)
  38.     */
  39.     private ?bool $notified null;
  40.     public function getTarif(): ?string
  41.     {
  42.         return $this->tarif;
  43.     }
  44.     public function setTarif(?string $tarif): self
  45.     {
  46.         $this->tarif $tarif;
  47.         return $this;
  48.     }
  49.     public function getNote(): ?string
  50.     {
  51.         return $this->note;
  52.     }
  53.     public function setNote(?string $note): self
  54.     {
  55.         $this->note $note;
  56.         return $this;
  57.     }
  58.     public function getNoteAutoEval(): ?string
  59.     {
  60.         return $this->noteAutoEval;
  61.     }
  62.     public function setNoteAutoEval(?string $noteAutoEval): self
  63.     {
  64.         $this->noteAutoEval $noteAutoEval;
  65.         return $this;
  66.     }
  67.     public function getFormateur(): ?Formateur
  68.     {
  69.         return $this->formateur;
  70.     }
  71.     public function setFormateur(?Formateur $formateur): self
  72.     {
  73.         $this->formateur $formateur;
  74.         return $this;
  75.     }
  76.     public function getModule(): ?Module
  77.     {
  78.         return $this->module;
  79.     }
  80.     public function setModule(?Module $module): self
  81.     {
  82.         $this->module $module;
  83.         return $this;
  84.     }
  85.     public function getNotified(): ?bool
  86.     {
  87.       return $this->notified;
  88.     }
  89.     public function setNotified(?bool $notified): self
  90.     {
  91.         $this->notified $notified;
  92.         return $this;
  93.     }
  94. }