<?php
namespace Cms\ThemeBundle\Entity;
use Cms\CoreBundle\Model\RestoreInterface;
use Cms\CoreBundle\Model\RestoreTrait;
use Cms\TenantBundle\Entity\TenantedEntity;
use Doctrine\ORM\Mapping as ORM;
/**
* Class ContentTemplateRestore
* @package Cms\ThemeBundle\Entity
*
* @ORM\Entity(
* repositoryClass = "Cms\ThemeBundle\Doctrine\ContentTemplateRestoreRepository"
* )
* @ORM\Table(
* "cms__theme__content_template_restore"
* )
*/
class ContentTemplateRestore extends TenantedEntity implements RestoreInterface
{
use ContentTemplateRestoreTrait;
use RestoreTrait;
/**
* @var ContentTemplate
*
* @ORM\ManyToOne(
* targetEntity = "Cms\ThemeBundle\Entity\ContentTemplate"
* )
* @ORM\JoinColumn(
* name = "main",
* referencedColumnName = "id",
* onDelete = "CASCADE",
* nullable = false
* )
*/
protected $main;
}