<?php
namespace App\Entity;
use App\Entity\Page\Page;
use App\Repository\FooterLinkRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=FooterLinkRepository::class)
*/
class FooterLink
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $namePL;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $nameEN;
/**
* @ORM\OneToOne(targetEntity=Page::class, inversedBy="footerLink", cascade={"persist", "remove"})
* @ORM\JoinColumn(nullable=true)
*/
private $page;
/**
* @ORM\Column(type="datetime")
*/
private $created_at;
/**
* @ORM\Column(type="datetime")
*/
private $updated_at;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $contentPL;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $contentEN;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $urlPL;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $urlEN;
public function getId(): ?int
{
return $this->id;
}
public function getNamePL(): ?string
{
return $this->namePL;
}
public function setNamePL(?string $namePL): self
{
$this->namePL = $namePL;
return $this;
}
public function getNameEN(): ?string
{
return $this->nameEN;
}
public function setNameEN(?string $nameEN): self
{
$this->nameEN = $nameEN;
return $this;
}
public function getPage(): ?Page
{
return $this->page;
}
public function setPage(?Page $page): self
{
$this->page = $page;
return $this;
}
public function getCreatedAt(): ?\DateTimeInterface
{
return $this->created_at;
}
public function setCreatedAt(\DateTimeInterface $created_at): self
{
$this->created_at = $created_at;
return $this;
}
public function getUpdatedAt(): ?\DateTimeInterface
{
return $this->updated_at;
}
public function setUpdatedAt(\DateTimeInterface $updated_at): self
{
$this->updated_at = $updated_at;
return $this;
}
public function getContentPL(): ?string
{
return $this->contentPL;
}
public function setContentPL(?string $contentPL): self
{
$this->contentPL = $contentPL;
return $this;
}
public function getContentEN(): ?string
{
return $this->contentEN;
}
public function setContentEN(?string $contentEN): self
{
$this->contentEN = $contentEN;
return $this;
}
public function getUrlPL(): ?string
{
return $this->urlPL;
}
public function setUrlPL(?string $urlPL): self
{
$this->urlPL = $urlPL;
return $this;
}
public function getUrlEN(): ?string
{
return $this->urlEN;
}
public function setUrlEN(?string $urlEN): self
{
$this->urlEN = $urlEN;
return $this;
}
}