src/Entity/Similar/EmailToNotify.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Similar;
  3. use App\Repository\Similar\EmailToNotifyRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=EmailToNotifyRepository::class)
  7.  * @ORM\Table(name="similar_email")
  8.  */
  9. class EmailToNotify
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", length=255)
  19.      */
  20.     private $email;
  21.     public function getId(): ?int
  22.     {
  23.         return $this->id;
  24.     }
  25.     public function getEmail(): ?string
  26.     {
  27.         return $this->email;
  28.     }
  29.     public function setEmail(string $email): self
  30.     {
  31.         $this->email $email;
  32.         return $this;
  33.     }
  34. }