<?php
namespace App\Entity;
use App\Entity\Traits\CommonTrait;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Symfony\Component\Serializer\Annotation\Groups;
/**
* @ORM\Entity(repositoryClass="App\Repository\AppSettingsRepository")
* @ORM\Table(name="app_settings")
* @UniqueEntity({"uuid"})
* @ORM\HasLifecycleCallbacks()
*/
class AppSettings
{
/**
* @ORM\Column(type="string", length=255, unique=true)
*/
private $name;
/**
* @ORM\Column(type="text")
*/
private $value;
/**
* @ORM\Id()
* @ORM\Column(type="string", length=255)
*/
private $uKey;
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getValue(): ?string
{
return $this->value;
}
public function setValue(string $value): self
{
$this->value = $value;
return $this;
}
public function getUKey(): ?string
{
return $this->uKey;
}
public function setUKey(string $uKey): self
{
$this->uKey = $uKey;
return $this;
}
}