src/Entity/Gos/LeadFormWhitelist.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gos;
  3. use App\Repository\Gos\LeadFormWhitelistRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=LeadFormWhitelistRepository::class)
  7.  */
  8. class LeadFormWhitelist
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\ManyToOne(targetEntity=LeadFormResponse::class, inversedBy="leadFormWhitelist")
  18.      */
  19.     private $leadFormResponse;
  20.     /**
  21.      * @var string
  22.      *
  23.      * @ORM\Column(type="string", length=255, nullable=true)
  24.      */
  25.     private $email;
  26.     public function getId(): ?int
  27.     {
  28.         return $this->id;
  29.     }
  30.     public function getLeadFormResponse(): ?LeadFormResponse
  31.     {
  32.         return $this->leadFormResponse;
  33.     }
  34.     public function setLeadFormResponse(?LeadFormResponse $leadFormResponse): self
  35.     {
  36.         $this->leadFormResponse $leadFormResponse;
  37.         return $this;
  38.     }
  39.     public function getEmail(): string
  40.     {
  41.         return $this->email;
  42.     }
  43.     public function setEmail(string $email): self
  44.     {
  45.         $this->email $email;
  46.         return $this;
  47.     }
  48. }