mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 23:56:29 +03:00
30 lines
544 B
PHP
30 lines
544 B
PHP
<?php
|
|
|
|
namespace App\Entity;
|
|
|
|
use Orbitale\Bundle\CmsBundle\Entity\Page as BasePage;
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
/**
|
|
* @ORM\Entity(repositoryClass="Orbitale\Bundle\CmsBundle\Repository\PageRepository")
|
|
* @ORM\Table(name="orbitale_cms_pages")
|
|
*/
|
|
class Page extends BasePage
|
|
{
|
|
/**
|
|
* @var int
|
|
* @ORM\Column(name="id", type="integer")
|
|
* @ORM\Id
|
|
* @ORM\GeneratedValue(strategy="AUTO")
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getId()
|
|
{
|
|
return $this->id;
|
|
}
|
|
}
|