<?php
namespace MLDev\BaseBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use MLDev\BaseBundle\Repository\PageTemplateRepository;
/**
* @ORM\Table(name="MLDev_Page_Template")
* @ORM\Entity(repositoryClass=PageTemplateRepository::class)
*/
class PageTemplate
{
/**
* @ORM\Id
* @ORM\Column(name="id", type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255)
*/
private $name;
/**
* @var string
*
* @ORM\Column(name="alias", type="string", length=255)
*/
private $alias;
/**
* @var bool
*
* @ORM\Column(name="is_layout", type="boolean")
*/
private $isLayout;
/**
* Get id
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set name
*
* @param string $name
*
* @return PageTemplate
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set alias
*
* @param string $alias
*
* @return PageTemplate
*/
public function setAlias($alias)
{
$this->alias = $alias;
return $this;
}
/**
* Get alias
*
* @return string
*/
public function getAlias()
{
return $this->alias;
}
/**
* Set isLayout
*
* @param boolean $isLayout
*
* @return PageTemplate
*/
public function setIsLayout($isLayout)
{
$this->isLayout = $isLayout;
return $this;
}
/**
* Get isLayout
*
* @return bool
*/
public function getIsLayout()
{
return $this->isLayout;
}
}