<?phpnamespace App\Entity;use App\Repository\ContactRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=ContactRepository::class) */class Contact{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255) */ private $nom; /** * @ORM\Column(type="string", length=255) */ private $mail; /** * @ORM\Column(type="string", length=255) */ private $telephone; /** * @ORM\Column(type="text") */ private $message; /** * @ORM\Column(type="datetime", nullable=true) */ private $date_create; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $garage; public function getId(): ?int { return $this->id; } public function getNom(): ?string { return $this->nom; } public function setNom(string $nom): self { $this->nom = $nom; return $this; } public function getMail(): ?string { return $this->mail; } public function setMail(string $mail): self { $this->mail = $mail; return $this; } public function getTelephone(): ?string { return $this->telephone; } public function setTelephone(string $telephone): self { $this->telephone = $telephone; return $this; } public function getMessage(): ?string { return $this->message; } public function setMessage(string $message): self { $this->message = $message; return $this; } public function getDateCreate(): ?\DateTimeInterface { return $this->date_create; } public function setDateCreate(?\DateTimeInterface $date_create): self { $this->date_create = $date_create; return $this; } public function getGarage(): ?string { return $this->garage; } public function setGarage(?string $garage): self { $this->garage = $garage; return $this; }}