<?php
declare(strict_types=1);
namespace App\Entity;
use App\Repository\SonataMediaGalleryItemRepository;
use Doctrine\ORM\Mapping as ORM;
use Sonata\MediaBundle\Entity\BaseGalleryItem;
/**
* @ORM\Entity
* @ORM\Table(name="media__gallery_item")
* @ORM\Entity(repositoryClass=SonataMediaGalleryItemRepository::class)
*/
class SonataMediaGalleryItem extends BaseGalleryItem
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
protected $id;
public function getId()
{
return $this->id;
}
}