src/Entity/Incident.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\IncidentRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=IncidentRepository::class)
  7. */
  8. class Incident
  9. {
  10. /**
  11. * @ORM\Id
  12. * @ORM\GeneratedValue
  13. * @ORM\Column(type="integer")
  14. */
  15. private $id;
  16. /**
  17. * @ORM\Column(type="string", length=255, nullable=true)
  18. */
  19. private $entite;
  20. /**
  21. * @ORM\Column(type="string", length=255, nullable=true)
  22. */
  23. private $ville;
  24. /**
  25. * @ORM\Column(type="string", length=255, nullable=true)
  26. */
  27. private $materielUtilise;
  28. /**
  29. * @ORM\Column(type="string", length=255, nullable=true)
  30. */
  31. private $connexion;
  32. /**
  33. * @ORM\Column(type="string", length=255, nullable=true)
  34. */
  35. private $navigateur;
  36. /**
  37. * @ORM\Column(type="string", length=255, nullable=true)
  38. */
  39. private $outilTechnique;
  40. /**
  41. * @ORM\Column(type="string", length=255, nullable=true)
  42. */
  43. private $sujet;
  44. /**
  45. * @ORM\Column(type="string", length=1024, nullable=true)
  46. */
  47. private $description;
  48. /**
  49. * @ORM\Column(type="string", length=255, nullable=true)
  50. */
  51. private $date;
  52. /**
  53. * @ORM\ManyToOne(targetEntity=Apprenant::class, inversedBy="incidents")
  54. * @ORM\JoinColumn(nullable=false)
  55. */
  56. private $apprenant;
  57. public function getId(): ?int
  58. {
  59. return $this->id;
  60. }
  61. public function getEntite(): ?string
  62. {
  63. return $this->entite;
  64. }
  65. public function setEntite(?string $entite): self
  66. {
  67. $this->entite = $entite;
  68. return $this;
  69. }
  70. public function getVille(): ?string
  71. {
  72. return $this->ville;
  73. }
  74. public function setVille(?string $ville): self
  75. {
  76. $this->ville = $ville;
  77. return $this;
  78. }
  79. public function getMaterielUtilise(): ?string
  80. {
  81. return $this->materielUtilise;
  82. }
  83. public function setMaterielUtilise(?string $materielUtilise): self
  84. {
  85. $this->materielUtilise = $materielUtilise;
  86. return $this;
  87. }
  88. public function getConnexion(): ?string
  89. {
  90. return $this->connexion;
  91. }
  92. public function setConnexion(?string $connexion): self
  93. {
  94. $this->connexion = $connexion;
  95. return $this;
  96. }
  97. public function getNavigateur(): ?string
  98. {
  99. return $this->navigateur;
  100. }
  101. public function setNavigateur(?string $navigateur): self
  102. {
  103. $this->navigateur = $navigateur;
  104. return $this;
  105. }
  106. public function getOutilTechnique(): ?string
  107. {
  108. return $this->outilTechnique;
  109. }
  110. public function setOutilTechnique(?string $outilTechnique): self
  111. {
  112. $this->outilTechnique = $outilTechnique;
  113. return $this;
  114. }
  115. public function getSujet(): ?string
  116. {
  117. return $this->sujet;
  118. }
  119. public function setSujet(?string $sujet): self
  120. {
  121. $this->sujet = $sujet;
  122. return $this;
  123. }
  124. public function getDescription(): ?string
  125. {
  126. return $this->description;
  127. }
  128. public function setDescription(?string $description): self
  129. {
  130. $this->description = $description;
  131. return $this;
  132. }
  133. public function getDate(): ?string
  134. {
  135. return $this->date;
  136. }
  137. public function setDate(?string $date): self
  138. {
  139. $this->date = $date;
  140. return $this;
  141. }
  142. public function getApprenant(): ?Apprenant
  143. {
  144. return $this->apprenant;
  145. }
  146. public function setApprenant(?Apprenant $apprenant): self
  147. {
  148. $this->apprenant = $apprenant;
  149. return $this;
  150. }
  151. }