<?php
namespace App\Entity;
use App\Repository\HeaderRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: HeaderRepository::class)]
class Header
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $title = null;
#[ORM\Column(type: Types::TEXT)]
private ?string $content = null;
#[ORM\Column(length: 255)]
private ?string $btnTitle = null;
#[ORM\Column(length: 255)]
private ?string $btnUrl = null;
#[ORM\Column(length: 255)]
private ?string $illustration = null;
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 getContent(): ?string
{
return $this->content;
}
public function setContent(string $content): self
{
$this->content = $content;
return $this;
}
public function getBtnTitle(): ?string
{
return $this->btnTitle;
}
public function setBtnTitle(string $btnTitle): self
{
$this->btnTitle = $btnTitle;
return $this;
}
public function getBtnUrl(): ?string
{
return $this->btnUrl;
}
public function setBtnUrl(string $btnUrl): self
{
$this->btnUrl = $btnUrl;
return $this;
}
public function getIllustration(): ?string
{
return $this->illustration;
}
public function setIllustration(string $illustration): self
{
$this->illustration = $illustration;
return $this;
}
}