<?phpnamespace App\Entity;use App\Repository\MailingRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=MailingRepository::class) */class Mailing{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255, unique=true) */ private $email; /** * @ORM\Column(type="datetime_immutable") */ private $createdAt; /** * @ORM\Column(type="boolean") */ private $isSubscribed; /** * @ORM\Column(type="boolean") */ private $isVerified; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $nombre; 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 getCreatedAt(): ?\DateTimeImmutable { return $this->createdAt; } public function setCreatedAt(\DateTimeImmutable $createdAt): self { $this->createdAt = $createdAt; return $this; } public function isIsSubscribed(): ?bool { return $this->isSubscribed; } public function setIsSubscribed(bool $isSubscribed): self { $this->isSubscribed = $isSubscribed; return $this; } public function isIsVerified(): ?bool { return $this->isVerified; } public function setIsVerified(bool $isVerified): self { $this->isVerified = $isVerified; return $this; } public function getNombre(): ?string { return $this->nombre; } public function setNombre(?string $nombre): self { $this->nombre = $nombre; return $this; }}