<?phpnamespace App\Entity;use App\Repository\FaqsRepository;use App\Traits\CommonTrt;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=FaqsRepository::class) */class Faqs{ use CommonTrt; /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255) */ private $title; /** * @ORM\Column(type="text", nullable=true) */ private $content; /** * @ORM\Column(type="string", length=255) */ private $slug; /** * @ORM\Column(type="boolean") */ private $isActive; /** * @ORM\ManyToOne(targetEntity=Lang::class, inversedBy="faqs") */ private $langue; public function getId(): ?int { return $this->id; } public function getTitle(): ?string { return $this->title; } public function setTitle(string $title): self { $this->title = $title; return $this; } public function getContent(): ?string { return $this->content; } public function setContent(?string $content): self { $this->content = $content; return $this; } public function getSlug(): ?string { return $this->slug; } public function setSlug(string $slug): self { $this->slug = $slug; return $this; } public function isIsActive(): ?bool { return $this->isActive; } public function setIsActive(bool $isActive): self { $this->isActive = $isActive; return $this; } public function getLangue(): ?Lang { return $this->langue; } public function setLangue(?Lang $langue): self { $this->langue = $langue; return $this; }}