<?php

namespace App\Entity\Site;

use Lc\CaracoleBundle\Repository\Site\NewsRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\CaracoleBundle\Model\Site\NewsInterface;
use Lc\CaracoleBundle\Model\Site\NewsModel;

/**
 * @ORM\Entity(repositoryClass=NewsRepository::class)
 */
class News extends NewsModel implements NewsInterface
{
    /**
     * @ORM\Id
     * @ORM\GeneratedValue
     * @ORM\Column(type="integer")
     */
    private $id;

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