<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use App\Entity\Traits\ActiveTrait;
use App\Entity\Traits\DeleteTrait;
use App\Entity\Traits\TranslateTrait;
use App\Repository\SettingRepository;
use App\Entity\Traits\FileUploadTrait;
use Gedmo\Mapping\Annotation as Gedmo;
use App\Entity\Traits\ImageUploadTrait;
use App\Entity\Traits\VideoUploadTrait;
use App\Entity\Interfaces\DefaultEntity;
use App\Entity\Traits\TitleAndContentTrait;
use Gedmo\Timestampable\Traits\TimestampableEntity;
/**
* @Gedmo\Loggable
*/
#[ORM\Entity(repositoryClass: \App\Repository\SettingRepository::class)]
class Setting implements DefaultEntity
{
use TitleAndContentTrait;
use ActiveTrait;
use DeleteTrait;
use TimestampableEntity;
use TranslateTrait;
use ImageUploadTrait;
use FileUploadTrait;
use VideoUploadTrait;
#[ORM\Column(name: 'id', type: 'integer')]
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'AUTO')]
private $id;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $displayText;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $iconClass;
public function getId(): ?int
{
return $this->id;
}
public function getDisplayText(): ?string
{
return $this->displayText;
}
public function setDisplayText(?string $displayText): self
{
$this->displayText = $displayText;
return $this;
}
public function getIconClass(): ?string
{
return $this->iconClass;
}
public function setIconClass($iconClass): self
{
$this->iconClass = $iconClass;
return $this;
}
}