<?php
declare(strict_types=1);
namespace App\Entity;
use App\Repository\AdditionalInformationRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=AdditionalInformationRepository::class)
* @ORM\Table(name="additional_informations", uniqueConstraints={
* @ORM\UniqueConstraint(name="uniq_additional_information_key", columns={"info_key"})
* })
*/
class AdditionalInformation
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private ?int $id = null;
/**
* @ORM\Column(name="info_key", type="string", length=190)
*/
private string $infoKey = '';
/**
* @ORM\Column(type="text")
*/
private string $content = '';
public function getId(): ?int
{
return $this->id;
}
public function getKey(): string
{
return $this->infoKey;
}
public function setKey(string $key): self
{
$this->infoKey = $key;
return $this;
}
public function getContent(): string
{
return $this->content;
}
public function setContent(string $content): self
{
$this->content = $content;
return $this;
}
}