src/Entity/MailElu.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\MailEluRepository;
  4. use DateTimeInterface;
  5. use Doctrine\DBAL\Types\Types;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassMailEluRepository::class)]
  8. class MailElu
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column(length255nullabletrue)]
  15.     private ?string $email null;
  16.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  17.     private ?DateTimeInterface $date null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $elu null;
  20.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  21.     private ?string $contenu null;
  22.     #[ORM\Column(length40nullabletrue)]
  23.     private ?string $ip null;
  24.     public function getId(): ?int
  25.     {
  26.         return $this->id;
  27.     }
  28.     public function getEmail(): ?string
  29.     {
  30.         return $this->email;
  31.     }
  32.     public function setEmail(?string $email): static
  33.     {
  34.         $this->email $email;
  35.         return $this;
  36.     }
  37.     public function getDate(): ?DateTimeInterface
  38.     {
  39.         return $this->date;
  40.     }
  41.     public function setDate(?DateTimeInterface $date): static
  42.     {
  43.         $this->date $date;
  44.         return $this;
  45.     }
  46.     public function getElu(): ?string
  47.     {
  48.         return $this->elu;
  49.     }
  50.     public function setElu(?string $elu): static
  51.     {
  52.         $this->elu $elu;
  53.         return $this;
  54.     }
  55.     public function getContenu(): ?string
  56.     {
  57.         return $this->contenu;
  58.     }
  59.     public function setContenu(?string $contenu): static
  60.     {
  61.         $this->contenu $contenu;
  62.         return $this;
  63.     }
  64.     public function getIp(): ?string
  65.     {
  66.         return $this->ip;
  67.     }
  68.     public function setIp(?string $ip): static
  69.     {
  70.         $this->ip $ip;
  71.         return $this;
  72.     }
  73. }