<?php
namespace App\Entity;
use App\Repository\AboutPageDataRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: AboutPageDataRepository::class)]
class AboutPageData
{
const ABOUT_DATA_ID = 1;
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $content = null;
#[ORM\Column(length: 13)]
private ?string $contact_phone = null;
#[ORM\Column(length: 50)]
private ?string $contact_email = null;
public function getId(): ?int
{
return $this->id;
}
public function getContent(): ?string
{
return $this->content;
}
public function setContent(string $content): static
{
$this->content = $content;
return $this;
}
public function getContactPhone(): ?string
{
return $this->contact_phone;
}
public function setContactPhone(string $contact_phone): static
{
$this->contact_phone = $contact_phone;
return $this;
}
public function getContactEmail(): ?string
{
return $this->contact_email;
}
public function setContactEmail(string $contact_email): static
{
$this->contact_email = $contact_email;
return $this;
}
}