src/Flexy/FrontBundle/Entity/PubBanner.php line 11
<?php
namespace App\Flexy\FrontBundle\Entity;
use ApiPlatform\Core\Annotation\ApiResource;
use App\Flexy\FrontBundle\Repository\PubBannerRepository;
use Doctrine\ORM\Mapping as ORM;
#[ApiResource]
#[ORM\Entity(repositoryClass: PubBannerRepository::class)]
class PubBanner
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $image = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $lien = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $emplacement = null;
#[ORM\Column(type: 'boolean', nullable: true)]
private ?bool $isEnabled = null;
#[ORM\Column(type: 'boolean', nullable: true)]
private ?bool $isTextWhite = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $petitTitre = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $grandTitre = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $textePrix = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $titreBtn = null;
public function getId(): ?int
{
return $this->id;
}
public function getImage(): ?string
{
return $this->image;
}
public function setImage(?string $image): self
{
$this->image = $image;
return $this;
}
public function getLien(): ?string
{
return $this->lien;
}
public function setLien(?string $lien): self
{
$this->lien = $lien;
return $this;
}
public function getEmplacement(): ?string
{
return $this->emplacement;
}
public function setEmplacement(?string $emplacement): self
{
$this->emplacement = $emplacement;
return $this;
}
public function getIsEnabled(): ?bool
{
return $this->isEnabled;
}
public function setIsEnabled(?bool $isEnabled): self
{
$this->isEnabled = $isEnabled;
return $this;
}
public function getIsTextWhite(): ?bool
{
return $this->isTextWhite;
}
public function setIsTextWhite(?bool $isTextWhite): self
{
$this->isTextWhite = $isTextWhite;
return $this;
}
public function getPetitTitre(): ?string
{
return $this->petitTitre;
}
public function setPetitTitre(?string $petitTitre): self
{
$this->petitTitre = $petitTitre;
return $this;
}
public function getGrandTitre(): ?string
{
return $this->grandTitre;
}
public function setGrandTitre(?string $grandTitre): self
{
$this->grandTitre = $grandTitre;
return $this;
}
public function getTextePrix(): ?string
{
return $this->textePrix;
}
public function setTextePrix(?string $textePrix): self
{
$this->textePrix = $textePrix;
return $this;
}
public function getTitreBtn(): ?string
{
return $this->titreBtn;
}
public function setTitreBtn(?string $titreBtn): self
{
$this->titreBtn = $titreBtn;
return $this;
}
}