<?php
namespace App\Entity;
use App\Repository\PageRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=PageRepository::class)
*/
class Page
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(name="idPage",type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=45, nullable=true)
*/
private $title;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $link;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $keyword;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $description;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $content;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $template;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $active;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $creationDate;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $creationBy;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $modificationDate;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $modificationBy;
public function getId(): ?int
{
return $this->id;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setTitle(?string $title): self
{
$this->title = $title;
return $this;
}
public function getLink(): ?string
{
return $this->link;
}
public function setLink(?string $link): self
{
$this->link = $link;
return $this;
}
public function getKeyword(): ?string
{
return $this->keyword;
}
public function setKeyword(?string $keyword): self
{
$this->keyword = $keyword;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(?string $description): self
{
$this->description = $description;
return $this;
}
public function getContent(): ?string
{
return $this->content;
}
public function setContent(?string $content): self
{
$this->content = $content;
return $this;
}
public function getTemplate(): ?string
{
return $this->template;
}
public function setTemplate(?string $template): self
{
$this->template = $template;
return $this;
}
public function getActive(): ?bool
{
return $this->active;
}
public function setActive(?bool $active): self
{
$this->active = $active;
return $this;
}
public function getCreationDate(): ?\DateTimeInterface
{
return $this->creationDate;
}
public function setCreationDate(?\DateTimeInterface $creationDate): self
{
$this->creationDate = $creationDate;
return $this;
}
public function getCreationBy(): ?int
{
return $this->creationBy;
}
public function setCreationBy(?int $creationBy): self
{
$this->creationBy = $creationBy;
return $this;
}
public function getModificationDate(): ?\DateTimeInterface
{
return $this->modificationDate;
}
public function setModificationDate(?\DateTimeInterface $modificationDate): self
{
$this->modificationDate = $modificationDate;
return $this;
}
public function getModificationBy(): ?int
{
return $this->modificationBy;
}
public function setModificationBy(?int $modificationBy): self
{
$this->modificationBy = $modificationBy;
return $this;
}
}