mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-18 10:36:52 +03:00
29 lines
554 B
PHP
29 lines
554 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
use Sonata\PageBundle\Entity\BaseSnapshot;
|
|
|
|
/**
|
|
* @ORM\Entity
|
|
* @ORM\Table(name="page__snapshot", indexes={
|
|
* @ORM\Index(
|
|
* name="idx_snapshot_dates_enabled", columns={"publication_date_start", "publication_date_end","enabled"
|
|
* })
|
|
* })
|
|
*/
|
|
class SonataPageSnapshot extends BaseSnapshot
|
|
{
|
|
/**
|
|
* @ORM\Id
|
|
* @ORM\Column(type="integer")
|
|
* @ORM\GeneratedValue(strategy="AUTO")
|
|
*
|
|
* @var int
|
|
*/
|
|
protected $id;
|
|
}
|