<?php
namespace MLDev\BaseBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use MLDev\BaseBundle\Contract\Doctrine\Mapping\ConvertingSuperclassInterface;
use MLDev\BaseBundle\Contract\SeoSite\SeoSiteInfoInterface;
/**
* SeoInfo
*
* @ORM\Table(name="MLDev_SeoInfo")
* @ORM\MappedSuperclass(repositoryClass="MLDev\BaseBundle\Repository\SeoInfoRepository")
*/
class SeoInfo implements SeoSiteInfoInterface, ConvertingSuperclassInterface
{
/**
* @ORM\Id
* @ORM\Column(name="id", type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $title = null;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $keywords = null;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $description = null;
/**
* @var boolean
*
* @ORM\Column(name="is_default", type="boolean", options={"default": 0})
*/
private $isDefault = 0;
/**
* @return mixed
*/
public function getId()
{
return $this->id;
}
/**
* @param mixed $id
*/
public function setId($id): void
{
$this->id = $id;
}
/**
* @return null
*/
public function getTitle()
{
return $this->title;
}
/**
* @param null $title
*/
public function setTitle($title): void
{
$this->title = $title;
}
/**
* @return null
*/
public function getKeywords()
{
return $this->keywords;
}
/**
* @param null $keywords
*/
public function setKeywords($keywords): void
{
$this->keywords = $keywords;
}
/**
* @return null
*/
public function getDescription()
{
return $this->description;
}
/**
* @param null $description
*/
public function setDescription($description): void
{
$this->description = $description;
}
/**
* @return bool
*/
public function isDefault(): bool
{
return $this->isDefault;
}
/**
* @param bool $isDefault
*/
public function setIsDefault(bool $isDefault): void
{
$this->isDefault = $isDefault;
}
}