src/Entity/MessageClient.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\MessageClientRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity(repositoryClass=MessageClientRepository::class)
  7. */
  8. class MessageClient
  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 $email;
  20. /**
  21. * @ORM\Column(type="string", length=255)
  22. */
  23. private $name;
  24. /**
  25. * @ORM\Column(type="string", length=255)
  26. */
  27. private $phoneNumber;
  28. /**
  29. * @ORM\Column(type="string")
  30. */
  31. private $service;
  32. /**
  33. * @ORM\Column(type="string", nullable=true)
  34. */
  35. private $message;
  36. /**
  37. * @ORM\Column(type="datetime")
  38. */
  39. private $preferredDate;
  40. /**
  41. * @ORM\Column(type="datetime")
  42. */
  43. private $createdAt;
  44. public function __construct()
  45. {
  46. }
  47. public function getId(): ?int
  48. {
  49. return $this->id;
  50. }
  51. public function getEmail(): ?string
  52. {
  53. return $this->email;
  54. }
  55. public function setEmail(string $email): self
  56. {
  57. $this->email = $email;
  58. return $this;
  59. }
  60. public function getName(): ?string
  61. {
  62. return $this->name;
  63. }
  64. public function setName(?string $name): self
  65. {
  66. $this->name = $name;
  67. return $this;
  68. }
  69. public function getService(): ?string
  70. {
  71. return $this->service;
  72. }
  73. public function setService(?string $service): self
  74. {
  75. $this->service = $service;
  76. return $this;
  77. }
  78. public function getMessage(): ?string
  79. {
  80. return $this->message;
  81. }
  82. public function setMessage(?string $message): self
  83. {
  84. $this->message = $message;
  85. return $this;
  86. }
  87. public function getPhoneNumber(): ?string
  88. {
  89. return $this->phoneNumber;
  90. }
  91. public function setPhoneNumber(?string $phoneNumber): self
  92. {
  93. $this->phoneNumber = $phoneNumber;
  94. return $this;
  95. }
  96. public function getPreferredDate(): ?\DateTimeInterface
  97. {
  98. return $this->preferredDate;
  99. }
  100. public function setPreferredDate(\DateTimeInterface $preferredDate): self
  101. {
  102. $this->preferredDate = $preferredDate;
  103. return $this;
  104. }
  105. public function getCreatedAt(): ?\DateTimeInterface
  106. {
  107. return $this->createdAt;
  108. }
  109. public function setCreatedAt(\DateTimeInterface $createdAt): self
  110. {
  111. $this->createdAt = $createdAt;
  112. return $this;
  113. }
  114. }