<?php


namespace AutoAdmin\Bundle\Content\Entity;

use AutoAdmin\Bundle\Seo\Entity\OpenGraphMetadata;
use AutoAdmin\Bundle\Seo\Entity\SchemaOrgMetadata;
use AutoAdmin\Bundle\Seo\Entity\SeoMetadata;
use AutoAdmin\Bundle\Seo\Model\OpenGraphContentTranslationInterface;
use AutoAdmin\Bundle\Seo\Model\OpenGraphContentTranslationTrait;
use AutoAdmin\Bundle\Seo\Model\SchemaOrgContentTranslationInterface;
use AutoAdmin\Bundle\Seo\Model\SchemaOrgContentTranslationTrait;
use AutoAdmin\Bundle\Seo\Model\SeoContentTranslationInterface;
use AutoAdmin\Bundle\Seo\Model\SeoContentTranslationTrait;
use Doctrine\ORM\Mapping as ORM;

#[ORM\MappedSuperclass]
abstract class SeoContentTranslation extends ContentTranslation implements
    SeoContentTranslationInterface,
    SchemaOrgContentTranslationInterface,
    OpenGraphContentTranslationInterface
{
    use SeoContentTranslationTrait;
    use SchemaOrgContentTranslationTrait;
    use OpenGraphContentTranslationTrait;

    public function __construct()
    {
        $this->seoMetadata = new SeoMetadata();
        $this->schemaOrgMetadata = new SchemaOrgMetadata();
        $this->openGraphMetadata = new OpenGraphMetadata();
    }
}
