src/Entity/ContactRappel.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ContactRappelRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=ContactRappelRepository::class)
  7. */
  8. class ContactRappel
  9. {
  10. /**
  11. * @ORM\Id
  12. * @ORM\GeneratedValue
  13. * @ORM\Column(type="integer")
  14. */
  15. private $id;
  16. /**
  17. * @ORM\Column(type="string", length=15)
  18. */
  19. private $sexe;
  20. /**
  21. * @ORM\Column(type="string", length=255)
  22. */
  23. private $name;
  24. /**
  25. * @ORM\Column(type="string", length=255)
  26. */
  27. private $prenom;
  28. /**
  29. * @ORM\Column(type="string", length=30, nullable=true)
  30. */
  31. private $nom_enfant;
  32. /**
  33. * @ORM\Column(type="string", length=30, nullable=true)
  34. */
  35. private $prenom_enfant;
  36. /**
  37. * @ORM\Column(type="string", length=30, nullable=true)
  38. */
  39. private $ligneType;
  40. /**
  41. * @ORM\Column(type="string", length=39, nullable=true)
  42. */
  43. private $ligneNumero;
  44. /**
  45. * @ORM\Column(type="string", length=255)
  46. */
  47. private $horaire;
  48. /**
  49. * @ORM\Column(type="string", length=255)
  50. */
  51. private $objet;
  52. /**
  53. * @ORM\Column(type="datetime")
  54. */
  55. private $creationDate;
  56. public function getId(): ?int
  57. {
  58. return $this->id;
  59. }
  60. public function getSexe(): ?string
  61. {
  62. return $this->sexe;
  63. }
  64. public function setSexe(string $sexe): self
  65. {
  66. $this->sexe = $sexe;
  67. return $this;
  68. }
  69. public function getName(): ?string
  70. {
  71. return $this->name;
  72. }
  73. public function setName(string $name): self
  74. {
  75. $this->name = $name;
  76. return $this;
  77. }
  78. public function getPrenom(): ?string
  79. {
  80. return $this->prenom;
  81. }
  82. public function setPrenom(string $prenom): self
  83. {
  84. $this->prenom = $prenom;
  85. return $this;
  86. }
  87. public function getNomEnfant(): ?string
  88. {
  89. return $this->nom_enfant;
  90. }
  91. public function setNomEnfant(string $nom_enfant): self
  92. {
  93. $this->nom_enfant = $nom_enfant;
  94. return $this;
  95. }
  96. public function getPrenomEnfant(): ?string
  97. {
  98. return $this->prenom_enfant;
  99. }
  100. public function setPrenomEnfant(string $prenom_enfant): self
  101. {
  102. $this->prenom_enfant = $prenom_enfant;
  103. return $this;
  104. }
  105. public function getLigneType(): ?string
  106. {
  107. return $this->ligneType;
  108. }
  109. public function setLigneType(string $ligneType): self
  110. {
  111. $this->ligneType = $ligneType;
  112. return $this;
  113. }
  114. public function getLigneNumero(): ?string
  115. {
  116. return $this->ligneNumero;
  117. }
  118. public function setLigneNumero(string $ligneNumero): self
  119. {
  120. $this->ligneNumero = $ligneNumero;
  121. return $this;
  122. }
  123. public function getHoraire(): ?string
  124. {
  125. return $this->horaire;
  126. }
  127. public function setHoraire(string $horaire): self
  128. {
  129. $this->horaire = $horaire;
  130. return $this;
  131. }
  132. public function getObjet(): ?string
  133. {
  134. return $this->objet;
  135. }
  136. public function setObjet(string $objet): self
  137. {
  138. $this->objet = $objet;
  139. return $this;
  140. }
  141. public function getCreationDate(): ?\DateTimeInterface
  142. {
  143. return $this->creationDate;
  144. }
  145. public function setCreationDate(\DateTimeInterface $creationDate): self
  146. {
  147. $this->creationDate = $creationDate;
  148. return $this;
  149. }
  150. public function __construct()
  151. {
  152. $this->creationDate = new \Datetime();
  153. }
  154. }