<?php
namespace App\Entity\Administration;
use App\Repository\Administration\GalleryRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: GalleryRepository::class)]
class Galery
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(type: 'string')]
private string $fileName;
#[ORM\Column]
private ?bool $isActive = null;
public function getId(): ?int
{
return $this->id;
}
public function setId(?int $id): self
{
$this->id = $id;
return $this;
}
public function getFileName(): string
{
return $this->fileName;
}
public function setFileName(string $fileName): static
{
$this->fileName = $fileName;
return $this;
}
public function isActive(): ?bool
{
return $this->isActive;
}
public function setActive(?bool $isActive): static
{
$this->isActive = $isActive;
return $this;
}
}