<?php
/**
* This file is part of the <name> project.
*
* (c) <yourname> <youremail>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Application\Sonata\MediaBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Sonata\MediaBundle\Entity\BaseGalleryItem as BaseGalleryItem;
/**
* @ORM\Entity
* @ORM\Table(name="media__gallery_item")
*/
class GalleryItem extends BaseGalleryItem
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
protected $id;
public function toString()
{
return $this->getId();
}
/**
* Get id
*
* @return int $id
*/
public function getId()
{
return $this->id;
}
}