src/Entity/Gestiform/Formations/Dossier/HistoriqueComment.php line 16

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gestiform\Formations\Dossier;
  3. use App\Entity\AbstractEntity;
  4. use App\Entity\Gestiform\Admin\MasterListe\Masterlistelg;
  5. use App\Entity\Gestiform\Admin\Tiers;
  6. use App\Entity\Gestiform\Users\Formateur;
  7. use App\Repository\Gestiform\Formations\Dossier\HistoriqueCommentRepository;
  8. use Doctrine\DBAL\Types\Types;
  9. use Doctrine\ORM\Mapping as ORM;
  10. /**
  11.  * @ORM\Entity(repositoryClass=HistoriqueCommentRepository::class)
  12.  */
  13. class HistoriqueComment extends AbstractEntity
  14. {
  15.     /**
  16.      * @ORM\Column(type="text", nullable=true)
  17.      */
  18.     private ?string $text null;
  19.     /**
  20.      * @ORM\ManyToOne(targetEntity=Dossier::class, inversedBy="historiqueComments")
  21.      */
  22.     private Dossier $dossier;
  23.     /**
  24.      * @ORM\ManyToOne(targetEntity=Tiers::class, inversedBy="historiqueComments")
  25.      */
  26.     private Tiers $tiers;
  27.     /**
  28.      * @ORM\ManyToOne(targetEntity=Formateur::class, inversedBy="historiqueComments")
  29.      */
  30.     private Formateur $formateur;
  31.     /**
  32.      * @ORM\ManyToOne(targetEntity=Masterlistelg::class)
  33.      * @ORM\JoinColumn(nullable=true)
  34.      */
  35.     private ?Masterlistelg $categorie null;
  36.     public function getText(): ?string
  37.     {
  38.         return $this->text;
  39.     }
  40.     public function setText(?string $text): self
  41.     {
  42.         $this->text $text;
  43.         return $this;
  44.     }
  45.     public function getDossier(): ?Dossier
  46.     {
  47.         return $this->dossier;
  48.     }
  49.     public function setDossier(?Dossier $dossier): self
  50.     {
  51.         $this->dossier $dossier;
  52.         return $this;
  53.     }
  54.     public function getCategorie(): ?Masterlistelg
  55.     {
  56.         return $this->categorie;
  57.     }
  58.     public function setCategorie(?Masterlistelg $categorie): self
  59.     {
  60.         $this->categorie $categorie;
  61.         return $this;
  62.     }
  63.     public function getTiers(): Tiers
  64.     {
  65.         return $this->tiers;
  66.     }
  67.     public function setTiers(Tiers $tiers): self
  68.     {
  69.         $this->tiers $tiers;
  70.         return $this;
  71.     }
  72.     public function getFormateur(): Formateur
  73.     {
  74.         return $this->formateur;
  75.     }
  76.     public function setFormateur(Formateur $formateur): self
  77.     {
  78.         $this->formateur $formateur;
  79.         return $this;
  80.     }
  81. }