<?php
namespace App\Entity;
use App\Repository\SettingRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=SettingRepository::class)
*/
class Setting
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $name;
/**
* @ORM\Column(type="string", length=255)
*/
private $machineName;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $description;
/**
* @ORM\Column(type="string", length=255)
*/
private $widget;
/**
* @ORM\Column(type="string", length=255)
*/
private $role;
/**
* @ORM\Column(type="string", length=128)
*/
private $target;
/**
* @ORM\Column(type="text")
*/
private $defaultValue;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $defaultUrl;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getMachineName(): ?string
{
return $this->machineName;
}
public function setMachineName(string $machineName): self
{
$this->machineName = $machineName;
return $this;
}
public function setWidget(string $widget): self
{
$this->widget = $widget;
return $this;
}
public function getWidget(): ?string
{
return $this->widget;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(?string $description): self
{
$this->description = $description;
return $this;
}
public function getRole(): ?string
{
return $this->role;
}
public function setRole(string $role): self
{
$this->role = $role;
return $this;
}
public function getTarget(): ?string
{
return $this->target;
}
public function setTarget(string $target): self
{
$this->target = $target;
return $this;
}
public function getDefaultValue(): ?string
{
return $this->defaultValue;
}
public function setDefaultValue(string $defaultValue): self
{
$this->defaultValue = $defaultValue;
return $this;
}
public function getDefaultUrl(): ?string
{
return $this->defaultUrl;
}
public function setDefaultUrl(string $defaultUrl): self
{
$this->defaultUrl = $defaultUrl;
return $this;
}
}