<?php
namespace MLDev\SeoSiteBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use MLDev\BaseBundle\Contract\SeoSite\SeoSiteInterface;
use MLDev\BaseBundle\Entity\SeoInfo;
use MLDev\SeoSiteBundle\Repository\SeoSiteInfoRepository;
/**
* SeoSiteMetaData
*
* @ORM\Table(name="MLDev_SeoInfo")
* @ORM\Entity(repositoryClass=SeoSiteInfoRepository::class)
*/
class SeoSiteInfo extends SeoInfo
{
/**
* @ORM\ManyToOne(targetEntity=SeoSiteInterface::class)
* @ORM\JoinColumn(name="seo_site_id", referencedColumnName="id", onDelete="CASCADE")
*/
private $seoSite;
/**
* @return mixed
*/
public function getSeoSite()
{
return $this->seoSite;
}
/**
* @param $seoSite
*/
public function setSeoSite($seoSite): void
{
$this->seoSite = $seoSite;
}
}