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

  1. <?php
  2. namespace App\Flexy\FrontBundle\Entity;
  3. use ApiPlatform\Core\Annotation\ApiResource;
  4. use App\Flexy\FrontBundle\Repository\PubBannerRepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ApiResource]
  7. #[ORM\Entity(repositoryClassPubBannerRepository::class)]
  8. class PubBanner
  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 $lien null;
  18.     #[ORM\Column(type'string'length255nullabletrue)]
  19.     private ?string $emplacement null;
  20.     #[ORM\Column(type'boolean'nullabletrue)]
  21.     private ?bool $isEnabled null;
  22.     #[ORM\Column(type'boolean'nullabletrue)]
  23.     private ?bool $isTextWhite null;
  24.     #[ORM\Column(type'string'length255nullabletrue)]
  25.     private ?string $petitTitre null;
  26.     #[ORM\Column(type'string'length255nullabletrue)]
  27.     private ?string $grandTitre null;
  28.     #[ORM\Column(type'string'length255nullabletrue)]
  29.     private ?string $textePrix null;
  30.     #[ORM\Column(type'string'length255nullabletrue)]
  31.     private ?string $titreBtn null;
  32.     public function getId(): ?int
  33.     {
  34.         return $this->id;
  35.     }
  36.     public function getImage(): ?string
  37.     {
  38.         return $this->image;
  39.     }
  40.     public function setImage(?string $image): self
  41.     {
  42.         $this->image $image;
  43.         return $this;
  44.     }
  45.     public function getLien(): ?string
  46.     {
  47.         return $this->lien;
  48.     }
  49.     public function setLien(?string $lien): self
  50.     {
  51.         $this->lien $lien;
  52.         return $this;
  53.     }
  54.     public function getEmplacement(): ?string
  55.     {
  56.         return $this->emplacement;
  57.     }
  58.     public function setEmplacement(?string $emplacement): self
  59.     {
  60.         $this->emplacement $emplacement;
  61.         return $this;
  62.     }
  63.     public function getIsEnabled(): ?bool
  64.     {
  65.         return $this->isEnabled;
  66.     }
  67.     public function setIsEnabled(?bool $isEnabled): self
  68.     {
  69.         $this->isEnabled $isEnabled;
  70.         return $this;
  71.     }
  72.     public function getIsTextWhite(): ?bool
  73.     {
  74.         return $this->isTextWhite;
  75.     }
  76.     public function setIsTextWhite(?bool $isTextWhite): self
  77.     {
  78.         $this->isTextWhite $isTextWhite;
  79.         return $this;
  80.     }
  81.     public function getPetitTitre(): ?string
  82.     {
  83.         return $this->petitTitre;
  84.     }
  85.     public function setPetitTitre(?string $petitTitre): self
  86.     {
  87.         $this->petitTitre $petitTitre;
  88.         return $this;
  89.     }
  90.     public function getGrandTitre(): ?string
  91.     {
  92.         return $this->grandTitre;
  93.     }
  94.     public function setGrandTitre(?string $grandTitre): self
  95.     {
  96.         $this->grandTitre $grandTitre;
  97.         return $this;
  98.     }
  99.     public function getTextePrix(): ?string
  100.     {
  101.         return $this->textePrix;
  102.     }
  103.     public function setTextePrix(?string $textePrix): self
  104.     {
  105.         $this->textePrix $textePrix;
  106.         return $this;
  107.     }
  108.     public function getTitreBtn(): ?string
  109.     {
  110.         return $this->titreBtn;
  111.     }
  112.     public function setTitreBtn(?string $titreBtn): self
  113.     {
  114.         $this->titreBtn $titreBtn;
  115.         return $this;
  116.     }
  117. }