src/Entity/Language.php line 9

Open in your IDE?
  1. <?php
  2. namespace Acme\SudcmsBundle\Entity;
  3. use Acme\SudcmsBundle\Repository\LanguageRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassLanguageRepository::class)]
  6. class Language
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length3nullabletrue)]
  13.     private $lang_code;
  14.     #[ORM\Column(type'string'length255nullabletrue)]
  15.     private $lang_entitled;
  16.     #[ORM\Column(type'string'length3nullabletrue)]
  17.     private $lang_flag;
  18.     #[ORM\Column(type'smallint'nullabletrue)]
  19.     private $lang_active;
  20.     #[ORM\Column(type'smallint'nullabletrue)]
  21.     private $lang_order;
  22.     #[ORM\Column(type'smallint'nullabletrue)]
  23.     private $lang_active_back;
  24.     public function getId(): ?int
  25.     {
  26.         return $this->id;
  27.     }
  28.     public function getLangCode(): ?string
  29.     {
  30.         return $this->lang_code;
  31.     }
  32.     public function setLangCode(?string $lang_code): self
  33.     {
  34.         $this->lang_code $lang_code;
  35.         return $this;
  36.     }
  37.     public function getLangEntitled(): ?string
  38.     {
  39.         return $this->lang_entitled;
  40.     }
  41.     public function setLangEntitled(?string $lang_entitled): self
  42.     {
  43.         $this->lang_entitled $lang_entitled;
  44.         return $this;
  45.     }
  46.     public function getLangFlag(): ?string
  47.     {
  48.         return $this->lang_flag;
  49.     }
  50.     public function setLangFlag(?string $lang_flag): self
  51.     {
  52.         $this->lang_flag $lang_flag;
  53.         return $this;
  54.     }
  55.     public function getLangActive(): ?int
  56.     {
  57.         return $this->lang_active;
  58.     }
  59.     public function setLangActive(?int $lang_active): self
  60.     {
  61.         $this->lang_active $lang_active;
  62.         return $this;
  63.     }
  64.     public function getLangOrder(): ?int
  65.     {
  66.         return $this->lang_order;
  67.     }
  68.     public function setLangOrder(?int $lang_order): self
  69.     {
  70.         $this->lang_order $lang_order;
  71.         return $this;
  72.     }
  73.     public function getLangActiveBack(): ?int
  74.     {
  75.         return $this->lang_active_back;
  76.     }
  77.     public function setLangActiveBack(?int $lang_active_back): self
  78.     {
  79.         $this->lang_active_back $lang_active_back;
  80.         return $this;
  81.     }
  82. }