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\ManyToOne(targetEntity=Client::class)
  18. */
  19. private $client;
  20. /**
  21. * @ORM\Column(type="string", length=10000)
  22. */
  23. private $temoignage;
  24. /**
  25. * @ORM\Column(type="string", length=255)
  26. */
  27. private $nomPersonne;
  28. /**
  29. * @ORM\Column(type="string", length=255, nullable=true)
  30. */
  31. private $image;
  32. /**
  33. * @ORM\Column(type="string", length=255, nullable=true)
  34. */
  35. private $altDescription;
  36. public function getId(): ?int
  37. {
  38. return $this->id;
  39. }
  40. public function getClient(): ?Client
  41. {
  42. return $this->client;
  43. }
  44. public function setClient(?Client $client): self
  45. {
  46. $this->client = $client;
  47. return $this;
  48. }
  49. public function getTemoignage(): ?string
  50. {
  51. return $this->temoignage;
  52. }
  53. public function setTemoignage(string $temoignage): self
  54. {
  55. $this->temoignage = $temoignage;
  56. return $this;
  57. }
  58. public function getNomPersonne(): ?string
  59. {
  60. return $this->nomPersonne;
  61. }
  62. public function setNomPersonne(string $nomPersonne): self
  63. {
  64. $this->nomPersonne = $nomPersonne;
  65. return $this;
  66. }
  67. public function getImage(): ?string
  68. {
  69. return $this->image;
  70. }
  71. public function setImage(?string $image): self
  72. {
  73. $this->image = $image;
  74. return $this;
  75. }
  76. public function getAltDescription(): ?string
  77. {
  78. return $this->altDescription;
  79. }
  80. public function setAltDescription(?string $altDescription): self
  81. {
  82. $this->altDescription = $altDescription;
  83. return $this;
  84. }
  85. }