src/Entity/EvaluationCOM.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\EvaluationCOMRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassEvaluationCOMRepository::class)]
  6. class EvaluationCOM extends Evaluation
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\ManyToOne(targetEntityComerciaux::class, inversedBy'evaluationCOMs')]
  13.     private $commercial;
  14.     #[ORM\ManyToOne(targetEntityMissions::class, inversedBy'evaluationCOMs')]
  15.     private $mission;
  16.     public function getId(): ?int
  17.     {
  18.         return $this->id;
  19.     }
  20.     public function getCommercial(): ?Comerciaux
  21.     {
  22.         return $this->commercial;
  23.     }
  24.     public function setCommercial(?Comerciaux $commercial): self
  25.     {
  26.         $this->commercial $commercial;
  27.         return $this;
  28.     }
  29.     public function getMission(): ?Missions
  30.     {
  31.         return $this->mission;
  32.     }
  33.     public function setMission(?Missions $mission): self
  34.     {
  35.         $this->mission $mission;
  36.         return $this;
  37.     }
  38. }