src/Entity/PersonMeta.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Entity\Enum\PersonMetaVolunteer;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Embeddable]
  6. class PersonMeta
  7. {
  8.     #[ORM\Column(type'boolean'nullabletrue)]
  9.     private $isSponsor;
  10.     #[ORM\Column(type'string'nullabletrueenumTypePersonMetaVolunteer::class)]
  11.     private $volunteer;
  12.     #[ORM\Column(type'boolean'nullabletrue)]
  13.     private $hasImageRight;
  14.     #[ORM\Column(type'boolean'nullabletrue)]
  15.     private $hasAssociativeRgpd;
  16.     #[ORM\Column(type'boolean'nullabletrue)]
  17.     private $hasCommercialRgpd;
  18.     #[ORM\Column(type'boolean'nullabletrue)]
  19.     private $isMinorBackAlone;
  20.     #[ORM\Column(type'boolean'nullabletrue)]
  21.     private $isMinorCarSharing;
  22.     public function getIsSponsor(): ?bool
  23.     {
  24.         return $this->isSponsor;
  25.     }
  26.     public function setIsSponsor(?bool $isSponsor): self
  27.     {
  28.         $this->isSponsor $isSponsor;
  29.         return $this;
  30.     }
  31.     public function getVolunteer(): ?PersonMetaVolunteer
  32.     {
  33.         return $this->volunteer;
  34.     }
  35.     public function setVolunteer(?PersonMetaVolunteer $volunteer): self
  36.     {
  37.         $this->volunteer $volunteer;
  38.         return $this;
  39.     }
  40.     public function getHasImageRight(): ?bool
  41.     {
  42.         return $this->hasImageRight;
  43.     }
  44.     public function setHasImageRight(?bool $hasImageRight): self
  45.     {
  46.         $this->hasImageRight $hasImageRight;
  47.         return $this;
  48.     }
  49.     public function getHasAssociativeRgpd(): ?bool
  50.     {
  51.         return $this->hasAssociativeRgpd;
  52.     }
  53.     public function setHasAssociativeRgpd(?bool $hasAssociativeRgpd): self
  54.     {
  55.         $this->hasAssociativeRgpd $hasAssociativeRgpd;
  56.         return $this;
  57.     }
  58.     public function getHasCommercialRgpd(): ?bool
  59.     {
  60.         return $this->hasCommercialRgpd;
  61.     }
  62.     public function setHasCommercialRgpd(?bool $hasCommercialRgpd): self
  63.     {
  64.         $this->hasCommercialRgpd $hasCommercialRgpd;
  65.         return $this;
  66.     }
  67.     public function getIsMinorBackAlone(): ?bool
  68.     {
  69.         return $this->isMinorBackAlone;
  70.     }
  71.     public function setIsMinorBackAlone(?bool $isMinorBackAlone): self
  72.     {
  73.         $this->isMinorBackAlone $isMinorBackAlone;
  74.         return $this;
  75.     }
  76.     public function getIsMinorCarSharing(): ?bool
  77.     {
  78.         return $this->isMinorCarSharing;
  79.     }
  80.     public function setIsMinorCarSharing(?bool $isMinorCarSharing): self
  81.     {
  82.         $this->isMinorCarSharing $isMinorCarSharing;
  83.         return $this;
  84.     }
  85. }