<?phpnamespace App\Entity\Website\Cms;use App\Entity\BaseEntity;use App\Entity\Website\Website\Website;use App\Repository\Website\Cms\PageRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;use Symfony\Bridge\Doctrine\IdGenerator\UuidGenerator;#[ORM\Entity(repositoryClass: PageRepository::class)]class Page extends BaseEntity{ #[ORM\Id] #[ORM\Column(type: 'guid', unique: true)] #[ORM\GeneratedValue(strategy: 'CUSTOM')] #[ORM\CustomIdGenerator(class: UuidGenerator::class)] private ?string $id = null; #[ORM\Column(length: 255)] private ?string $title = null; #[ORM\Column(type: Types::TEXT)] private ?string $content = null; #[ORM\Column(length: 255, nullable: true)] private ?string $metaTitle = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $metaDescription = null; #[ORM\Column(nullable: true)] private ?array $metaKeywords = null; #[ORM\Column(length: 255, nullable: true)] private ?string $ogImage = null; #[ORM\Column(length: 255, nullable: true)] private ?string $canonicalUrl = null; #[ORM\Column(nullable: true)] private ?bool $noIndex = null; #[ORM\Column(nullable: true)] private ?bool $noFollow = null; #[ORM\Column(length: 255, nullable: true)] private ?string $metaRobotsCustom = null; #[ORM\Column(length: 255, nullable: true)] private ?string $schemaType = null; #[ORM\Column(nullable: true)] private ?array $schemaData = null; #[ORM\Column(nullable: true)] private ?array $alternateLangs = null; #[ORM\Column(length: 255, nullable: true)] private ?string $breadcrumbTitle = null; #[ORM\Column(nullable: true)] private ?float $priorityInSitemap = null; #[ORM\Column(length: 255, nullable: true)] private ?string $changeFrequency = null; #[ORM\ManyToOne(inversedBy: 'pages')] #[ORM\JoinColumn(nullable: false)] private ?Website $website = null; public function getId(): ?string { return $this->id; } public function getTitle(): ?string { return $this->title; } public function setTitle(string $title): static { $this->title = $title; return $this; } public function getContent(): ?string { return $this->content; } public function setContent(string $content): static { $this->content = $content; return $this; } public function getMetaTitle(): ?string { return $this->metaTitle; } public function setMetaTitle(?string $metaTitle): static { $this->metaTitle = $metaTitle; return $this; } public function getMetaDescription(): ?string { return $this->metaDescription; } public function setMetaDescription(?string $metaDescription): static { $this->metaDescription = $metaDescription; return $this; } public function getMetaKeywords(): ?array { return $this->metaKeywords; } public function setMetaKeywords(?array $metaKeywords): static { $this->metaKeywords = $metaKeywords; return $this; } public function getOgImage(): ?string { return $this->ogImage; } public function setOgImage(?string $ogImage): static { $this->ogImage = $ogImage; return $this; } public function getCanonicalUrl(): ?string { return $this->canonicalUrl; } public function setCanonicalUrl(?string $canonicalUrl): static { $this->canonicalUrl = $canonicalUrl; return $this; } public function isNoIndex(): ?bool { return $this->noIndex; } public function setNoIndex(?bool $noIndex): static { $this->noIndex = $noIndex; return $this; } public function isNoFollow(): ?bool { return $this->noFollow; } public function setNoFollow(?bool $noFollow): static { $this->noFollow = $noFollow; return $this; } public function getMetaRobotsCustom(): ?string { return $this->metaRobotsCustom; } public function setMetaRobotsCustom(?string $metaRobotsCustom): static { $this->metaRobotsCustom = $metaRobotsCustom; return $this; } public function getSchemaType(): ?string { return $this->schemaType; } public function setSchemaType(?string $schemaType): static { $this->schemaType = $schemaType; return $this; } public function getSchemaData(): ?array { return $this->schemaData; } public function setSchemaData(?array $schemaData): static { $this->schemaData = $schemaData; return $this; } public function getAlternateLangs(): ?array { return $this->alternateLangs; } public function setAlternateLangs(?array $alternateLangs): static { $this->alternateLangs = $alternateLangs; return $this; } public function getBreadcrumbTitle(): ?string { return $this->breadcrumbTitle; } public function setBreadcrumbTitle(?string $breadcrumbTitle): static { $this->breadcrumbTitle = $breadcrumbTitle; return $this; } public function getPriorityInSitemap(): ?float { return $this->priorityInSitemap; } public function setPriorityInSitemap(?float $priorityInSitemap): static { $this->priorityInSitemap = $priorityInSitemap; return $this; } public function getChangeFrequency(): ?string { return $this->changeFrequency; } public function setChangeFrequency(?string $changeFrequency): static { $this->changeFrequency = $changeFrequency; return $this; } public function getWebsite(): ?Website { return $this->website; } public function setWebsite(?Website $website): static { $this->website = $website; return $this; }}