<?phpnamespace App\Entity;use App\Repository\FormationRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=FormationRepository::class) */class Formation{ /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255) */ private $Language; /** * @ORM\Column(type="string", length=255) */ private $Type; /** * @ORM\Column(type="integer") */ private $C101; /** * @ORM\Column(type="integer") */ private $C102; /** * @ORM\Column(type="integer") */ private $C103; /** * @ORM\Column(type="integer") */ private $C104; /** * @ORM\Column(type="integer") */ private $C105; /** * @ORM\Column(type="integer") */ private $C106; /** * @ORM\Column(type="integer") */ private $C107; /** * @ORM\Column(type="integer") */ private $C108; /** * @ORM\Column(type="integer") */ private $C109; /** * @ORM\Column(type="integer") */ private $C110; /** * @ORM\Column(type="integer") */ private $C111; /** * @ORM\Column(type="integer") */ private $C112; /** * @ORM\Column(type="integer") */ private $C113; /** * @ORM\Column(type="integer") */ private $C114; /** * @ORM\Column(type="integer") */ private $C115; /** * @ORM\Column(type="integer") */ private $C116; /** * @ORM\Column(name="Client",type="string", length=255) */ private $client; /** * @ORM\ManyToMany(targetEntity=Projet::class, mappedBy="formations") */ private $projets; public function __construct() { $this->projets = new ArrayCollection(); } public function getId(): ?int { return $this->id; } public function getLanguage(): ?string { return $this->Language; } public function setLanguage(string $Language): self { $this->Language = $Language; return $this; } public function getType(): ?string { return $this->Type; } public function setType(string $Type): self { $this->Type = $Type; return $this; } public function getC101(): ?int { return $this->C101; } public function setC101(int $C101): self { $this->C101 = $C101; return $this; } public function getC102(): ?int { return $this->C102; } public function setC102(int $C102): self { $this->C102 = $C102; return $this; } public function getC103(): ?int { return $this->C103; } public function setC103(int $C103): self { $this->C103 = $C103; return $this; } public function getC104(): ?int { return $this->C104; } public function setC104(int $C104): self { $this->C104 = $C104; return $this; } public function getC105(): ?int { return $this->C105; } public function setC105(int $C105): self { $this->C105 = $C105; return $this; } public function getC106(): ?int { return $this->C106; } public function setC106(int $C106): self { $this->C106 = $C106; return $this; } public function getC107(): ?int { return $this->C107; } public function setC107(int $C107): self { $this->C107 = $C107; return $this; } public function getC108(): ?int { return $this->C108; } public function setC108(int $C108): self { $this->C108 = $C108; return $this; } public function getC109(): ?int { return $this->C109; } public function setC109(int $C109): self { $this->C109 = $C109; return $this; } public function getC110(): ?int { return $this->C110; } public function setC110(int $C110): self { $this->C110 = $C110; return $this; } public function getC111(): ?int { return $this->C111; } public function setC111(int $C111): self { $this->C111 = $C111; return $this; } public function getC112(): ?int { return $this->C112; } public function setC112(int $C112): self { $this->C112 = $C112; return $this; } public function getC113(): ?int { return $this->C113; } public function setC113(int $C113): self { $this->C113 = $C113; return $this; } public function getC114(): ?int { return $this->C114; } public function setC114(int $C114): self { $this->C114 = $C114; return $this; } public function getC115(): ?int { return $this->C115; } public function setC115(int $C115): self { $this->C115 = $C115; return $this; } public function getC116(): ?int { return $this->C116; } public function setC116(int $C116): self { $this->C116 = $C116; return $this; } public function getClient(): ?string { return $this->client; } public function setClient(string $client): self { $this->client = $client; return $this; } /** * @return Collection|Projet[] */ public function getProjets(): Collection { return $this->projets; } public function addProjet(Projet $projet): self { if (!$this->projets->contains($projet)) { $this->projets[] = $projet; $projet->addFormation($this); } return $this; } public function removeProjet(Projet $projet): self { if ($this->projets->removeElement($projet)) { $projet->removeFormation($this); } return $this; }}