src/Entity/Formation.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FormationRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8. * @ORM\Entity(repositoryClass=FormationRepository::class)
  9. */
  10. class Formation
  11. {
  12. /**
  13. * @ORM\Id()
  14. * @ORM\GeneratedValue()
  15. * @ORM\Column(type="integer")
  16. */
  17. private $id;
  18. /**
  19. * @ORM\Column(type="string", length=255)
  20. */
  21. private $Language;
  22. /**
  23. * @ORM\Column(type="string", length=255)
  24. */
  25. private $Type;
  26. /**
  27. * @ORM\Column(type="integer")
  28. */
  29. private $C101;
  30. /**
  31. * @ORM\Column(type="integer")
  32. */
  33. private $C102;
  34. /**
  35. * @ORM\Column(type="integer")
  36. */
  37. private $C103;
  38. /**
  39. * @ORM\Column(type="integer")
  40. */
  41. private $C104;
  42. /**
  43. * @ORM\Column(type="integer")
  44. */
  45. private $C105;
  46. /**
  47. * @ORM\Column(type="integer")
  48. */
  49. private $C106;
  50. /**
  51. * @ORM\Column(type="integer")
  52. */
  53. private $C107;
  54. /**
  55. * @ORM\Column(type="integer")
  56. */
  57. private $C108;
  58. /**
  59. * @ORM\Column(type="integer")
  60. */
  61. private $C109;
  62. /**
  63. * @ORM\Column(type="integer")
  64. */
  65. private $C110;
  66. /**
  67. * @ORM\Column(type="integer")
  68. */
  69. private $C111;
  70. /**
  71. * @ORM\Column(type="integer")
  72. */
  73. private $C112;
  74. /**
  75. * @ORM\Column(type="integer")
  76. */
  77. private $C113;
  78. /**
  79. * @ORM\Column(type="integer")
  80. */
  81. private $C114;
  82. /**
  83. * @ORM\Column(type="integer")
  84. */
  85. private $C115;
  86. /**
  87. * @ORM\Column(type="integer")
  88. */
  89. private $C116;
  90. /**
  91. * @ORM\Column(name="Client",type="string", length=255)
  92. */
  93. private $client;
  94. /**
  95. * @ORM\ManyToMany(targetEntity=Projet::class, mappedBy="formations")
  96. */
  97. private $projets;
  98. public function __construct()
  99. {
  100. $this->projets = new ArrayCollection();
  101. }
  102. public function getId(): ?int
  103. {
  104. return $this->id;
  105. }
  106. public function getLanguage(): ?string
  107. {
  108. return $this->Language;
  109. }
  110. public function setLanguage(string $Language): self
  111. {
  112. $this->Language = $Language;
  113. return $this;
  114. }
  115. public function getType(): ?string
  116. {
  117. return $this->Type;
  118. }
  119. public function setType(string $Type): self
  120. {
  121. $this->Type = $Type;
  122. return $this;
  123. }
  124. public function getC101(): ?int
  125. {
  126. return $this->C101;
  127. }
  128. public function setC101(int $C101): self
  129. {
  130. $this->C101 = $C101;
  131. return $this;
  132. }
  133. public function getC102(): ?int
  134. {
  135. return $this->C102;
  136. }
  137. public function setC102(int $C102): self
  138. {
  139. $this->C102 = $C102;
  140. return $this;
  141. }
  142. public function getC103(): ?int
  143. {
  144. return $this->C103;
  145. }
  146. public function setC103(int $C103): self
  147. {
  148. $this->C103 = $C103;
  149. return $this;
  150. }
  151. public function getC104(): ?int
  152. {
  153. return $this->C104;
  154. }
  155. public function setC104(int $C104): self
  156. {
  157. $this->C104 = $C104;
  158. return $this;
  159. }
  160. public function getC105(): ?int
  161. {
  162. return $this->C105;
  163. }
  164. public function setC105(int $C105): self
  165. {
  166. $this->C105 = $C105;
  167. return $this;
  168. }
  169. public function getC106(): ?int
  170. {
  171. return $this->C106;
  172. }
  173. public function setC106(int $C106): self
  174. {
  175. $this->C106 = $C106;
  176. return $this;
  177. }
  178. public function getC107(): ?int
  179. {
  180. return $this->C107;
  181. }
  182. public function setC107(int $C107): self
  183. {
  184. $this->C107 = $C107;
  185. return $this;
  186. }
  187. public function getC108(): ?int
  188. {
  189. return $this->C108;
  190. }
  191. public function setC108(int $C108): self
  192. {
  193. $this->C108 = $C108;
  194. return $this;
  195. }
  196. public function getC109(): ?int
  197. {
  198. return $this->C109;
  199. }
  200. public function setC109(int $C109): self
  201. {
  202. $this->C109 = $C109;
  203. return $this;
  204. }
  205. public function getC110(): ?int
  206. {
  207. return $this->C110;
  208. }
  209. public function setC110(int $C110): self
  210. {
  211. $this->C110 = $C110;
  212. return $this;
  213. }
  214. public function getC111(): ?int
  215. {
  216. return $this->C111;
  217. }
  218. public function setC111(int $C111): self
  219. {
  220. $this->C111 = $C111;
  221. return $this;
  222. }
  223. public function getC112(): ?int
  224. {
  225. return $this->C112;
  226. }
  227. public function setC112(int $C112): self
  228. {
  229. $this->C112 = $C112;
  230. return $this;
  231. }
  232. public function getC113(): ?int
  233. {
  234. return $this->C113;
  235. }
  236. public function setC113(int $C113): self
  237. {
  238. $this->C113 = $C113;
  239. return $this;
  240. }
  241. public function getC114(): ?int
  242. {
  243. return $this->C114;
  244. }
  245. public function setC114(int $C114): self
  246. {
  247. $this->C114 = $C114;
  248. return $this;
  249. }
  250. public function getC115(): ?int
  251. {
  252. return $this->C115;
  253. }
  254. public function setC115(int $C115): self
  255. {
  256. $this->C115 = $C115;
  257. return $this;
  258. }
  259. public function getC116(): ?int
  260. {
  261. return $this->C116;
  262. }
  263. public function setC116(int $C116): self
  264. {
  265. $this->C116 = $C116;
  266. return $this;
  267. }
  268. public function getClient(): ?string
  269. {
  270. return $this->client;
  271. }
  272. public function setClient(string $client): self
  273. {
  274. $this->client = $client;
  275. return $this;
  276. }
  277. /**
  278. * @return Collection|Projet[]
  279. */
  280. public function getProjets(): Collection
  281. {
  282. return $this->projets;
  283. }
  284. public function addProjet(Projet $projet): self
  285. {
  286. if (!$this->projets->contains($projet)) {
  287. $this->projets[] = $projet;
  288. $projet->addFormation($this);
  289. }
  290. return $this;
  291. }
  292. public function removeProjet(Projet $projet): self
  293. {
  294. if ($this->projets->removeElement($projet)) {
  295. $projet->removeFormation($this);
  296. }
  297. return $this;
  298. }
  299. }