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

Open in your IDE?
  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. /**
  7.  * @ORM\Entity(repositoryClass=PubBannerRepository::class)
  8.  */
  9. #[ApiResource]
  10. class PubBanner
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\Column(type="string", length=255, nullable=true)
  20.      */
  21.     private $image;
  22.     /**
  23.      * @ORM\Column(type="string", length=255, nullable=true)
  24.      */
  25.     private $lien;
  26.     /**
  27.      * @ORM\Column(type="string", length=255, nullable=true)
  28.      */
  29.     private $emplacement;
  30.     /**
  31.      * @ORM\Column(type="boolean", nullable=true)
  32.      */
  33.     private $isEnabled;
  34.     /**
  35.      * @ORM\Column(type="boolean", nullable=true)
  36.      */
  37.     private $isTextWhite;
  38.     /**
  39.      * @ORM\Column(type="string", length=255, nullable=true)
  40.      */
  41.     private $petitTitre;
  42.     /**
  43.      * @ORM\Column(type="string", length=255, nullable=true)
  44.      */
  45.     private $grandTitre;
  46.     /**
  47.      * @ORM\Column(type="string", length=255, nullable=true)
  48.      */
  49.     private $textePrix;
  50.     /**
  51.      * @ORM\Column(type="string", length=255, nullable=true)
  52.      */
  53.     private $titreBtn;
  54.     public function getId(): ?int
  55.     {
  56.         return $this->id;
  57.     }
  58.     public function getImage(): ?string
  59.     {
  60.         return $this->image;
  61.     }
  62.     public function setImage(?string $image): self
  63.     {
  64.         $this->image $image;
  65.         return $this;
  66.     }
  67.     public function getLien(): ?string
  68.     {
  69.         return $this->lien;
  70.     }
  71.     public function setLien(?string $lien): self
  72.     {
  73.         $this->lien $lien;
  74.         return $this;
  75.     }
  76.     public function getEmplacement(): ?string
  77.     {
  78.         return $this->emplacement;
  79.     }
  80.     public function setEmplacement(?string $emplacement): self
  81.     {
  82.         $this->emplacement $emplacement;
  83.         return $this;
  84.     }
  85.     public function getIsEnabled(): ?bool
  86.     {
  87.         return $this->isEnabled;
  88.     }
  89.     public function setIsEnabled(?bool $isEnabled): self
  90.     {
  91.         $this->isEnabled $isEnabled;
  92.         return $this;
  93.     }
  94.     public function getIsTextWhite(): ?bool
  95.     {
  96.         return $this->isTextWhite;
  97.     }
  98.     public function setIsTextWhite(?bool $isTextWhite): self
  99.     {
  100.         $this->isTextWhite $isTextWhite;
  101.         return $this;
  102.     }
  103.     public function getPetitTitre(): ?string
  104.     {
  105.         return $this->petitTitre;
  106.     }
  107.     public function setPetitTitre(?string $petitTitre): self
  108.     {
  109.         $this->petitTitre $petitTitre;
  110.         return $this;
  111.     }
  112.     public function getGrandTitre(): ?string
  113.     {
  114.         return $this->grandTitre;
  115.     }
  116.     public function setGrandTitre(?string $grandTitre): self
  117.     {
  118.         $this->grandTitre $grandTitre;
  119.         return $this;
  120.     }
  121.     public function getTextePrix(): ?string
  122.     {
  123.         return $this->textePrix;
  124.     }
  125.     public function setTextePrix(?string $textePrix): self
  126.     {
  127.         $this->textePrix $textePrix;
  128.         return $this;
  129.     }
  130.     public function getTitreBtn(): ?string
  131.     {
  132.         return $this->titreBtn;
  133.     }
  134.     public function setTitreBtn(?string $titreBtn): self
  135.     {
  136.         $this->titreBtn $titreBtn;
  137.         return $this;
  138.     }
  139. }