Viewing File: /usr/local/cpanel/whostmgr/docroot/cgi/ncssl/source/src/Entity/Data.php
<?php
namespace App\Entity;
use App\Repository\DataRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: DataRepository::class)]
#[ORM\UniqueConstraint(columns: ['namespace', 'config_key'])]
class Data
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 100)]
private ?string $namespace = null;
#[ORM\Column(length: 100)]
private ?string $configKey = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $configValue = null;
public function getId(): ?int
{
return $this->id;
}
public function getNamespace(): ?string
{
return $this->namespace;
}
public function setNamespace(string $namespace): static
{
$this->namespace = $namespace;
return $this;
}
public function getConfigKey(): ?string
{
return $this->configKey;
}
public function setConfigKey(string $configKey): static
{
$this->configKey = $configKey;
return $this;
}
public function getConfigValue(): ?string
{
return $this->configValue;
}
public function setConfigValue(?string $configValue): static
{
$this->configValue = $configValue;
return $this;
}
}
Back to Directory
File Manager