<?phpnamespace App\Entity;use App\Entity\Enum\PersonMetaVolunteer;use Doctrine\ORM\Mapping as ORM;#[ORM\Embeddable]class PersonMeta{ #[ORM\Column(type: 'boolean', nullable: true)] private $isSponsor; #[ORM\Column(type: 'string', nullable: true, enumType: PersonMetaVolunteer::class)] private $volunteer; #[ORM\Column(type: 'boolean', nullable: true)] private $hasImageRight; #[ORM\Column(type: 'boolean', nullable: true)] private $hasAssociativeRgpd; #[ORM\Column(type: 'boolean', nullable: true)] private $hasCommercialRgpd; #[ORM\Column(type: 'boolean', nullable: true)] private $isMinorBackAlone; #[ORM\Column(type: 'boolean', nullable: true)] private $isMinorCarSharing; public function getIsSponsor(): ?bool { return $this->isSponsor; } public function setIsSponsor(?bool $isSponsor): self { $this->isSponsor = $isSponsor; return $this; } public function getVolunteer(): ?PersonMetaVolunteer { return $this->volunteer; } public function setVolunteer(?PersonMetaVolunteer $volunteer): self { $this->volunteer = $volunteer; return $this; } public function getHasImageRight(): ?bool { return $this->hasImageRight; } public function setHasImageRight(?bool $hasImageRight): self { $this->hasImageRight = $hasImageRight; return $this; } public function getHasAssociativeRgpd(): ?bool { return $this->hasAssociativeRgpd; } public function setHasAssociativeRgpd(?bool $hasAssociativeRgpd): self { $this->hasAssociativeRgpd = $hasAssociativeRgpd; return $this; } public function getHasCommercialRgpd(): ?bool { return $this->hasCommercialRgpd; } public function setHasCommercialRgpd(?bool $hasCommercialRgpd): self { $this->hasCommercialRgpd = $hasCommercialRgpd; return $this; } public function getIsMinorBackAlone(): ?bool { return $this->isMinorBackAlone; } public function setIsMinorBackAlone(?bool $isMinorBackAlone): self { $this->isMinorBackAlone = $isMinorBackAlone; return $this; } public function getIsMinorCarSharing(): ?bool { return $this->isMinorCarSharing; } public function setIsMinorCarSharing(?bool $isMinorCarSharing): self { $this->isMinorCarSharing = $isMinorCarSharing; return $this; }}