<?php

namespace App\Entity\Newsletter;

use Lc\CaracoleBundle\Repository\Newsletter\NewsletterRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Newsletter\NewsletterInterface;
use Lc\CaracoleBundle\Model\Newsletter\NewsletterModel;

/**
 * @ORM\Entity(repositoryClass=NewsletterRepository::class)
 */
class Newsletter extends NewsletterModel implements NewsletterInterface
{
    /**
     * @ORM\Id
     * @ORM\GeneratedValue
     * @ORM\Column(type="integer")
     */
    private $id;

    public function getId(): ?int
    {
        return $this->id;
    }
}
