src/Entity/EmailingPal.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\EmailingPalRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassEmailingPalRepository::class)]
  6. class EmailingPal
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length255)]
  13.     private $email;
  14.     #[ORM\Column(type'boolean'nullabletrue)]
  15.     private $unsubscribe;
  16.     #[ORM\Column(type'boolean'nullabletrue)]
  17.     private $remove;
  18.     public function getId(): ?int
  19.     {
  20.         return $this->id;
  21.     }
  22.     public function getEmail(): ?string
  23.     {
  24.         return $this->email;
  25.     }
  26.     public function setEmail(string $email): self
  27.     {
  28.         $this->email $email;
  29.         return $this;
  30.     }
  31.     public function isUnsubscribe(): ?bool
  32.     {
  33.         return $this->unsubscribe;
  34.     }
  35.     public function setUnsubscribe(?bool $unsubscribe): self
  36.     {
  37.         $this->unsubscribe $unsubscribe;
  38.         return $this;
  39.     }
  40.     public function isRemove(): ?bool
  41.     {
  42.         return $this->remove;
  43.     }
  44.     public function setRemove(?bool $remove): self
  45.     {
  46.         $this->remove $remove;
  47.         return $this;
  48.     }
  49. }