- <?php
- namespace App\Entity;
- use App\Repository\BannerRepository;
- use Doctrine\ORM\Mapping as ORM;
- #[ORM\Entity(repositoryClass: BannerRepository::class)]
- class Banner
- {
-     #[ORM\Id]
-     #[ORM\GeneratedValue]
-     #[ORM\Column]
-     private ?int $id = null;
-     #[ORM\Column(length: 255)]
-     private ?string $name = null;
-     #[ORM\Column(length: 255)]
-     private ?string $slug = null;
-     #[ORM\Column(length: 255)]
-     private ?string $image = null;
-     #[ORM\Column]
-     private ?bool $active = null;
-     #[ORM\Column]
-     private ?int $clientindex = null;
-     public function getId(): ?int
-     {
-         return $this->id;
-     }
-     public function getName(): ?string
-     {
-         return $this->name;
-     }
-     public function setName(string $name): static
-     {
-         $this->name = $name;
-         return $this;
-     }
-     public function getSlug(): ?string
-     {
-         return $this->slug;
-     }
-     public function setSlug(string $slug): static
-     {
-         $this->slug = $slug;
-         return $this;
-     }
-     public function getImage(): ?string
-     {
-         return $this->image;
-     }
-     public function setImage(string $image): static
-     {
-         $this->image = $image;
-         return $this;
-     }
-     public function isActive(): ?bool
-     {
-         return $this->active;
-     }
-     public function setActive(bool $active): static
-     {
-         $this->active = $active;
-         return $this;
-     }
-     public function getClientIndex(): ?int
-     {
-         return $this->clientindex;
-     }
-     public function setClientIndex(int $clientindex): static
-     {
-         $this->clientindex = $clientindex;
-         return $this;
-     }
- }
-