src/Domain/Setting/Entity/Setting.php line 11
<?phpnamespace App\Domain\Setting\Entity;use App\Domain\Auth\Entity\Group;use App\Domain\Setting\Repository\SettingRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Table(name: 'settings')]#[ORM\Entity(repositoryClass: SettingRepository::class)]class Setting{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column(type: 'integer')]protected ?int $id = null;#[ORM\Column(type: 'string')]protected ?string $name = '';#[ORM\Column(type: 'string')]protected ?string $slug = '';#[ORM\Column(type: 'text',nullable: true)]protected ?string $value = '';#[ORM\Column(type: "string", nullable: true)]protected string $type;#[ORM\Column(type: "string", nullable: true)]protected string $category;#[ORM\Column(type: "integer")]protected int $sort;#[ORM\Column(type: 'json', nullable: true)]protected ?array $choices = null;#[ORM\Column(name: "conditions", type: "string", nullable: true)]protected ?string $conditions = '';/*** @return int*/public function getId(): int{return $this->id;}/*** @param int $id* @return Setting*/public function setId(int $id): Setting{$this->id = $id;return $this;}/*** @return string|null*/public function getName(): ?string{return $this->name;}/*** @param string|null $name* @return Setting*/public function setName(?string $name): Setting{$this->name = $name;return $this;}/*** @return string|null*/public function getValue(): ?string{return $this->value;}/*** @param string|null $value* @return Setting*/public function setValue(?string $value): Setting{$this->value = $value;return $this;}/*** @return string*/public function getType(): string{return $this->type;}/*** @param string $type* @return Setting*/public function setType(string $type): Setting{$this->type = $type;return $this;}/*** @return string*/public function getCategory(): string{return $this->category;}/*** @param string $category* @return Setting*/public function setCategory(string $category): Setting{$this->category = $category;return $this;}/*** @return string|null*/public function getSlug(): ?string{return $this->slug;}/*** @param string|null $slug* @return Setting*/public function setSlug(?string $slug): Setting{$this->slug = $slug;return $this;}/*** @return int*/public function getSort(): int{return $this->sort;}/*** @param int $sort* @return Setting*/public function setSort(int $sort): Setting{$this->sort = $sort;return $this;}/*** @return string|null*/public function getConditions(): ?string{return $this->conditions;}/*** @param string|null $conditions* @return Setting*/public function setConditions(?string $conditions): Setting{$this->conditions = $conditions;return $this;}/*** @return array|null*/public function getChoices(): ?array{return $this->choices;}/*** @param array|null $choices* @return Setting*/public function setChoices(?array $choices): Setting{$this->choices = $choices;return $this;}}