<?php
namespace App\Entity;
use App\Repository\LanguagesRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: LanguagesRepository::class)]
class Languages
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 50, nullable: true)]
private ?string $name = null;
#[ORM\Column(length: 50, nullable: true)]
private ?string $code = null;
#[ORM\Column(nullable: true)]
private ?bool $isDefault = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $label = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $flagImage = null;
#[ORM\Column(nullable: true)]
private ?bool $isOff = null;
#[ORM\Column(nullable: true)]
private ?bool $isEnable = null;
#[ORM\Column(length: 50, nullable: true)]
private ?string $codeLocal = null;
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 getCode(): ?string
{
return $this->code;
}
public function setCode(?string $code): self
{
$this->code = $code;
return $this;
}
public function isIsDefault(): ?bool
{
return $this->isDefault;
}
public function setIsDefault(?bool $isDefault): self
{
$this->isDefault = $isDefault;
return $this;
}
public function getLabel(): ?string
{
return $this->label;
}
public function setLabel(?string $label): self
{
$this->label = $label;
return $this;
}
public function getFlagImage(): ?string
{
return $this->flagImage;
}
public function setFlagImage(?string $flagImage): self
{
$this->flagImage = $flagImage;
return $this;
}
public function isIsOff(): ?bool
{
return $this->isOff;
}
public function setIsOff(?bool $isOff): self
{
$this->isOff = $isOff;
return $this;
}
public function isIsEnable(): ?bool
{
return $this->isEnable;
}
public function setIsEnable(?bool $isEnable): self
{
$this->isEnable = $isEnable;
return $this;
}
public function getCodeLocal(): ?string
{
return $this->codeLocal;
}
public function setCodeLocal(?string $codeLocal): self
{
$this->codeLocal = $codeLocal;
return $this;
}
}