<?phpnamespace App\Entity;use App\Repository\ContactRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: ContactRepository::class)]class Contact{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(length: 255)] private ?string $name = null; #[ORM\Column(length: 255)] private ?string $firstname = null; #[ORM\Column(length: 255)] private ?string $email = null; #[ORM\Column(length: 255)] private ?string $phone = null; #[ORM\Column(type: Types::TEXT)] private ?string $message = null; #[ORM\Column(length: 255)] private ?string $creationDate = null; #[ORM\Column(length: 255)] private ?string $type = null; public function getId(): ?int { return $this->id; } public function getName(): ?string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } public function getFirstname(): ?string { return $this->firstname; } public function setFirstname(string $firstname): self { $this->firstname = $firstname; return $this; } public function getEmail(): ?string { return $this->email; } public function setEmail(string $email): self { $this->email = $email; return $this; } public function getPhone(): ?string { return $this->phone; } public function setPhone(string $phone): self { $this->phone = $phone; return $this; } public function getMessage(): ?string { return $this->message; } public function setMessage(string $message): self { $this->message = $message; return $this; } public function getCreationDate(): ?string { return $this->creationDate; } public function setCreationDate(string $creationDate): self { $this->creationDate = $creationDate; return $this; } public function getType(): ?string { return $this->type; } public function setType(string $type): self { $this->type = $type; return $this; }}