mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
20 lines
348 B
PHP
20 lines
348 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Entity;
|
|
|
|
use Doctrine\DBAL\Types\Types;
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
use Sonata\PageBundle\Entity\BaseSite;
|
|
|
|
#[ORM\Entity]
|
|
#[ORM\Table(name: 'page__site')]
|
|
class SonataPageSite extends BaseSite
|
|
{
|
|
#[ORM\Id]
|
|
#[ORM\Column(type: Types::INTEGER)]
|
|
#[ORM\GeneratedValue]
|
|
protected $id;
|
|
}
|