<?php
declare(strict_types=1);
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity()
*/
class Setting implements SettingInterface
{
use ResourceTrait;
use TimestampableTrait;
use CreatedByAwareTrait;
use UpdatedByAwareTrait;
/**
* @ORM\Column(type="string", name="`key`", nullable=false, unique=true)
*/
private ?string $key = null;
/**
* @ORM\Column(type="text", nullable=true)
*/
private ?string $content = null;
public function getKey(): ?string
{
return $this->key;
}
public function setKey(?string $key): void
{
$this->key = $key;
}
public function getContent(): ?string
{
return $this->content;
}
public function setContent(?string $content): void
{
$this->content = $content;
}
}