src/Flexy/ShopBundle/Entity/Order/HomePage.php line 13
<?php
namespace App\Flexy\ShopBundle\Entity\Order;
use App\Flexy\ShopBundle\Repository\Order\HomePageRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: HomePageRepository::class)]
class HomePage
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $name = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $firstTitleSection = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $firstTextSection = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $secondTitleSection = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $secondTextSection = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $thirdTitleSection = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $thirdTextSection = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textCard1 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textFlipCard1 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textCard2 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textFlipCard2 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textCard3 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textFlipCard3 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textCard4 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textFlipCard4 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textCard5 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textFlipCard5 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textCard6 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textFlipCard6 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textCard7 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textFlipCard7 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textCard8 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textFlipCard8 = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $textCard9 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textFlip9 = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $textCard10 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textFlip10 = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $textCard11 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textFlip11 = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $textCard12 = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $textFlip12 = null;
#[ORM\Column(type: Types::ARRAY, nullable: true)]
private ?array $gallery = null;
#[ORM\OneToMany(mappedBy: 'carouselHome', targetEntity: GallerieHome::class, cascade: ['persist'])]
private Collection $gallerieHomes;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $banner = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $linkYoutube = null;
#[ORM\Column(nullable: true)]
private ?bool $isNewLead = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $whatsapp = null;
public function __toString(): string
{
return (string) $this->name;
}
public function __construct()
{
$this->gallerieHomes = new ArrayCollection();
}
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): static
{
$this->name = $name;
return $this;
}
public function getFirstTitleSection(): ?string
{
return $this->firstTitleSection;
}
public function setFirstTitleSection(?string $firstTitleSection): static
{
$this->firstTitleSection = $firstTitleSection;
return $this;
}
public function getFirstTextSection(): ?string
{
return $this->firstTextSection;
}
public function setFirstTextSection(?string $firstTextSection): static
{
$this->firstTextSection = $firstTextSection;
return $this;
}
public function getSecondTitleSection(): ?string
{
return $this->secondTitleSection;
}
public function setSecondTitleSection(?string $secondTitleSection): static
{
$this->secondTitleSection = $secondTitleSection;
return $this;
}
public function getSecondTextSection(): ?string
{
return $this->secondTextSection;
}
public function setSecondTextSection(?string $secondTextSection): static
{
$this->secondTextSection = $secondTextSection;
return $this;
}
public function getThirdTitleSection(): ?string
{
return $this->thirdTitleSection;
}
public function setThirdTitleSection(?string $thirdTitleSection): static
{
$this->thirdTitleSection = $thirdTitleSection;
return $this;
}
public function getThirdTextSection(): ?string
{
return $this->thirdTextSection;
}
public function setThirdTextSection(?string $thirdTextSection): static
{
$this->thirdTextSection = $thirdTextSection;
return $this;
}
public function getTextCard1(): ?string
{
return $this->textCard1;
}
public function setTextCard1(?string $textCard1): static
{
$this->textCard1 = $textCard1;
return $this;
}
public function getTextFlipCard1(): ?string
{
return $this->textFlipCard1;
}
public function setTextFlipCard1(?string $textFlipCard1): static
{
$this->textFlipCard1 = $textFlipCard1;
return $this;
}
public function getTextCard2(): ?string
{
return $this->textCard2;
}
public function setTextCard2(?string $textCard2): static
{
$this->textCard2 = $textCard2;
return $this;
}
public function getTextFlipCard2(): ?string
{
return $this->textFlipCard2;
}
public function setTextFlipCard2(?string $textFlipCard2): static
{
$this->textFlipCard2 = $textFlipCard2;
return $this;
}
public function getTextCard3(): ?string
{
return $this->textCard3;
}
public function setTextCard3(?string $textCard3): static
{
$this->textCard3 = $textCard3;
return $this;
}
public function getTextFlipCard3(): ?string
{
return $this->textFlipCard3;
}
public function setTextFlipCard3(?string $textFlipCard3): static
{
$this->textFlipCard3 = $textFlipCard3;
return $this;
}
public function getTextCard4(): ?string
{
return $this->textCard4;
}
public function setTextCard4(?string $textCard4): static
{
$this->textCard4 = $textCard4;
return $this;
}
public function getTextFlipCard4(): ?string
{
return $this->textFlipCard4;
}
public function setTextFlipCard4(?string $textFlipCard4): static
{
$this->textFlipCard4 = $textFlipCard4;
return $this;
}
public function getTextCard5(): ?string
{
return $this->textCard5;
}
public function setTextCard5(?string $textCard5): static
{
$this->textCard5 = $textCard5;
return $this;
}
public function getTextFlipCard5(): ?string
{
return $this->textFlipCard5;
}
public function setTextFlipCard5(?string $textFlipCard5): static
{
$this->textFlipCard5 = $textFlipCard5;
return $this;
}
public function getTextCard6(): ?string
{
return $this->textCard6;
}
public function setTextCard6(?string $textCard6): static
{
$this->textCard6 = $textCard6;
return $this;
}
public function getTextFlipCard6(): ?string
{
return $this->textFlipCard6;
}
public function setTextFlipCard6(?string $textFlipCard6): static
{
$this->textFlipCard6 = $textFlipCard6;
return $this;
}
public function getTextCard7(): ?string
{
return $this->textCard7;
}
public function setTextCard7(?string $textCard7): static
{
$this->textCard7 = $textCard7;
return $this;
}
public function getTextFlipCard7(): ?string
{
return $this->textFlipCard7;
}
public function setTextFlipCard7(?string $textFlipCard7): static
{
$this->textFlipCard7 = $textFlipCard7;
return $this;
}
public function getTextCard8(): ?string
{
return $this->textCard8;
}
public function setTextCard8(?string $textCard8): static
{
$this->textCard8 = $textCard8;
return $this;
}
public function getTextFlipCard8(): ?string
{
return $this->textFlipCard8;
}
public function setTextFlipCard8(?string $textFlipCard8): static
{
$this->textFlipCard8 = $textFlipCard8;
return $this;
}
public function getTextCard9(): ?string
{
return $this->textCard9;
}
public function setTextCard9(?string $textCard9): static
{
$this->textCard9 = $textCard9;
return $this;
}
public function getTextFlip9(): ?string
{
return $this->textFlip9;
}
public function setTextFlip9(?string $textFlip9): static
{
$this->textFlip9 = $textFlip9;
return $this;
}
public function getTextCard10(): ?string
{
return $this->textCard10;
}
public function setTextCard10(?string $textCard10): static
{
$this->textCard10 = $textCard10;
return $this;
}
public function getTextFlip10(): ?string
{
return $this->textFlip10;
}
public function setTextFlip10(?string $textFlip10): static
{
$this->textFlip10 = $textFlip10;
return $this;
}
public function getTextCard11(): ?string
{
return $this->textCard11;
}
public function setTextCard11(?string $textCard11): static
{
$this->textCard11 = $textCard11;
return $this;
}
public function getTextFlip11(): ?string
{
return $this->textFlip11;
}
public function setTextFlip11(?string $textFlip11): static
{
$this->textFlip11 = $textFlip11;
return $this;
}
public function getTextCard12(): ?string
{
return $this->textCard12;
}
public function setTextCard12(?string $textCard12): static
{
$this->textCard12 = $textCard12;
return $this;
}
public function getTextFlip12(): ?string
{
return $this->textFlip12;
}
public function setTextFlip12(?string $textFlip12): static
{
$this->textFlip12 = $textFlip12;
return $this;
}
public function getGallery(): ?array
{
return $this->gallery;
}
public function setGallery(?array $gallery): static
{
$this->gallery = $gallery;
return $this;
}
/**
* @return Collection<int, GallerieHome>
*/
public function getGallerieHomes(): Collection
{
return $this->gallerieHomes;
}
public function addGallerieHome(GallerieHome $gallerieHome): static
{
if (!$this->gallerieHomes->contains($gallerieHome)) {
$this->gallerieHomes->add($gallerieHome);
$gallerieHome->setCarouselHome($this);
}
return $this;
}
public function removeGallerieHome(GallerieHome $gallerieHome): static
{
if ($this->gallerieHomes->removeElement($gallerieHome)) {
// set the owning side to null (unless already changed)
if ($gallerieHome->getCarouselHome() === $this) {
$gallerieHome->setCarouselHome(null);
}
}
return $this;
}
public function getBanner(): ?string
{
return $this->banner;
}
public function setBanner(?string $banner): static
{
$this->banner = $banner;
return $this;
}
public function getLinkYoutube(): ?string
{
return $this->linkYoutube;
}
public function setLinkYoutube(?string $linkYoutube): static
{
$this->linkYoutube = $linkYoutube;
return $this;
}
public function isIsNewLead(): ?bool
{
return $this->isNewLead;
}
public function setIsNewLead(?bool $isNewLead): static
{
$this->isNewLead = $isNewLead;
return $this;
}
public function getWhatsapp(): ?string
{
return $this->whatsapp;
}
public function setWhatsapp(?string $whatsapp): static
{
$this->whatsapp = $whatsapp;
return $this;
}
}