<?php

namespace App\Entity;

use AutoAdmin\Bundle\Content\Entity\PageTranslation as BasePageTranslation;
use AutoAdmin\Bundle\Content\Entity\Traits\BrickTrait;
use AutoAdmin\Bundle\Content\Model\BrickInterface;
use AutoAdmin\Bundle\Seo\Entity\SeoMetadata;
use AutoAdmin\Bundle\Seo\Model\SeoContentTranslationInterface;
use AutoAdmin\Bundle\Seo\Model\SeoContentTranslationTrait;
use Doctrine\ORM\Mapping as ORM;

/**
 * Class PageTranslation
 * @package App\Entity
 */
#[ORM\Entity]
class PageTranslation extends BasePageTranslation implements SeoContentTranslationInterface, BrickInterface
{
    use SeoContentTranslationTrait;
    use BrickTrait;

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