<?php
namespace App\Entity\Gestiform\Formations\Formateur;
use App\Entity\AbstractEntity;
use App\Entity\Gestiform\Formations\Catalogue\Module\Module;
use App\Entity\Gestiform\Users\Formateur;
use App\Repository\Gestiform\Formations\Formateur\FormateurModuleRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=FormateurModuleRepository::class)
*/
class FormateurModule extends AbstractEntity
{
/**
* @ORM\Column(type="string", nullable=true)
*/
private ?string $tarif = null;
/**
* @ORM\Column(type="decimal", precision=3, scale=2, nullable=true)
*/
private ?int $note = null;
/**
* @ORM\Column(type="decimal", precision=3, scale=2, nullable=true)
*/
private ?int $noteAutoEval = null;
/**
* @ORM\ManyToOne(targetEntity=Formateur::class, inversedBy="formateurModules")
* @ORM\JoinColumn(nullable=true, onDelete="CASCADE")
*/
private ?Formateur $formateur = null;
/**
* @ORM\ManyToOne(targetEntity=Module::class, inversedBy="formateurModules")
* @ORM\JoinColumn( nullable=true, onDelete="CASCADE" )
*/
private ?Module $module = null;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private ?bool $notified = null;
public function getTarif(): ?string
{
return $this->tarif;
}
public function setTarif(?string $tarif): self
{
$this->tarif = $tarif;
return $this;
}
public function getNote(): ?string
{
return $this->note;
}
public function setNote(?string $note): self
{
$this->note = $note;
return $this;
}
public function getNoteAutoEval(): ?string
{
return $this->noteAutoEval;
}
public function setNoteAutoEval(?string $noteAutoEval): self
{
$this->noteAutoEval = $noteAutoEval;
return $this;
}
public function getFormateur(): ?Formateur
{
return $this->formateur;
}
public function setFormateur(?Formateur $formateur): self
{
$this->formateur = $formateur;
return $this;
}
public function getModule(): ?Module
{
return $this->module;
}
public function setModule(?Module $module): self
{
$this->module = $module;
return $this;
}
public function getNotified(): ?bool
{
return $this->notified;
}
public function setNotified(?bool $notified): self
{
$this->notified = $notified;
return $this;
}
}