vendor/fri0z/mldev-seo-site-bundle/src/Entity/SeoSite.php line 16

Open in your IDE?
  1. <?php
  2. namespace MLDev\SeoSiteBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use MLDev\SeoSiteBundle\Repository\SeoSiteRepository;
  5. /**
  6.  * SeoSite
  7.  *
  8.  * @ORM\Table(name="MLDev_SeoSite")
  9.  * @ORM\Entity(repositoryClass=SeoSiteRepository::class)
  10.  * @ORM\HasLifecycleCallbacks()
  11.  */
  12. class SeoSite extends \MLDev\BaseBundle\Entity\SeoSite
  13. {
  14.     /**
  15.      * @var string
  16.      *
  17.      * @ORM\Column(type="string", length=255, nullable=false)
  18.      */
  19.     private $alias null;
  20.     /**
  21.      * @var string
  22.      *
  23.      * @ORM\Column(type="text", nullable=true)
  24.      */
  25.     private $content null;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(type="text", nullable=true)
  30.      */
  31.     private $robots null;
  32.     /**
  33.      * @var boolean
  34.      *
  35.      * @ORM\Column(name="isActive", type="boolean", options={"default": 1})
  36.      */
  37.     private $isActive;
  38.     /**
  39.      * @var boolean
  40.      *
  41.      * @ORM\Column(name="isDefault", type="boolean", options={"default": 0})
  42.      */
  43.     private $isDefault 0;
  44.     /**
  45.      * @return mixed
  46.      */
  47.     public function getAlias()
  48.     {
  49.         return $this->alias;
  50.     }
  51.     /**
  52.      * @param string $alias
  53.      */
  54.     public function setAlias(?string $alias): void
  55.     {
  56.         $this->alias $alias;
  57.     }
  58.     /**
  59.      * @return string
  60.      */
  61.     public function getContent(): ?string
  62.     {
  63.         return $this->content;
  64.     }
  65.     /**
  66.      * @param string $content
  67.      */
  68.     public function setContent(?string $content): void
  69.     {
  70.         $this->content $content;
  71.     }
  72.     /**
  73.      * @return string
  74.      */
  75.     public function getRobots(): ?string
  76.     {
  77.         return $this->robots;
  78.     }
  79.     /**
  80.      * @param string $robots
  81.      */
  82.     public function setRobots(?string $robots): void
  83.     {
  84.         $this->robots $robots;
  85.     }
  86.     /**
  87.      * @return bool
  88.      */
  89.     public function getIsActive(): ?bool
  90.     {
  91.         return $this->isActive;
  92.     }
  93.     /**
  94.      * @param bool $isActive
  95.      */
  96.     public function setIsActive(?bool $isActive): void
  97.     {
  98.         $this->isActive $isActive;
  99.     }
  100.     /**
  101.      * @return bool
  102.      */
  103.     public function isDefault(): bool
  104.     {
  105.         return $this->isDefault;
  106.     }
  107.     /**
  108.      * @param bool $isDefault
  109.      */
  110.     public function setIsDefault(bool $isDefault): void
  111.     {
  112.         $this->isDefault $isDefault;
  113.     }
  114. }