<?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 $nomprenom; /** * @ORM\Column(type="string", length=255) */ private $societe; /** * @ORM\Column(type="string", length=255) */ private $adresse; /** * @ORM\Column(type="string", length=255) */ private $mail; /** * @ORM\Column(type="string", length=255) */ private $num; /** * @ORM\Column(type="text") */ private $formation; /** * @ORM\Column(type="text") */ private $message; public function getId(): ?int { return $this->id; } public function getNomprenom(): ?string { return $this->nomprenom; } public function setNomprenom(string $nomprenom): self { $this->nomprenom = $nomprenom; return $this; } public function getSociete(): ?string { return $this->societe; } public function setSociete(string $societe): self { $this->societe = $societe; return $this; } public function getAdresse(): ?string { return $this->adresse; } public function setAdresse(string $adresse): self { $this->adresse = $adresse; return $this; } public function getMail(): ?string { return $this->mail; } public function setMail(string $mail): self { $this->mail = $mail; return $this; } public function getNum(): ?string { return $this->num; } public function setNum(string $num): self { $this->num = $num; return $this; } public function getFormation(): ?string { return $this->formation; } public function setFormation(string $formation): self { $this->formation = $formation; return $this; } public function getMessage(): ?string { return $this->message; } public function setMessage(string $message): self { $this->message = $message; return $this; }}