src/Entity/DesignationSetting.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\DesignationSettingRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassDesignationSettingRepository::class), ORM\Table(name'designation_settings')]
  6. class DesignationSetting implements \Stringable
  7. {
  8.     #[ORM\IdORM\GeneratedValueORM\Column(type'integer')]
  9.     private $id;
  10.     #[ORM\Column(type'string'length50)]
  11.     private $postingPlace;
  12.     #[ORM\Column(type'string'length100)]
  13.     private $designation;
  14.     #[ORM\Column(type'string'length1)]
  15.     private $classLevel;
  16.     #[ORM\Column(type'string'length3)]
  17.     private $retireAge;
  18.     #[ORM\Column(type'boolean')]
  19.     private bool $isRegReq false;
  20.     #[ORM\Column(type'integer')]
  21.     private $elNum;
  22.     #[ORM\Column(type'integer')]
  23.     private $mlNum;
  24.     #[ORM\Column(type'integer')]
  25.     private $clNum;
  26.     #[ORM\Column(type'integer')]
  27.     private $studyNum;
  28.     #[ORM\Column(type'integer')]
  29.     private int $lwpNum 0;
  30.     public function getId(): ?int
  31.     {
  32.         return $this->id;
  33.     }
  34.     public function getPostingPlace(): ?string
  35.     {
  36.         return $this->postingPlace;
  37.     }
  38.     public function setPostingPlace(string $postingPlace): self
  39.     {
  40.         $this->postingPlace $postingPlace;
  41.         return $this;
  42.     }
  43.     public function getDesignation(): ?string
  44.     {
  45.         return $this->designation;
  46.     }
  47.     public function setDesignation(string $designation): self
  48.     {
  49.         $this->designation $designation;
  50.         return $this;
  51.     }
  52.     public function getClassLevel(): ?string
  53.     {
  54.         return $this->classLevel;
  55.     }
  56.     public function setClassLevel(string $classLevel): self
  57.     {
  58.         $this->classLevel $classLevel;
  59.         return $this;
  60.     }
  61.     public function getRetireAge(): ?string
  62.     {
  63.         return $this->retireAge;
  64.     }
  65.     public function setRetireAge(string $retireAge): self
  66.     {
  67.         $this->retireAge $retireAge;
  68.         return $this;
  69.     }
  70.     public function getIsRegReq(): ?bool
  71.     {
  72.         return $this->isRegReq;
  73.     }
  74.     public function setIsRegReq(bool $isRegReq): self
  75.     {
  76.         $this->isRegReq $isRegReq;
  77.         return $this;
  78.     }
  79.     public function getElNum(): ?int
  80.     {
  81.         return $this->elNum;
  82.     }
  83.     public function setElNum(int $elNum): self
  84.     {
  85.         $this->elNum $elNum;
  86.         return $this;
  87.     }
  88.     public function getMlNum(): ?int
  89.     {
  90.         return $this->mlNum;
  91.     }
  92.     public function setMlNum(int $mlNum): self
  93.     {
  94.         $this->mlNum $mlNum;
  95.         return $this;
  96.     }
  97.     public function getClNum(): ?int
  98.     {
  99.         return $this->clNum;
  100.     }
  101.     public function setClNum(int $clNum): self
  102.     {
  103.         $this->clNum $clNum;
  104.         return $this;
  105.     }
  106.     public function getStudyNum(): ?int
  107.     {
  108.         return $this->studyNum;
  109.     }
  110.     public function setStudyNum(int $studyNum): self
  111.     {
  112.         $this->studyNum $studyNum;
  113.         return $this;
  114.     }
  115.     public function getLwpNum(): ?int
  116.     {
  117.         return $this->lwpNum;
  118.     }
  119.     public function setLwpNum(int $lwpNum): self
  120.     {
  121.         $this->lwpNum $lwpNum;
  122.         return $this;
  123.     }
  124.     public function __toString(): string
  125.     {
  126.         return $this->getDesignation();
  127.     }
  128. }