<?phpnamespace App\Entity;use App\Repository\ContentRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=ContentRepository::class) */class Content{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255) */ private $contentType; /** * @ORM\Column(type="string", length=255) */ private $title; /** * @ORM\Column(type="string", length=255) */ private $page; /** * @ORM\Column(type="string", length=255) */ private $path; /** * @ORM\Column(type="text") */ private $body; /** * @ORM\Column(type="datetime") */ private $created; /** * @ORM\Column(type="datetime") */ private $updated; /** * @ORM\Column(type="integer") */ private $uid; /** * @ORM\Column(type="boolean") */ private $status; public function getId(): ?int { return $this->id; } public function getContentType(): ?string { return $this->contentType; } public function setContentType(string $contentType): self { $this->contentType = $contentType; return $this; } public function getTitle(): ?string { return $this->title; } public function setTitle(string $title): self { $this->title = $title; return $this; } public function getPage(): ?string { return $this->page; } public function setPage(string $page): self { $this->page = $page; return $this; } public function getPath(): ?string { return $this->path; } public function setPath(string $path): self { $this->path = $path; return $this; } public function getBody(): ?string { return $this->body; } public function setBody(string $body): self { $this->body = $body; return $this; } public function getCreated(): ?\DateTimeInterface { return $this->created; } public function setCreated(\DateTimeInterface $created): self { $this->created = $created; return $this; } public function getUpdated(): ?\DateTimeInterface { return $this->updated; } public function setUpdated(\DateTimeInterface $updated): self { $this->updated = $updated; return $this; } public function getUid(): ?int { return $this->uid; } public function setUid(int $uid): self { $this->uid = $uid; return $this; } public function getStatus(): ?bool { return $this->status; } public function setStatus(bool $status): self { $this->status = $status; return $this; }}