<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
class ContactGalleryEntry
{
/**
* @var int
*/
private $id;
/**
* @var \App\Entity\ContactGallery
*/
private $contactGallery;
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* 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;
}
/**
* @var int
*/
private $position;
/**
* 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;
}
/**
* @var \App\Entity\Contact
*/
private $contact;
/**
* 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;
}
}