src/Entity/Rdv.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RdvRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=RdvRepository::class)
  7. */
  8. class Rdv
  9. {
  10. /**
  11. * @ORM\Id()
  12. * @ORM\GeneratedValue()
  13. * @ORM\Column(type="integer")
  14. */
  15. private $id;
  16. /**
  17. * @ORM\ManyToOne(targetEntity=AppelSujet::class, inversedBy="rdvs")
  18. * @ORM\JoinColumn(name="sujet")
  19. */
  20. private $sujet;
  21. /**
  22. * @ORM\Column(type="string", length=255)
  23. */
  24. private $date;
  25. /**
  26. * @ORM\Column(type="integer")
  27. */
  28. private $statut;
  29. /**
  30. * @ORM\Column(type="string", length=1024, nullable=true)
  31. */
  32. private $commentaire;
  33. /**
  34. * @ORM\ManyToOne(targetEntity=Apprenant::class, inversedBy="rdvs")
  35. * @ORM\JoinColumn(name="idApprenant")
  36. */
  37. private $apprenant;
  38. /**
  39. * @ORM\ManyToOne(targetEntity=Utilisateur::class, inversedBy="rdvs")
  40. * @ORM\JoinColumn(name="agentEmetteur")
  41. */
  42. private $agentEmetteur;
  43. /**
  44. * @ORM\ManyToOne(targetEntity=Utilisateur::class, inversedBy="rdvs")
  45. * @ORM\JoinColumn(name="agentRecepteur")
  46. */
  47. private $agentRecepteur;
  48. /**
  49. * @ORM\Column(name="dateMaj",type="string", length=255, nullable=true)
  50. */
  51. private $dateMaj;
  52. /**
  53. * @ORM\OneToOne(targetEntity=Appel::class, cascade={"persist", "remove"})
  54. * @ORM\JoinColumn(name="appel")
  55. */
  56. private $appel;
  57. /**
  58. * @ORM\Column(name="calendlyRdvId",type="string",nullable=true, options={"comment":"Id de RDV sur Calendly"})
  59. */
  60. private $calendlyRdvId;
  61. /**
  62. * @ORM\Column(name="calendlyCancelLink", type="string", length=255,nullable=true, options={"comment":"Lien de cancelation Rdv Calendly"})
  63. */
  64. private $calendlyCancelLink;
  65. /**
  66. * @ORM\Column(name="calendlyReschedLink", type="string", length=255,nullable=true, options={"comment":"Lien de replanificatio Rdv Calendly"})
  67. */
  68. private $calendlyReschedLink;
  69. /**
  70. * @ORM\Column(name="dateInsert",type="string", length=255, nullable=true)
  71. */
  72. private $dateInsert;
  73. /**
  74. * @ORM\Column(type="integer")
  75. */
  76. private $etat;
  77. /**
  78. * @ORM\Column(type="string", length=255, nullable=true)
  79. */
  80. private $zoomLink;
  81. public function getId(): ?int
  82. {
  83. return $this->id;
  84. }
  85. public function getSujet(): ?AppelSujet
  86. {
  87. return $this->sujet;
  88. }
  89. public function setSujet(?AppelSujet $sujet): self
  90. {
  91. $this->sujet = $sujet;
  92. return $this;
  93. }
  94. public function getDate(): ?string
  95. {
  96. return $this->date;
  97. }
  98. public function setDate(string $date): self
  99. {
  100. $this->date = $date;
  101. return $this;
  102. }
  103. public function getStatut(): ?int
  104. {
  105. return $this->statut;
  106. }
  107. public function setStatut(int $statut): self
  108. {
  109. $this->statut = $statut;
  110. return $this;
  111. }
  112. public function getCommentaire(): ?string
  113. {
  114. return $this->commentaire;
  115. }
  116. public function setCommentaire(?string $commentaire): self
  117. {
  118. $this->commentaire = $commentaire;
  119. return $this;
  120. }
  121. public function getApprenant(): ?Apprenant
  122. {
  123. return $this->apprenant;
  124. }
  125. public function setApprenant(?Apprenant $apprenant): self
  126. {
  127. $this->apprenant = $apprenant;
  128. return $this;
  129. }
  130. public function getAgentEmetteur(): ?Utilisateur
  131. {
  132. return $this->agentEmetteur;
  133. }
  134. public function setAgentEmetteur(?Utilisateur $agentEmetteur): self
  135. {
  136. $this->agentEmetteur = $agentEmetteur;
  137. return $this;
  138. }
  139. public function getAgentRecepteur(): ?Utilisateur
  140. {
  141. return $this->agentRecepteur;
  142. }
  143. public function setAgentRecepteur(?Utilisateur $agentRecepteur): self
  144. {
  145. $this->agentRecepteur = $agentRecepteur;
  146. return $this;
  147. }
  148. public function getDateMaj(): ?string
  149. {
  150. return $this->dateMaj;
  151. }
  152. public function setDateMaj(?string $dateMaj): self
  153. {
  154. $this->dateMaj = $dateMaj;
  155. return $this;
  156. }
  157. public function getAppel(): ?Appel
  158. {
  159. return $this->appel;
  160. }
  161. public function setAppel(?Appel $appel): self
  162. {
  163. $this->appel = $appel;
  164. return $this;
  165. }
  166. public function getDateInsert(): ?string
  167. {
  168. return $this->dateInsert;
  169. }
  170. public function setDateInsert(?string $dateInsert): self
  171. {
  172. $this->dateInsert = $dateInsert;
  173. return $this;
  174. }
  175. public function getCalendlyRdvId(): ?string
  176. {
  177. return $this->calendlyRdvId;
  178. }
  179. public function setCalendlyRdvId(?string $calendlyRdvId): self
  180. {
  181. $this->calendlyRdvId = $calendlyRdvId;
  182. return $this;
  183. }
  184. public function getEtat(): ?int
  185. {
  186. return $this->etat;
  187. }
  188. public function setEtat(int $etat): self
  189. {
  190. $this->etat = $etat;
  191. return $this;
  192. }
  193. public function getCalendlyCancelLink(): ?string
  194. {
  195. return $this->calendlyCancelLink;
  196. }
  197. public function setCalendlyCancelLink(?string $calendlyCancelLink): self
  198. {
  199. $this->calendlyCancelLink = $calendlyCancelLink;
  200. return $this;
  201. }
  202. public function getCalendlyReschedLink(): ?string
  203. {
  204. return $this->calendlyReschedLink;
  205. }
  206. public function setCalendlyReschedLink(?string $calendlyReschedLink): self
  207. {
  208. $this->calendlyReschedLink = $calendlyReschedLink;
  209. return $this;
  210. }
  211. public function getZoomLink(): ?string
  212. {
  213. return $this->zoomLink;
  214. }
  215. public function setZoomLink(?string $zoomLink): self
  216. {
  217. $this->zoomLink = $zoomLink;
  218. return $this;
  219. }
  220. }