<?phpnamespace App\Entity;use Doctrine\ORM\Mapping as ORM;class ContactGalleryEntry{ /** * @var int */ private $id; /** * @var int */ private $position; /** * @var boolean */ private bool $enabled = false; /** * @var \App\Entity\Contact */ private $contact; /** * @var \App\Entity\ContactGallery */ private $contactGallery; /** * Get id. * * @return int */ public function getId() { return $this->id; } public function setEnabled($enabled) { $this->enabled = $enabled; } public function getEnabled() { return $this->enabled; } /** * Set position. * * @param int $position * * @return ContactGalleryEntry */ public function setPosition($position) { $this->position = $position; return $this; } /** * Get position. * * @return int */ public function getPosition() { return $this->position; } /** * Set contactGallery. * * @param \App\Entity\ContactGallery|null $contactGallery * * @return ContactGalleryEntry */ public function setContactGallery(\App\Entity\ContactGallery $contactGallery = null) { $this->contactGallery = $contactGallery; return $this; } /** * Get contactGallery. * * @return \App\Entity\ContactGallery|null */ public function getContactGallery() { return $this->contactGallery; } /** * Set contact. * * @param \App\Entity\Contact|null $contact * * @return ContactGalleryEntry */ public function setContact(\App\Entity\Contact $contact = null) { $this->contact = $contact; return $this; } /** * Get contact. * * @return \App\Entity\Contact|null */ public function getContact() { return $this->contact; }}