<?php
namespace Cms\ModuleBundle\Entity;
use Cms\ContainerBundle\Entity\Container;
use Cms\TenantBundle\Entity\TenantedEntity;
use Doctrine\ORM\Mapping as ORM;
/**
* Class ModuleSettings
* @package Cms\ModuleBundle\Entity
*
* @ORM\MappedSuperclass
*/
abstract class ModuleSettings extends TenantedEntity
{
/**
* The department/container for which these module settings apply to.
*
* @var Container
*
* @ORM\ManyToOne(
* targetEntity = "Cms\ContainerBundle\Entity\Container"
* )
* @ORM\JoinColumn(
* name = "container",
* referencedColumnName = "id",
* onDelete = "CASCADE"
* )
*/
protected $container = null;
/**
* @return Container
*/
public function getContainer()
{
return $this->container;
}
/**
* @param Container $value
* @return $this
*/
public function setContainer(Container $value)
{
$this->container = $value;
return $this;
}
}