<?php
// src/AppBundle/Entity/GalleryItem.php
namespace App\Entity;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\EntityRepo\GalleryItemRepo")
* @ORM\Table(name="gallery_item")
*/
class GalleryItem
{
/**
* @ORM\Column(type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $galleryItemId=0;
/**
* @ORM\Column(type="integer")
*/
protected $galleryId=0;
/**
* @ORM\Column(type="string", length=100, nullable=true)
*/
protected $galleryItemName;
/**
* @ORM\Column(type="text", nullable=true)
*/
protected $galleryItemDescription;
/**
* @ORM\Column(type="text", length=255, nullable=true)
*/
protected $galleryItemFile;
/**
* @ORM\Column(type="integer", nullable=true)
*/
protected $priority;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
protected $clickURL;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
protected $slideClickURL;
public function getGalleryItemId(): ?int
{
return $this->galleryItemId;
}
public function getGalleryId(): ?int
{
return $this->galleryId;
}
public function setGalleryId(int $galleryId): static
{
$this->galleryId = $galleryId;
return $this;
}
public function getGalleryItemName(): ?string
{
return $this->galleryItemName;
}
public function setGalleryItemName(?string $galleryItemName): static
{
$this->galleryItemName = $galleryItemName;
return $this;
}
public function getGalleryItemDescription(): ?string
{
return $this->galleryItemDescription;
}
public function setGalleryItemDescription(?string $galleryItemDescription): static
{
$this->galleryItemDescription = $galleryItemDescription;
return $this;
}
public function getGalleryItemFile(): ?string
{
return $this->galleryItemFile;
}
public function setGalleryItemFile(?string $galleryItemFile): static
{
$this->galleryItemFile = $galleryItemFile;
return $this;
}
public function getPriority(): ?int
{
return $this->priority;
}
public function setPriority(?int $priority): static
{
$this->priority = $priority;
return $this;
}
public function getClickURL(): ?string
{
return $this->clickURL;
}
public function setClickURL(?string $clickURL): static
{
$this->clickURL = $clickURL;
return $this;
}
public function getSlideClickURL(): ?string
{
return $this->slideClickURL;
}
public function setSlideClickURL(?string $slideClickURL): static
{
$this->slideClickURL = $slideClickURL;
return $this;
}
}