src/Entity/ContactGalleryEntry.php line 7

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. class ContactGalleryEntry
  5. {
  6.     /**
  7.      * @var int
  8.      */
  9.     private $id;
  10.     /**
  11.      * @var int
  12.      */
  13.     private $position;    
  14.     
  15.     /**
  16.      * @var boolean
  17.      */
  18.     private bool $enabled false;      
  19.     
  20.     /**
  21.      * @var \App\Entity\Contact
  22.      */
  23.     private $contact;    
  24.     
  25.     /**
  26.      * @var \App\Entity\ContactGallery
  27.      */
  28.     private $contactGallery;
  29.     
  30.     /**
  31.      * Get id.
  32.      *
  33.      * @return int
  34.      */
  35.     public function getId()
  36.     {
  37.         return $this->id;
  38.     }
  39.     public function setEnabled($enabled) {
  40.         $this->enabled $enabled;
  41.     }
  42.     public function getEnabled() {
  43.         return $this->enabled;
  44.     }    
  45.     
  46.     /**
  47.      * Set position.
  48.      *
  49.      * @param int $position
  50.      *
  51.      * @return ContactGalleryEntry
  52.      */
  53.     public function setPosition($position)
  54.     {
  55.         $this->position $position;
  56.         return $this;
  57.     }
  58.     /**
  59.      * Get position.
  60.      *
  61.      * @return int
  62.      */
  63.     public function getPosition()
  64.     {
  65.         return $this->position;
  66.     }    
  67.     
  68.     /**
  69.      * Set contactGallery.
  70.      *
  71.      * @param \App\Entity\ContactGallery|null $contactGallery
  72.      *
  73.      * @return ContactGalleryEntry
  74.      */
  75.     public function setContactGallery(\App\Entity\ContactGallery $contactGallery null)
  76.     {
  77.         $this->contactGallery $contactGallery;
  78.         return $this;
  79.     }
  80.     /**
  81.      * Get contactGallery.
  82.      *
  83.      * @return \App\Entity\ContactGallery|null
  84.      */
  85.     public function getContactGallery()
  86.     {
  87.         return $this->contactGallery;
  88.     }
  89.     
  90.     /**
  91.      * Set contact.
  92.      *
  93.      * @param \App\Entity\Contact|null $contact
  94.      *
  95.      * @return ContactGalleryEntry
  96.      */
  97.     public function setContact(\App\Entity\Contact $contact null)
  98.     {
  99.         $this->contact $contact;
  100.         return $this;
  101.     }
  102.     /**
  103.      * Get contact.
  104.      *
  105.      * @return \App\Entity\Contact|null
  106.      */
  107.     public function getContact()
  108.     {
  109.         return $this->contact;
  110.     }
  111. }