<?php
namespace MLDev\SeoSiteBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use MLDev\SeoSiteBundle\Repository\SeoSiteRepository;
/**
* SeoSite
*
* @ORM\Table(name="MLDev_SeoSite")
* @ORM\Entity(repositoryClass=SeoSiteRepository::class)
* @ORM\HasLifecycleCallbacks()
*/
class SeoSite extends \MLDev\BaseBundle\Entity\SeoSite
{
/**
* @var string
*
* @ORM\Column(type="string", length=255, nullable=false)
*/
private $alias = null;
/**
* @var string
*
* @ORM\Column(type="text", nullable=true)
*/
private $content = null;
/**
* @var string
*
* @ORM\Column(type="text", nullable=true)
*/
private $robots = null;
/**
* @var boolean
*
* @ORM\Column(name="isActive", type="boolean", options={"default": 1})
*/
private $isActive;
/**
* @var boolean
*
* @ORM\Column(name="isDefault", type="boolean", options={"default": 0})
*/
private $isDefault = 0;
/**
* @return mixed
*/
public function getAlias()
{
return $this->alias;
}
/**
* @param string $alias
*/
public function setAlias(?string $alias): void
{
$this->alias = $alias;
}
/**
* @return string
*/
public function getContent(): ?string
{
return $this->content;
}
/**
* @param string $content
*/
public function setContent(?string $content): void
{
$this->content = $content;
}
/**
* @return string
*/
public function getRobots(): ?string
{
return $this->robots;
}
/**
* @param string $robots
*/
public function setRobots(?string $robots): void
{
$this->robots = $robots;
}
/**
* @return bool
*/
public function getIsActive(): ?bool
{
return $this->isActive;
}
/**
* @param bool $isActive
*/
public function setIsActive(?bool $isActive): void
{
$this->isActive = $isActive;
}
/**
* @return bool
*/
public function isDefault(): bool
{
return $this->isDefault;
}
/**
* @param bool $isDefault
*/
public function setIsDefault(bool $isDefault): void
{
$this->isDefault = $isDefault;
}
}