src/Entity/Email.php line 9

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\EmailRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassEmailRepository::class)]
  6. class Email
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(nullabletrue)]
  13.     private ?int $societe null;
  14.     #[ORM\Column(nullabletrue)]
  15.     private ?int $code_client null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $email null;
  18.     public function getId(): ?int
  19.     {
  20.         return $this->id;
  21.     }
  22.     public function getSociete(): ?int
  23.     {
  24.         return $this->societe;
  25.     }
  26.     public function setSociete(?int $societe): self
  27.     {
  28.         $this->societe $societe;
  29.         return $this;
  30.     }
  31.     public function getCodeClient(): ?int
  32.     {
  33.         return $this->code_client;
  34.     }
  35.     public function setCodeClient(?int $code_client): self
  36.     {
  37.         $this->code_client $code_client;
  38.         return $this;
  39.     }
  40.     public function getEmail(): ?string
  41.     {
  42.         return $this->email;
  43.     }
  44.     public function setEmail(?string $email): self
  45.     {
  46.         $this->email $email;
  47.         return $this;
  48.     }
  49. }