src/Entity/Titulatuur.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\TitulatuurRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassTitulatuurRepository::class)]
  6. class Titulatuur
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255nullabletrue)]
  13.     private ?string $titulatuur null;
  14.     #[ORM\Column(length1nullabletrue)]
  15.     private ?string $sexe null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $adrestitel null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $aanspreektitel null;
  20.     #[ORM\Column(length150nullabletrue)]
  21.     private ?string $afkorting null;
  22.     public function __toString()
  23.     {
  24.         return $this->afkorting;
  25.     }
  26.     public function getId(): ?int
  27.     {
  28.         return $this->id;
  29.     }
  30.     public function getTitulatuur(): ?string
  31.     {
  32.         return $this->titulatuur;
  33.     }
  34.     public function setTitulatuur(?string $titulatuur): self
  35.     {
  36.         $this->titulatuur $titulatuur;
  37.         return $this;
  38.     }
  39.     public function getSexe(): ?string
  40.     {
  41.         return $this->sexe;
  42.     }
  43.     public function setSexe(?string $sexe): self
  44.     {
  45.         $this->sexe $sexe;
  46.         return $this;
  47.     }
  48.     public function getAdrestitel(): ?string
  49.     {
  50.         return $this->adrestitel;
  51.     }
  52.     public function setAdrestitel(?string $adrestitel): self
  53.     {
  54.         $this->adrestitel $adrestitel;
  55.         return $this;
  56.     }
  57.     public function getAanspreektitel(): ?string
  58.     {
  59.         return $this->aanspreektitel;
  60.     }
  61.     public function setAanspreektitel(?string $aanspreektitel): self
  62.     {
  63.         $this->aanspreektitel $aanspreektitel;
  64.         return $this;
  65.     }
  66.     public function getAfkorting(): ?string
  67.     {
  68.         return $this->afkorting;
  69.     }
  70.     public function setAfkorting(?string $afkorting): self
  71.     {
  72.         $this->afkorting $afkorting;
  73.         return $this;
  74.     }
  75. }