<?php
namespace App\Entity\Gestiform\Formations\Dossier;
use App\Entity\AbstractEntity;
use App\Entity\Gestiform\Admin\MasterListe\Masterlistelg;
use App\Entity\Gestiform\Admin\Tiers;
use App\Entity\Gestiform\Users\Formateur;
use App\Repository\Gestiform\Formations\Dossier\HistoriqueCommentRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=HistoriqueCommentRepository::class)
*/
class HistoriqueComment extends AbstractEntity
{
/**
* @ORM\Column(type="text", nullable=true)
*/
private ?string $text = null;
/**
* @ORM\ManyToOne(targetEntity=Dossier::class, inversedBy="historiqueComments")
*/
private Dossier $dossier;
/**
* @ORM\ManyToOne(targetEntity=Tiers::class, inversedBy="historiqueComments")
*/
private Tiers $tiers;
/**
* @ORM\ManyToOne(targetEntity=Formateur::class, inversedBy="historiqueComments")
*/
private Formateur $formateur;
/**
* @ORM\ManyToOne(targetEntity=Masterlistelg::class)
* @ORM\JoinColumn(nullable=true)
*/
private ?Masterlistelg $categorie = null;
public function getText(): ?string
{
return $this->text;
}
public function setText(?string $text): self
{
$this->text = $text;
return $this;
}
public function getDossier(): ?Dossier
{
return $this->dossier;
}
public function setDossier(?Dossier $dossier): self
{
$this->dossier = $dossier;
return $this;
}
public function getCategorie(): ?Masterlistelg
{
return $this->categorie;
}
public function setCategorie(?Masterlistelg $categorie): self
{
$this->categorie = $categorie;
return $this;
}
public function getTiers(): Tiers
{
return $this->tiers;
}
public function setTiers(Tiers $tiers): self
{
$this->tiers = $tiers;
return $this;
}
public function getFormateur(): Formateur
{
return $this->formateur;
}
public function setFormateur(Formateur $formateur): self
{
$this->formateur = $formateur;
return $this;
}
}