<?phpnamespace App\Entity;use App\Repository\PageRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: PageRepository::class)]class Page{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(length: 255, unique: true)] private ?string $slug = null; #[ORM\Column(length: 255)] private ?string $title = null; #[ORM\Column(length: 255, nullable: true)] private ?string $metaDescription = null; #[ORM\Column(length: 255)] private ?string $h1 = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $introText = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $content = null; public function getId(): ?int { return $this->id; } public function getSlug(): ?string { return $this->slug; } public function setSlug(string $slug): static { $this->slug = $slug; return $this; } public function getTitle(): ?string { return $this->title; } public function setTitle(string $title): static { $this->title = $title; return $this; } public function getMetaDescription(): ?string { return $this->metaDescription; } public function setMetaDescription(?string $metaDescription): static { $this->metaDescription = $metaDescription; return $this; } public function getH1(): ?string { return $this->h1; } public function setH1(string $h1): static { $this->h1 = $h1; return $this; } public function getIntroText(): ?string { return $this->introText; } public function setIntroText(?string $introText): static { $this->introText = $introText; return $this; } public function getContent(): ?string { return $this->content; } public function setContent(?string $content): static { $this->content = $content; return $this; }}