src/Entity/Message.php line 10
<?php
namespace App\Entity;
use App\Repository\MessageRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: MessageRepository::class)]
class Message
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $Nom = null;
#[ORM\Column(length: 255)]
private ?string $Email = null;
#[ORM\Column(length: 255)]
private ?string $Objet = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $Message = null;
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 getEmail(): ?string
{
return $this->Email;
}
public function setEmail(string $Email): self
{
$this->Email = $Email;
return $this;
}
public function getObjet(): ?string
{
return $this->Objet;
}
public function setObjet(string $Objet): self
{
$this->Objet = $Objet;
return $this;
}
public function getMessage(): ?string
{
return $this->Message;
}
public function setMessage(string $Message): self
{
$this->Message = $Message;
return $this;
}
}