<?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 $prenom; /** * @ORM\Column(type="string", length=255) */ private $mail; /** * @ORM\Column(type="string", length=255) */ private $message; /** * @ORM\Column(type="string", length=255) */ private $telephone; 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 getPrenom(): ?string { return $this->prenom; } public function setPrenom(string $prenom): self { $this->prenom = $prenom; return $this; } public function getMail(): ?string { return $this->mail; } public function setMail(string $mail): self { $this->mail = $mail; return $this; } public function getMessage(): ?string { return $this->message; } public function setMessage(string $message): self { $this->message = $message; return $this; } public function getTelephone(): ?string { return $this->telephone; } public function setTelephone(string $telephone): self { $this->telephone = $telephone; return $this; }}