src/Flexy/ShopBundle/Entity/Order/HomePage.php line 13

  1. <?php
  2. namespace App\Flexy\ShopBundle\Entity\Order;
  3.  
  4. use App\Flexy\ShopBundle\Repository\Order\HomePageRepository;
  5. use Doctrine\Common\Collections\ArrayCollection;
  6. use Doctrine\Common\Collections\Collection;
  7. use Doctrine\DBAL\Types\Types;
  8. use Doctrine\ORM\Mapping as ORM;
  9. #[ORM\Entity(repositoryClassHomePageRepository::class)]
  10. class HomePage
  11. {
  12.     #[ORM\Id]
  13.     #[ORM\GeneratedValue]
  14.     #[ORM\Column]
  15.     private ?int $id null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $name null;
  18.     
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $firstTitleSection null;
  21.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  22.     private ?string $firstTextSection null;
  23.     #[ORM\Column(length255nullabletrue)]
  24.     private ?string $secondTitleSection null;
  25.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  26.     private ?string $secondTextSection null;
  27.     #[ORM\Column(length255nullabletrue)]
  28.     private ?string $thirdTitleSection null;
  29.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  30.     private ?string $thirdTextSection null;
  31.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  32.     private ?string $textCard1 null;
  33.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  34.     private ?string $textFlipCard1 null;
  35.     
  36.      #[ORM\Column(typeTypes::TEXTnullabletrue)]
  37.     private ?string $textCard2 null;
  38.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  39.     private ?string $textFlipCard2 null;
  40.     
  41.      #[ORM\Column(typeTypes::TEXTnullabletrue)]
  42.     private ?string $textCard3 null;
  43.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  44.     private ?string $textFlipCard3 null;
  45.     
  46.      #[ORM\Column(typeTypes::TEXTnullabletrue)]
  47.     private ?string $textCard4 null;
  48.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  49.     private ?string $textFlipCard4 null;
  50.     
  51.      #[ORM\Column(typeTypes::TEXTnullabletrue)]
  52.     private ?string $textCard5 null;
  53.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  54.     private ?string $textFlipCard5 null;
  55.     
  56.      #[ORM\Column(typeTypes::TEXTnullabletrue)]
  57.     private ?string $textCard6 null;
  58.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  59.     private ?string $textFlipCard6 null;
  60.     
  61.      #[ORM\Column(typeTypes::TEXTnullabletrue)]
  62.     private ?string $textCard7 null;
  63.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  64.     private ?string $textFlipCard7 null;
  65.     
  66.      #[ORM\Column(typeTypes::TEXTnullabletrue)]
  67.     private ?string $textCard8 null;
  68.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  69.     private ?string $textFlipCard8 null;
  70. #[ORM\Column(length255nullabletrue)]
  71.     private ?string $textCard9 null;
  72.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  73.     private ?string $textFlip9 null;
  74.     
  75.      #[ORM\Column(length255nullabletrue)]
  76.     private ?string $textCard10 null;
  77.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  78.     private ?string $textFlip10 null;
  79.     
  80.      #[ORM\Column(length255nullabletrue)]
  81.     private ?string $textCard11 null;
  82.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  83.     private ?string $textFlip11 null;
  84.     
  85.      #[ORM\Column(length255nullabletrue)]
  86.     private ?string $textCard12 null;
  87.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  88.     private ?string $textFlip12 null;
  89.   
  90.     #[ORM\Column(typeTypes::ARRAY, nullabletrue)]
  91.     private ?array $gallery null;
  92.     #[ORM\OneToMany(mappedBy'carouselHome'targetEntityGallerieHome::class, cascade: ['persist'])]
  93.     private Collection $gallerieHomes;
  94.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  95.     private ?string $banner null;
  96.     #[ORM\Column(length255nullabletrue)]
  97.     private ?string $linkYoutube null;
  98.     #[ORM\Column(nullabletrue)]
  99.     private ?bool $isNewLead null;
  100.     
  101.     #[ORM\Column(length255nullabletrue)]
  102.     private ?string $whatsapp null;
  103.     public function __toString(): string
  104.     {
  105.         return (string) $this->name;
  106.     }
  107.     public function __construct()
  108.     {
  109.         $this->gallerieHomes = new ArrayCollection();
  110.     }
  111.     
  112.     public function getId(): ?int
  113.     {
  114.         return $this->id;
  115.     }
  116.     public function getName(): ?string
  117.     {
  118.         return $this->name;
  119.     }
  120.     public function setName(?string $name): static
  121.     {
  122.         $this->name $name;
  123.         return $this;
  124.     }
  125.     
  126.     
  127.     
  128.     public function getFirstTitleSection(): ?string
  129.     {
  130.         return $this->firstTitleSection;
  131.     }
  132.     public function setFirstTitleSection(?string $firstTitleSection): static
  133.     {
  134.         $this->firstTitleSection $firstTitleSection;
  135.         return $this;
  136.     }
  137.     public function getFirstTextSection(): ?string
  138.     {
  139.         return $this->firstTextSection;
  140.     }
  141.     public function setFirstTextSection(?string $firstTextSection): static
  142.     {
  143.         $this->firstTextSection $firstTextSection;
  144.         return $this;
  145.     }
  146.     public function getSecondTitleSection(): ?string
  147.     {
  148.         return $this->secondTitleSection;
  149.     }
  150.     public function setSecondTitleSection(?string $secondTitleSection): static
  151.     {
  152.         $this->secondTitleSection $secondTitleSection;
  153.         return $this;
  154.     }
  155.     public function getSecondTextSection(): ?string
  156.     {
  157.         return $this->secondTextSection;
  158.     }
  159.     public function setSecondTextSection(?string $secondTextSection): static
  160.     {
  161.         $this->secondTextSection $secondTextSection;
  162.         return $this;
  163.     }
  164.     public function getThirdTitleSection(): ?string
  165.     {
  166.         return $this->thirdTitleSection;
  167.     }
  168.     public function setThirdTitleSection(?string $thirdTitleSection): static
  169.     {
  170.         $this->thirdTitleSection $thirdTitleSection;
  171.         return $this;
  172.     }
  173.     public function getThirdTextSection(): ?string
  174.     {
  175.         return $this->thirdTextSection;
  176.     }
  177.     public function setThirdTextSection(?string $thirdTextSection): static
  178.     {
  179.         $this->thirdTextSection $thirdTextSection;
  180.         return $this;
  181.     }
  182.     
  183.     
  184.     
  185.      public function getTextCard1(): ?string
  186.     {
  187.         return $this->textCard1;
  188.     }
  189.     public function setTextCard1(?string $textCard1): static
  190.     {
  191.         $this->textCard1 $textCard1;
  192.         return $this;
  193.     }
  194.     public function getTextFlipCard1(): ?string
  195.     {
  196.         return $this->textFlipCard1;
  197.     }
  198.     public function setTextFlipCard1(?string $textFlipCard1): static
  199.     {
  200.         $this->textFlipCard1 $textFlipCard1;
  201.         return $this;
  202.     }
  203.     
  204.     
  205.     public function getTextCard2(): ?string
  206.     {
  207.         return $this->textCard2;
  208.     }
  209.     public function setTextCard2(?string $textCard2): static
  210.     {
  211.         $this->textCard2 $textCard2;
  212.         return $this;
  213.     }
  214.     public function getTextFlipCard2(): ?string
  215.     {
  216.         return $this->textFlipCard2;
  217.     }
  218.     public function setTextFlipCard2(?string $textFlipCard2): static
  219.     {
  220.         $this->textFlipCard2 $textFlipCard2;
  221.         return $this;
  222.     }
  223.     
  224.     
  225.       
  226.     public function getTextCard3(): ?string
  227.     {
  228.         return $this->textCard3;
  229.     }
  230.     public function setTextCard3(?string $textCard3): static
  231.     {
  232.         $this->textCard3 $textCard3;
  233.         return $this;
  234.     }
  235.     public function getTextFlipCard3(): ?string
  236.     {
  237.         return $this->textFlipCard3;
  238.     }
  239.     public function setTextFlipCard3(?string $textFlipCard3): static
  240.     {
  241.         $this->textFlipCard3 $textFlipCard3;
  242.         return $this;
  243.     }
  244.     
  245.     
  246.       public function getTextCard4(): ?string
  247.     {
  248.         return $this->textCard4;
  249.     }
  250.     public function setTextCard4(?string $textCard4): static
  251.     {
  252.         $this->textCard4 $textCard4;
  253.         return $this;
  254.     }
  255.     public function getTextFlipCard4(): ?string
  256.     {
  257.         return $this->textFlipCard4;
  258.     }
  259.     public function setTextFlipCard4(?string $textFlipCard4): static
  260.     {
  261.         $this->textFlipCard4 $textFlipCard4;
  262.         return $this;
  263.     }
  264.     
  265.     public function getTextCard5(): ?string
  266.     {
  267.         return $this->textCard5;
  268.     }
  269.     public function setTextCard5(?string $textCard5): static
  270.     {
  271.         $this->textCard5 $textCard5;
  272.         return $this;
  273.     }
  274.     public function getTextFlipCard5(): ?string
  275.     {
  276.         return $this->textFlipCard5;
  277.     }
  278.     public function setTextFlipCard5(?string $textFlipCard5): static
  279.     {
  280.         $this->textFlipCard5 $textFlipCard5;
  281.         return $this;
  282.     }
  283.     
  284.     
  285.      public function getTextCard6(): ?string
  286.     {
  287.         return $this->textCard6;
  288.     }
  289.     public function setTextCard6(?string $textCard6): static
  290.     {
  291.         $this->textCard6 $textCard6;
  292.         return $this;
  293.     }
  294.     public function getTextFlipCard6(): ?string
  295.     {
  296.         return $this->textFlipCard6;
  297.     }
  298.     public function setTextFlipCard6(?string $textFlipCard6): static
  299.     {
  300.         $this->textFlipCard6 $textFlipCard6;
  301.         return $this;
  302.     }
  303.     
  304.      public function getTextCard7(): ?string
  305.     {
  306.         return $this->textCard7;
  307.     }
  308.     public function setTextCard7(?string $textCard7): static
  309.     {
  310.         $this->textCard7 $textCard7;
  311.         return $this;
  312.     }
  313.     public function getTextFlipCard7(): ?string
  314.     {
  315.         return $this->textFlipCard7;
  316.     }
  317.     public function setTextFlipCard7(?string $textFlipCard7): static
  318.     {
  319.         $this->textFlipCard7 $textFlipCard7;
  320.         return $this;
  321.     }
  322.     
  323.     
  324.       public function getTextCard8(): ?string
  325.     {
  326.         return $this->textCard8;
  327.     }
  328.     public function setTextCard8(?string $textCard8): static
  329.     {
  330.         $this->textCard8 $textCard8;
  331.         return $this;
  332.     }
  333.     public function getTextFlipCard8(): ?string
  334.     {
  335.         return $this->textFlipCard8;
  336.     }
  337.     public function setTextFlipCard8(?string $textFlipCard8): static
  338.     {
  339.         $this->textFlipCard8 $textFlipCard8;
  340.         return $this;
  341.     }
  342.     public function getTextCard9(): ?string
  343.     {
  344.         return $this->textCard9;
  345.     }
  346.     public function setTextCard9(?string $textCard9): static
  347.     {
  348.         $this->textCard9 $textCard9;
  349.         return $this;
  350.     }
  351.     public function getTextFlip9(): ?string
  352.     {
  353.         return $this->textFlip9;
  354.     }
  355.     public function setTextFlip9(?string $textFlip9): static
  356.     {
  357.         $this->textFlip9 $textFlip9;
  358.         return $this;
  359.     }
  360.     
  361.     
  362.     
  363.        public function getTextCard10(): ?string
  364.     {
  365.         return $this->textCard10;
  366.     }
  367.     public function setTextCard10(?string $textCard10): static
  368.     {
  369.         $this->textCard10 $textCard10;
  370.         return $this;
  371.     }
  372.     public function getTextFlip10(): ?string
  373.     {
  374.         return $this->textFlip10;
  375.     }
  376.     public function setTextFlip10(?string $textFlip10): static
  377.     {
  378.         $this->textFlip10 $textFlip10;
  379.         return $this;
  380.     }
  381.     
  382.     
  383.     
  384.     public function getTextCard11(): ?string
  385.     {
  386.         return $this->textCard11;
  387.     }
  388.     public function setTextCard11(?string $textCard11): static
  389.     {
  390.         $this->textCard11 $textCard11;
  391.         return $this;
  392.     }
  393.     public function getTextFlip11(): ?string
  394.     {
  395.         return $this->textFlip11;
  396.     }
  397.     public function setTextFlip11(?string $textFlip11): static
  398.     {
  399.         $this->textFlip11 $textFlip11;
  400.         return $this;
  401.     }
  402.     
  403.     
  404.      public function getTextCard12(): ?string
  405.     {
  406.         return $this->textCard12;
  407.     }
  408.     public function setTextCard12(?string $textCard12): static
  409.     {
  410.         $this->textCard12 $textCard12;
  411.         return $this;
  412.     }
  413.     public function getTextFlip12(): ?string
  414.     {
  415.         return $this->textFlip12;
  416.     }
  417.     public function setTextFlip12(?string $textFlip12): static
  418.     {
  419.         $this->textFlip12 $textFlip12;
  420.         return $this;
  421.     }
  422.     
  423.     public function getGallery(): ?array
  424.     {
  425.         return $this->gallery;
  426.     }
  427.     public function setGallery(?array $gallery): static
  428.     {
  429.         $this->gallery $gallery;
  430.         return $this;
  431.     }
  432.     /**
  433.      * @return Collection<int, GallerieHome>
  434.      */
  435.     public function getGallerieHomes(): Collection
  436.     {
  437.         return $this->gallerieHomes;
  438.     }
  439.     public function addGallerieHome(GallerieHome $gallerieHome): static
  440.     {
  441.         if (!$this->gallerieHomes->contains($gallerieHome)) {
  442.             $this->gallerieHomes->add($gallerieHome);
  443.             $gallerieHome->setCarouselHome($this);
  444.         }
  445.         return $this;
  446.     }
  447.     public function removeGallerieHome(GallerieHome $gallerieHome): static
  448.     {
  449.         if ($this->gallerieHomes->removeElement($gallerieHome)) {
  450.             // set the owning side to null (unless already changed)
  451.             if ($gallerieHome->getCarouselHome() === $this) {
  452.                 $gallerieHome->setCarouselHome(null);
  453.             }
  454.         }
  455.         return $this;
  456.     }
  457.     public function getBanner(): ?string
  458.     {
  459.         return $this->banner;
  460.     }
  461.     public function setBanner(?string $banner): static
  462.     {
  463.         $this->banner $banner;
  464.         return $this;
  465.     }
  466.     public function getLinkYoutube(): ?string
  467.     {
  468.         return $this->linkYoutube;
  469.     }
  470.     public function setLinkYoutube(?string $linkYoutube): static
  471.     {
  472.         $this->linkYoutube $linkYoutube;
  473.         return $this;
  474.     }
  475.     public function isIsNewLead(): ?bool
  476.     {
  477.         return $this->isNewLead;
  478.     }
  479.     public function setIsNewLead(?bool $isNewLead): static
  480.     {
  481.         $this->isNewLead $isNewLead;
  482.         return $this;
  483.     }
  484.      public function getWhatsapp(): ?string
  485.     {
  486.         return $this->whatsapp;
  487.     }
  488.     public function setWhatsapp(?string $whatsapp): static
  489.     {
  490.         $this->whatsapp $whatsapp;
  491.         return $this;
  492.     }
  493.     
  494. }