src/Flexy/FrontBundle/Entity/MasterSlider.php line 11

  1. <?php
  2. namespace App\Flexy\FrontBundle\Entity;
  3. use ApiPlatform\Core\Annotation\ApiResource;
  4. use App\Flexy\FrontBundle\Repository\MasterSliderRepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ApiResource]
  7. #[ORM\Entity(repositoryClassMasterSliderRepository::class)]
  8. class MasterSlider
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column(type'integer')]
  13.     private $id;
  14.     #[ORM\Column(type'string'length255nullabletrue)]
  15.     private ?string $image null;
  16.     #[ORM\Column(type'string'length255nullabletrue)]
  17.     private ?string $grandTitre null;
  18.     #[ORM\Column(type'string'length255nullabletrue)]
  19.     private ?string $petitTitre null;
  20.     #[ORM\Column(type'string'length255nullabletrue)]
  21.     private ?string $textePrix null;
  22.     #[ORM\Column(type'string'length255nullabletrue)]
  23.     private ?string $lien null;
  24.     #[ORM\Column(type'string'length255nullabletrue)]
  25.     private ?string $titreBtn null;
  26.     #[ORM\Column(type'boolean'nullabletrue)]
  27.     private ?bool $isEnabled null;
  28.     #[ORM\Column(length255nullabletrue)]
  29.     private ?string $hook null;
  30.     #[ORM\Column(length255nullabletrue)]
  31.     private ?string $type null;
  32.     #[ORM\Column(length255nullabletrue)]
  33.     private ?string $texteOldPrice null;
  34.     public function getId(): ?int
  35.     {
  36.         return $this->id;
  37.     }
  38.     public function getImage(): ?string
  39.     {
  40.         return $this->image;
  41.     }
  42.     public function setImage(?string $image): self
  43.     {
  44.         $this->image $image;
  45.         return $this;
  46.     }
  47.     public function getGrandTitre(): ?string
  48.     {
  49.         return $this->grandTitre;
  50.     }
  51.     public function setGrandTitre(?string $grandTitre): self
  52.     {
  53.         $this->grandTitre $grandTitre;
  54.         return $this;
  55.     }
  56.     public function getPetitTitre(): ?string
  57.     {
  58.         return $this->petitTitre;
  59.     }
  60.     public function setPetitTitre(?string $petitTitre): self
  61.     {
  62.         $this->petitTitre $petitTitre;
  63.         return $this;
  64.     }
  65.     public function getTextePrix(): ?string
  66.     {
  67.         return $this->textePrix;
  68.     }
  69.     public function setTextePrix(?string $textePrix): self
  70.     {
  71.         $this->textePrix $textePrix;
  72.         return $this;
  73.     }
  74.     public function getLien(): ?string
  75.     {
  76.         return $this->lien;
  77.     }
  78.     public function setLien(?string $lien): self
  79.     {
  80.         $this->lien $lien;
  81.         return $this;
  82.     }
  83.     public function getTitreBtn(): ?string
  84.     {
  85.         return $this->titreBtn;
  86.     }
  87.     public function setTitreBtn(?string $titreBtn): self
  88.     {
  89.         $this->titreBtn $titreBtn;
  90.         return $this;
  91.     }
  92.     public function getIsEnabled(): ?bool
  93.     {
  94.         return $this->isEnabled;
  95.     }
  96.     public function setIsEnabled(?bool $isEnabled): self
  97.     {
  98.         $this->isEnabled $isEnabled;
  99.         return $this;
  100.     }
  101.     public function getHook(): ?string
  102.     {
  103.         return $this->hook;
  104.     }
  105.     public function setHook(?string $hook): static
  106.     {
  107.         $this->hook $hook;
  108.         return $this;
  109.     }
  110.     public function getType(): ?string
  111.     {
  112.         return $this->type;
  113.     }
  114.     public function setType(?string $type): static
  115.     {
  116.         $this->type $type;
  117.         return $this;
  118.     }
  119.     public function getTexteOldPrice(): ?string
  120.     {
  121.         return $this->texteOldPrice;
  122.     }
  123.     public function setTexteOldPrice(?string $texteOldPrice): static
  124.     {
  125.         $this->texteOldPrice $texteOldPrice;
  126.         return $this;
  127.     }
  128. }