<?php
namespace App\Entity;
use App\Repository\DesignationSettingRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: DesignationSettingRepository::class), ORM\Table(name: 'designation_settings')]
class DesignationSetting implements \Stringable
{
#[ORM\Id, ORM\GeneratedValue, ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'string', length: 50)]
private $postingPlace;
#[ORM\Column(type: 'string', length: 100)]
private $designation;
#[ORM\Column(type: 'string', length: 1)]
private $classLevel;
#[ORM\Column(type: 'string', length: 3)]
private $retireAge;
#[ORM\Column(type: 'boolean')]
private bool $isRegReq = false;
#[ORM\Column(type: 'integer')]
private $elNum;
#[ORM\Column(type: 'integer')]
private $mlNum;
#[ORM\Column(type: 'integer')]
private $clNum;
#[ORM\Column(type: 'integer')]
private $studyNum;
#[ORM\Column(type: 'integer')]
private int $lwpNum = 0;
public function getId(): ?int
{
return $this->id;
}
public function getPostingPlace(): ?string
{
return $this->postingPlace;
}
public function setPostingPlace(string $postingPlace): self
{
$this->postingPlace = $postingPlace;
return $this;
}
public function getDesignation(): ?string
{
return $this->designation;
}
public function setDesignation(string $designation): self
{
$this->designation = $designation;
return $this;
}
public function getClassLevel(): ?string
{
return $this->classLevel;
}
public function setClassLevel(string $classLevel): self
{
$this->classLevel = $classLevel;
return $this;
}
public function getRetireAge(): ?string
{
return $this->retireAge;
}
public function setRetireAge(string $retireAge): self
{
$this->retireAge = $retireAge;
return $this;
}
public function getIsRegReq(): ?bool
{
return $this->isRegReq;
}
public function setIsRegReq(bool $isRegReq): self
{
$this->isRegReq = $isRegReq;
return $this;
}
public function getElNum(): ?int
{
return $this->elNum;
}
public function setElNum(int $elNum): self
{
$this->elNum = $elNum;
return $this;
}
public function getMlNum(): ?int
{
return $this->mlNum;
}
public function setMlNum(int $mlNum): self
{
$this->mlNum = $mlNum;
return $this;
}
public function getClNum(): ?int
{
return $this->clNum;
}
public function setClNum(int $clNum): self
{
$this->clNum = $clNum;
return $this;
}
public function getStudyNum(): ?int
{
return $this->studyNum;
}
public function setStudyNum(int $studyNum): self
{
$this->studyNum = $studyNum;
return $this;
}
public function getLwpNum(): ?int
{
return $this->lwpNum;
}
public function setLwpNum(int $lwpNum): self
{
$this->lwpNum = $lwpNum;
return $this;
}
public function __toString(): string
{
return $this->getDesignation();
}
}