src/Flexy/FrontBundle/Entity/MasterSlider.php line 11
<?php
namespace App\Flexy\FrontBundle\Entity;
use ApiPlatform\Core\Annotation\ApiResource;
use App\Flexy\FrontBundle\Repository\MasterSliderRepository;
use Doctrine\ORM\Mapping as ORM;
#[ApiResource]
#[ORM\Entity(repositoryClass: MasterSliderRepository::class)]
class MasterSlider
{
#[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 $grandTitre = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $petitTitre = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $textePrix = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $lien = null;
#[ORM\Column(type: 'string', length: 255, nullable: true)]
private ?string $titreBtn = null;
#[ORM\Column(type: 'boolean', nullable: true)]
private ?bool $isEnabled = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $hook = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $type = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $texteOldPrice = 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 getGrandTitre(): ?string
{
return $this->grandTitre;
}
public function setGrandTitre(?string $grandTitre): self
{
$this->grandTitre = $grandTitre;
return $this;
}
public function getPetitTitre(): ?string
{
return $this->petitTitre;
}
public function setPetitTitre(?string $petitTitre): self
{
$this->petitTitre = $petitTitre;
return $this;
}
public function getTextePrix(): ?string
{
return $this->textePrix;
}
public function setTextePrix(?string $textePrix): self
{
$this->textePrix = $textePrix;
return $this;
}
public function getLien(): ?string
{
return $this->lien;
}
public function setLien(?string $lien): self
{
$this->lien = $lien;
return $this;
}
public function getTitreBtn(): ?string
{
return $this->titreBtn;
}
public function setTitreBtn(?string $titreBtn): self
{
$this->titreBtn = $titreBtn;
return $this;
}
public function getIsEnabled(): ?bool
{
return $this->isEnabled;
}
public function setIsEnabled(?bool $isEnabled): self
{
$this->isEnabled = $isEnabled;
return $this;
}
public function getHook(): ?string
{
return $this->hook;
}
public function setHook(?string $hook): static
{
$this->hook = $hook;
return $this;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(?string $type): static
{
$this->type = $type;
return $this;
}
public function getTexteOldPrice(): ?string
{
return $this->texteOldPrice;
}
public function setTexteOldPrice(?string $texteOldPrice): static
{
$this->texteOldPrice = $texteOldPrice;
return $this;
}
}