<?php
namespace App\Entity;
use App\Repository\EmailingPalRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: EmailingPalRepository::class)]
class EmailingPal
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'string', length: 255)]
private $email;
#[ORM\Column(type: 'boolean', nullable: true)]
private $unsubscribe;
#[ORM\Column(type: 'boolean', nullable: true)]
private $remove;
public function getId(): ?int
{
return $this->id;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
public function isUnsubscribe(): ?bool
{
return $this->unsubscribe;
}
public function setUnsubscribe(?bool $unsubscribe): self
{
$this->unsubscribe = $unsubscribe;
return $this;
}
public function isRemove(): ?bool
{
return $this->remove;
}
public function setRemove(?bool $remove): self
{
$this->remove = $remove;
return $this;
}
}