src/Entity/Temoignage.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\TemoignageRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=TemoignageRepository::class)
  7. */
  8. class Temoignage
  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)
  18. */
  19. private $title;
  20. /**
  21. * @ORM\Column(type="datetime", nullable=true)
  22. */
  23. private $date;
  24. /**
  25. * @ORM\ManyToOne(targetEntity=Sejour::class, inversedBy="temoignages")
  26. */
  27. private $sejour;
  28. /**
  29. * @ORM\Column(type="text", nullable=true)
  30. */
  31. private $description;
  32. /**
  33. * @ORM\Column(type="string", length=255, nullable=true)
  34. */
  35. private $name;
  36. /**
  37. * @ORM\Column(type="boolean", nullable=true)
  38. */
  39. private $isValid;
  40. /**
  41. * @ORM\ManyToOne(targetEntity=SejourSession::class, inversedBy="temoignages")
  42. */
  43. private $sejourSession;
  44. /**
  45. * @ORM\Column(type="datetime", nullable=true)
  46. */
  47. private $updatedDate;
  48. /**
  49. * @ORM\Column(type="datetime", nullable=true)
  50. */
  51. private $validationDate;
  52. /**
  53. * @ORM\Column(type="integer", nullable=true)
  54. */
  55. private $note;
  56. /**
  57. * @ORM\Column(type="string", length=255, nullable=true)
  58. */
  59. private $accroche;
  60. /**
  61. * @ORM\Column(type="integer", nullable=true)
  62. */
  63. private $legacyId;
  64. public function getId(): ?int
  65. {
  66. return $this->id;
  67. }
  68. public function getTitle(): ?string
  69. {
  70. return $this->title;
  71. }
  72. public function setTitle(string $title): self
  73. {
  74. $this->title = $title;
  75. return $this;
  76. }
  77. public function getDate(): ?\DateTimeInterface
  78. {
  79. return $this->date;
  80. }
  81. public function setDate(?\DateTimeInterface $date): self
  82. {
  83. $this->date = $date;
  84. return $this;
  85. }
  86. public function getSejour(): ?Sejour
  87. {
  88. return $this->sejour;
  89. }
  90. public function setSejour(?Sejour $sejour): self
  91. {
  92. $this->sejour = $sejour;
  93. return $this;
  94. }
  95. public function getDescription(): ?string
  96. {
  97. return $this->description;
  98. }
  99. public function setDescription(?string $description): self
  100. {
  101. $this->description = $description;
  102. return $this;
  103. }
  104. public function getName(): ?string
  105. {
  106. return $this->name;
  107. }
  108. public function setName(?string $name): self
  109. {
  110. $this->name = $name;
  111. return $this;
  112. }
  113. public function getIsValid(): ?bool
  114. {
  115. return $this->isValid;
  116. }
  117. public function setIsValid(?bool $isValid): self
  118. {
  119. $this->isValid = $isValid;
  120. return $this;
  121. }
  122. public function getSejourSession(): ?SejourSession
  123. {
  124. return $this->sejourSession;
  125. }
  126. public function setSejourSession(?SejourSession $sejourSession): self
  127. {
  128. $this->sejourSession = $sejourSession;
  129. return $this;
  130. }
  131. public function getUpdatedDate(): ?\DateTimeInterface
  132. {
  133. return $this->updatedDate;
  134. }
  135. public function setUpdatedDate(?\DateTimeInterface $updatedDate): self
  136. {
  137. $this->updatedDate = $updatedDate;
  138. return $this;
  139. }
  140. public function getValidationDate(): ?\DateTimeInterface
  141. {
  142. return $this->validationDate;
  143. }
  144. public function setValidationDate(?\DateTimeInterface $validationDate): self
  145. {
  146. $this->validationDate = $validationDate;
  147. return $this;
  148. }
  149. public function getNote(): ?int
  150. {
  151. return $this->note;
  152. }
  153. public function setNote(?int $note): self
  154. {
  155. $this->note = $note;
  156. return $this;
  157. }
  158. public function getAccroche(): ?string
  159. {
  160. return $this->accroche;
  161. }
  162. public function setAccroche(?string $accroche): self
  163. {
  164. $this->accroche = $accroche;
  165. return $this;
  166. }
  167. public function getLegacyId(): ?int
  168. {
  169. return $this->legacyId;
  170. }
  171. public function setLegacyId(?int $legacyId): self
  172. {
  173. $this->legacyId = $legacyId;
  174. return $this;
  175. }
  176. }