<?php
namespace Acme\SudcmsBundle\Entity;
use Acme\SudcmsBundle\Repository\LanguageRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: LanguageRepository::class)]
class Language
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'string', length: 3, nullable: true)]
private $lang_code;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private $lang_entitled;
#[ORM\Column(type: 'string', length: 3, nullable: true)]
private $lang_flag;
#[ORM\Column(type: 'smallint', nullable: true)]
private $lang_active;
#[ORM\Column(type: 'smallint', nullable: true)]
private $lang_order;
#[ORM\Column(type: 'smallint', nullable: true)]
private $lang_active_back;
public function getId(): ?int
{
return $this->id;
}
public function getLangCode(): ?string
{
return $this->lang_code;
}
public function setLangCode(?string $lang_code): self
{
$this->lang_code = $lang_code;
return $this;
}
public function getLangEntitled(): ?string
{
return $this->lang_entitled;
}
public function setLangEntitled(?string $lang_entitled): self
{
$this->lang_entitled = $lang_entitled;
return $this;
}
public function getLangFlag(): ?string
{
return $this->lang_flag;
}
public function setLangFlag(?string $lang_flag): self
{
$this->lang_flag = $lang_flag;
return $this;
}
public function getLangActive(): ?int
{
return $this->lang_active;
}
public function setLangActive(?int $lang_active): self
{
$this->lang_active = $lang_active;
return $this;
}
public function getLangOrder(): ?int
{
return $this->lang_order;
}
public function setLangOrder(?int $lang_order): self
{
$this->lang_order = $lang_order;
return $this;
}
public function getLangActiveBack(): ?int
{
return $this->lang_active_back;
}
public function setLangActiveBack(?int $lang_active_back): self
{
$this->lang_active_back = $lang_active_back;
return $this;
}
}