src/Entity/Page.php line 17

  1. <?php
  2. namespace App\Entity;
  3. use App\Entity\Trait\MainTranslationTrait;
  4. use App\Entity\Translation\PageTranslation;
  5. use App\Repository\PageRepository;
  6. use Doctrine\Common\Collections\ArrayCollection;
  7. use Doctrine\Common\Collections\Collection;
  8. use Doctrine\DBAL\Types\Types;
  9. use Gedmo\Mapping\Annotation as Gedmo;
  10. use Doctrine\ORM\Mapping as ORM;
  11. use Gedmo\Translatable\Translatable;
  12. #[Gedmo\TranslationEntity(class: self::TRANSLATION_ENTITY)]
  13. #[ORM\Entity(repositoryClassPageRepository::class)]
  14. class Page implements Translatable
  15. {
  16.     use MainTranslationTrait;
  17.     const TRANSLATION_ENTITY PageTranslation::class;
  18.     #[ORM\Id]
  19.     #[ORM\GeneratedValue]
  20.     #[ORM\Column]
  21.     private ?int $id null;
  22.     #[ORM\OneToMany(mappedBy'page'targetEntityUserTemplate::class, cascade: ["persist""remove"])]
  23.     protected ?Collection $userTemplate null;
  24.     #[ORM\OneToMany(mappedBy'page'targetEntityFinancialPart::class, cascade: ["persist""remove"])]
  25.     protected ?Collection $financialPart null;
  26.     #[ORM\Column(type'string'nullabletrue)]
  27.     private ?string $name null;
  28.     #[ORM\Column(type'string'nullabletrue)]
  29.     private ?string $keyWord null;
  30.     #[Gedmo\Slug(fields: ['name'], updatablefalse)]
  31.     #[ORM\Column(type'string'uniquetruenullabletrue)]
  32.     private string $slug;
  33.     #[ORM\Column(type'string'nullabletrue)]
  34.     #[Gedmo\Translatable]
  35.     private ?string $location null;
  36.     #[ORM\Column(type'text'nullabletrue)]
  37.     private ?string $description null;
  38.     #[ORM\Column(type'boolean'options: ['default' => false])]
  39.     private bool $isDaily false;
  40.     #[ORM\Column(type'string'nullabletrue)]
  41.     private ?string $date null;
  42.     #[ORM\Column(type'string'nullabletrue)]
  43.     private ?string $image null;
  44.     #[ORM\Column(type'string'nullabletrue,length1000)]
  45.     #[Gedmo\Translatable]
  46.     private ?string $imageText null;
  47.     #[ORM\Column(type'string'nullabletrue)]
  48.     #[Gedmo\Translatable]
  49.     private ?string $firstColumnTitle null;
  50.     #[ORM\Column(type'text'nullabletrue)]
  51.     #[Gedmo\Translatable]
  52.     private ?string $firstColumnText null;
  53.     #[ORM\Column(type'string'nullabletrue)]
  54.     private ?string $firstColumnImage null;
  55.     #[ORM\Column(type'string'nullabletrue)]
  56.     #[Gedmo\Translatable]
  57.     private ?string $firstColumnSecondTitle null;
  58.     #[Gedmo\Translatable]
  59.     #[ORM\Column(type'text'nullabletrue)]
  60.     private ?string $firstColumnSecondText null;
  61.     #[ORM\Column(type'string'nullabletrue)]
  62.     private ?string $firstColumnSecondImage null;
  63.     #[ORM\Column(type'string'nullabletrue)]
  64.     #[Gedmo\Translatable]
  65.     private ?string $secondColumnTitle null;
  66.     #[ORM\Column(type'text'nullabletrue)]
  67.     #[Gedmo\Translatable]
  68.     private ?string $secondColumnText null;
  69.     #[ORM\Column(type'string'nullabletrue)]
  70.     private ?string $secondColumnImage null;
  71.     #[Gedmo\Translatable]
  72.     #[ORM\Column(type'string'nullabletrue)]
  73.     private ?string $secondColumSecondTitle null;
  74.     #[ORM\Column(type'text'nullabletrue)]
  75.     #[Gedmo\Translatable]
  76.     private ?string $secondColumnSecondText null;
  77.     #[ORM\Column(type'string'nullabletrue)]
  78.     private ?string $secondColumnSecondImage null;
  79.     #[ORM\Column(type'string'nullabletrue)]
  80.     #[Gedmo\Translatable]
  81.     private ?string $thirdColumnTitle null;
  82.     #[ORM\Column(type'text'nullabletrue)]
  83.     #[Gedmo\Translatable]
  84.     private ?string $thirdColumnText null;
  85.     #[ORM\Column(type'string'nullabletrue)]
  86.     private ?string $thirdColumnImage null;
  87.     #[ORM\Column(type'string'nullabletrue)]
  88.     #[Gedmo\Translatable]
  89.     private ?string $thirdColumnSecondTitle null;
  90.     #[ORM\Column(type'text'nullabletrue)]
  91.     #[Gedmo\Translatable]
  92.     private ?string $thirdColumnSecondText null;
  93.     #[ORM\Column(type'string'nullabletrue)]
  94.     private ?string $thirdColumnSecondImage null;
  95.     #[Gedmo\Translatable]
  96.     #[ORM\Column(type'string'nullabletrue)]
  97.     private ?string $fourthColumnTitle null;
  98.     #[Gedmo\Translatable]
  99.     #[ORM\Column(type'text'nullabletrue)]
  100.     private ?string $fourthColumnText null;
  101.     #[ORM\Column(type'string'nullabletrue)]
  102.     private ?string $fourthColumnImage null;
  103.     #[Gedmo\Translatable]
  104.     #[ORM\Column(type'string'nullabletrue)]
  105.     private ?string $fourthColumnSecondTitle null;
  106.     #[Gedmo\Translatable]
  107.     #[ORM\Column(type'text'nullabletrue)]
  108.     private ?string $fourthColumnSecondText null;
  109.     #[ORM\Column(type'string'nullabletrue)]
  110.     private ?string $fourthColumnSecondImage null;
  111.     #[ORM\Column(type'string'nullabletrue)]
  112.     private ?string $templateCountry null;
  113.     public function __toString(): string
  114.     {
  115.         if ($this->name){
  116.             return $this->name;
  117.         }else{
  118.             return '';
  119.         }
  120.     }
  121.     public function getId(): ?int
  122.     {
  123.         return $this->id;
  124.     }
  125.     public function __construct()
  126.     {
  127.         $this->userTemplate = new ArrayCollection();
  128.         $this->financialPart = new ArrayCollection();
  129.     }
  130.     /**
  131.      * @return string|null
  132.      */
  133.     public function getImage(): ?string
  134.     {
  135.         return $this->image;
  136.     }
  137.     /**
  138.      * @param string|null $image
  139.      */
  140.     public function setImage(?string $image): void
  141.     {
  142.         $this->image $image;
  143.     }
  144.     /**
  145.      * @return string|null
  146.      */
  147.     public function getImageText(): ?string
  148.     {
  149.         return $this->imageText;
  150.     }
  151.     /**
  152.      * @param string|null $imageText
  153.      */
  154.     public function setImageText(?string $imageText): void
  155.     {
  156.         $this->imageText $imageText;
  157.     }
  158.     /**
  159.      * @return string|null
  160.      */
  161.     public function getFirstColumnTitle(): ?string
  162.     {
  163.         return $this->firstColumnTitle;
  164.     }
  165.     /**
  166.      * @param string|null $firstColumnTitle
  167.      */
  168.     public function setFirstColumnTitle(?string $firstColumnTitle): void
  169.     {
  170.         $this->firstColumnTitle $firstColumnTitle;
  171.     }
  172.     /**
  173.      * @return string|null
  174.      */
  175.     public function getFirstColumnText(): ?string
  176.     {
  177.         return $this->firstColumnText;
  178.     }
  179.     /**
  180.      * @param string|null $firstColumnText
  181.      */
  182.     public function setFirstColumnText(?string $firstColumnText): void
  183.     {
  184.         $this->firstColumnText $firstColumnText;
  185.     }
  186.     /**
  187.      * @return string|null
  188.      */
  189.     public function getSecondColumnTitle(): ?string
  190.     {
  191.         return $this->secondColumnTitle;
  192.     }
  193.     /**
  194.      * @param string|null $secondColumnTitle
  195.      */
  196.     public function setSecondColumnTitle(?string $secondColumnTitle): void
  197.     {
  198.         $this->secondColumnTitle $secondColumnTitle;
  199.     }
  200.     /**
  201.      * @return string|null
  202.      */
  203.     public function getSecondColumnText(): ?string
  204.     {
  205.         return $this->secondColumnText;
  206.     }
  207.     /**
  208.      * @param string|null $secondColumnText
  209.      */
  210.     public function setSecondColumnText(?string $secondColumnText): void
  211.     {
  212.         $this->secondColumnText $secondColumnText;
  213.     }
  214.     /**
  215.      * @return string|null
  216.      */
  217.     public function getFirstColumnImage(): ?string
  218.     {
  219.         return $this->firstColumnImage;
  220.     }
  221.     /**
  222.      * @param string|null $firstColumnImage
  223.      */
  224.     public function setFirstColumnImage(?string $firstColumnImage): void
  225.     {
  226.         $this->firstColumnImage $firstColumnImage;
  227.     }
  228.     /**
  229.      * @return string|null
  230.      */
  231.     public function getSecondColumnImage(): ?string
  232.     {
  233.         return $this->secondColumnImage;
  234.     }
  235.     /**
  236.      * @param string|null $secondColumnImage
  237.      */
  238.     public function setSecondColumnImage(?string $secondColumnImage): void
  239.     {
  240.         $this->secondColumnImage $secondColumnImage;
  241.     }
  242.     /**
  243.      * @return string|null
  244.      */
  245.     public function getThirdColumTitle(): ?string
  246.     {
  247.         return $this->thirdColumTitle;
  248.     }
  249.     /**
  250.      * @param string|null $thirdColumTitle
  251.      */
  252.     public function setThirdColumTitle(?string $thirdColumTitle): void
  253.     {
  254.         $this->thirdColumTitle $thirdColumTitle;
  255.     }
  256.     /**
  257.      * @return string|null
  258.      */
  259.     public function getThirdColumText(): ?string
  260.     {
  261.         return $this->thirdColumText;
  262.     }
  263.     /**
  264.      * @param string|null $thirdColumText
  265.      */
  266.     public function setThirdColumText(?string $thirdColumText): void
  267.     {
  268.         $this->thirdColumText $thirdColumText;
  269.     }
  270.     /**
  271.      * @return string|null
  272.      */
  273.     public function getThirdColumnImage(): ?string
  274.     {
  275.         return $this->thirdColumnImage;
  276.     }
  277.     /**
  278.      * @param string|null $thirdColumnImage
  279.      */
  280.     public function setThirdColumnImage(?string $thirdColumnImage): void
  281.     {
  282.         $this->thirdColumnImage $thirdColumnImage;
  283.     }
  284.     /**
  285.      * @return string|null
  286.      */
  287.     public function getFourthColumTitle(): ?string
  288.     {
  289.         return $this->fourthColumTitle;
  290.     }
  291.     /**
  292.      * @param string|null $fourthColumTitle
  293.      */
  294.     public function setFourthColumTitle(?string $fourthColumTitle): void
  295.     {
  296.         $this->fourthColumTitle $fourthColumTitle;
  297.     }
  298.     /**
  299.      * @return string|null
  300.      */
  301.     public function getFourthColumText(): ?string
  302.     {
  303.         return $this->fourthColumText;
  304.     }
  305.     /**
  306.      * @param string|null $fourthColumText
  307.      */
  308.     public function setFourthColumText(?string $fourthColumText): void
  309.     {
  310.         $this->fourthColumText $fourthColumText;
  311.     }
  312.     /**
  313.      * @return string|null
  314.      */
  315.     public function getFourthColumnImage(): ?string
  316.     {
  317.         return $this->fourthColumnImage;
  318.     }
  319.     /**
  320.      * @param string|null $fourthColumnImage
  321.      */
  322.     public function setFourthColumnImage(?string $fourthColumnImage): void
  323.     {
  324.         $this->fourthColumnImage $fourthColumnImage;
  325.     }
  326.     /**
  327.      * @return string|null
  328.      */
  329.     public function getFirstColumnSecondTitle(): ?string
  330.     {
  331.         return $this->firstColumnSecondTitle;
  332.     }
  333.     /**
  334.      * @param string|null $firstColumnSecondTitle
  335.      */
  336.     public function setFirstColumnSecondTitle(?string $firstColumnSecondTitle): void
  337.     {
  338.         $this->firstColumnSecondTitle $firstColumnSecondTitle;
  339.     }
  340.     /**
  341.      * @return string|null
  342.      */
  343.     public function getFirstColumnSecondText(): ?string
  344.     {
  345.         return $this->firstColumnSecondText;
  346.     }
  347.     /**
  348.      * @param string|null $firstColumnSecondText
  349.      */
  350.     public function setFirstColumnSecondText(?string $firstColumnSecondText): void
  351.     {
  352.         $this->firstColumnSecondText $firstColumnSecondText;
  353.     }
  354.     /**
  355.      * @return string|null
  356.      */
  357.     public function getFirstColumnSecondImage(): ?string
  358.     {
  359.         return $this->firstColumnSecondImage;
  360.     }
  361.     /**
  362.      * @param string|null $firstColumnSecondImage
  363.      */
  364.     public function setFirstColumnSecondImage(?string $firstColumnSecondImage): void
  365.     {
  366.         $this->firstColumnSecondImage $firstColumnSecondImage;
  367.     }
  368.     /**
  369.      * @return string|null
  370.      */
  371.     public function getSecondColumSecondTitle(): ?string
  372.     {
  373.         return $this->secondColumSecondTitle;
  374.     }
  375.     /**
  376.      * @param string|null $secondColumSecondTitle
  377.      */
  378.     public function setSecondColumSecondTitle(?string $secondColumSecondTitle): void
  379.     {
  380.         $this->secondColumSecondTitle $secondColumSecondTitle;
  381.     }
  382.     /**
  383.      * @return string|null
  384.      */
  385.     public function getSecondColumSecondText(): ?string
  386.     {
  387.         return $this->secondColumSecondText;
  388.     }
  389.     /**
  390.      * @param string|null $secondColumSecondText
  391.      */
  392.     public function setSecondColumSecondText(?string $secondColumSecondText): void
  393.     {
  394.         $this->secondColumSecondText $secondColumSecondText;
  395.     }
  396.     /**
  397.      * @return string|null
  398.      */
  399.     public function getSecondColumnSecondImage(): ?string
  400.     {
  401.         return $this->secondColumnSecondImage;
  402.     }
  403.     /**
  404.      * @param string|null $secondColumnSecondImage
  405.      */
  406.     public function setSecondColumnSecondImage(?string $secondColumnSecondImage): void
  407.     {
  408.         $this->secondColumnSecondImage $secondColumnSecondImage;
  409.     }
  410.     /**
  411.      * @return string|null
  412.      */
  413.     public function getThirdColumSecondTitle(): ?string
  414.     {
  415.         return $this->thirdColumSecondTitle;
  416.     }
  417.     /**
  418.      * @param string|null $thirdColumSecondTitle
  419.      */
  420.     public function setThirdColumSecondTitle(?string $thirdColumSecondTitle): void
  421.     {
  422.         $this->thirdColumSecondTitle $thirdColumSecondTitle;
  423.     }
  424.     /**
  425.      * @return string|null
  426.      */
  427.     public function getThirdColumSecondText(): ?string
  428.     {
  429.         return $this->thirdColumSecondText;
  430.     }
  431.     /**
  432.      * @param string|null $thirdColumSecondText
  433.      */
  434.     public function setThirdColumSecondText(?string $thirdColumSecondText): void
  435.     {
  436.         $this->thirdColumSecondText $thirdColumSecondText;
  437.     }
  438.     /**
  439.      * @return string|null
  440.      */
  441.     public function getThirdColumnSecondImage(): ?string
  442.     {
  443.         return $this->thirdColumnSecondImage;
  444.     }
  445.     /**
  446.      * @param string|null $thirdColumnSecondImage
  447.      */
  448.     public function setThirdColumnSecondImage(?string $thirdColumnSecondImage): void
  449.     {
  450.         $this->thirdColumnSecondImage $thirdColumnSecondImage;
  451.     }
  452.     /**
  453.      * @return string|null
  454.      */
  455.     public function getFourthColumSecondTitle(): ?string
  456.     {
  457.         return $this->fourthColumSecondTitle;
  458.     }
  459.     /**
  460.      * @param string|null $fourthColumSecondTitle
  461.      */
  462.     public function setFourthColumSecondTitle(?string $fourthColumSecondTitle): void
  463.     {
  464.         $this->fourthColumSecondTitle $fourthColumSecondTitle;
  465.     }
  466.     /**
  467.      * @return string|null
  468.      */
  469.     public function getFourthColumSecondText(): ?string
  470.     {
  471.         return $this->fourthColumSecondText;
  472.     }
  473.     /**
  474.      * @param string|null $fourthColumSecondText
  475.      */
  476.     public function setFourthColumSecondText(?string $fourthColumSecondText): void
  477.     {
  478.         $this->fourthColumSecondText $fourthColumSecondText;
  479.     }
  480.     /**
  481.      * @return string|null
  482.      */
  483.     public function getFourthColumnSecondImage(): ?string
  484.     {
  485.         return $this->fourthColumnSecondImage;
  486.     }
  487.     /**
  488.      * @param string|null $fourthColumnSecondImage
  489.      */
  490.     public function setFourthColumnSecondImage(?string $fourthColumnSecondImage): void
  491.     {
  492.         $this->fourthColumnSecondImage $fourthColumnSecondImage;
  493.     }
  494.     public function getSecondColumnSecondText(): ?string
  495.     {
  496.         return $this->secondColumnSecondText;
  497.     }
  498.     public function setSecondColumnSecondText(?string $secondColumnSecondText): static
  499.     {
  500.         $this->secondColumnSecondText $secondColumnSecondText;
  501.         return $this;
  502.     }
  503.     public function getThirdColumnTitle(): ?string
  504.     {
  505.         return $this->thirdColumnTitle;
  506.     }
  507.     public function setThirdColumnTitle(?string $thirdColumnTitle): static
  508.     {
  509.         $this->thirdColumnTitle $thirdColumnTitle;
  510.         return $this;
  511.     }
  512.     /**
  513.      * @return string|null
  514.      */
  515.     public function getLocation(): ?string
  516.     {
  517.         return $this->location;
  518.     }
  519.     /**
  520.      * @param string|null $location
  521.      */
  522.     public function setLocation(?string $location): void
  523.     {
  524.         $this->location $location;
  525.     }
  526.     public function getThirdColumnText(): ?string
  527.     {
  528.         return $this->thirdColumnText;
  529.     }
  530.     public function setThirdColumnText(?string $thirdColumnText): static
  531.     {
  532.         $this->thirdColumnText $thirdColumnText;
  533.         return $this;
  534.     }
  535.     public function getThirdColumnSecondTitle(): ?string
  536.     {
  537.         return $this->thirdColumnSecondTitle;
  538.     }
  539.     public function setThirdColumnSecondTitle(?string $thirdColumnSecondTitle): static
  540.     {
  541.         $this->thirdColumnSecondTitle $thirdColumnSecondTitle;
  542.         return $this;
  543.     }
  544.     public function getThirdColumnSecondText(): ?string
  545.     {
  546.         return $this->thirdColumnSecondText;
  547.     }
  548.     public function setThirdColumnSecondText(?string $thirdColumnSecondText): static
  549.     {
  550.         $this->thirdColumnSecondText $thirdColumnSecondText;
  551.         return $this;
  552.     }
  553.     public function getFourthColumnTitle(): ?string
  554.     {
  555.         return $this->fourthColumnTitle;
  556.     }
  557.     public function setFourthColumnTitle(?string $fourthColumnTitle): static
  558.     {
  559.         $this->fourthColumnTitle $fourthColumnTitle;
  560.         return $this;
  561.     }
  562.     public function getFourthColumnText(): ?string
  563.     {
  564.         return $this->fourthColumnText;
  565.     }
  566.     public function setFourthColumnText(?string $fourthColumnText): static
  567.     {
  568.         $this->fourthColumnText $fourthColumnText;
  569.         return $this;
  570.     }
  571.     public function getFourthColumnSecondTitle(): ?string
  572.     {
  573.         return $this->fourthColumnSecondTitle;
  574.     }
  575.     public function setFourthColumnSecondTitle(?string $fourthColumnSecondTitle): static
  576.     {
  577.         $this->fourthColumnSecondTitle $fourthColumnSecondTitle;
  578.         return $this;
  579.     }
  580.     public function getFourthColumnSecondText(): ?string
  581.     {
  582.         return $this->fourthColumnSecondText;
  583.     }
  584.     public function setFourthColumnSecondText(?string $fourthColumnSecondText): static
  585.     {
  586.         $this->fourthColumnSecondText $fourthColumnSecondText;
  587.         return $this;
  588.     }
  589.     /**
  590.      * @return string|null
  591.      */
  592.     public function getName(): ?string
  593.     {
  594.         return $this->name;
  595.     }
  596.     /**
  597.      * @param string|null $name
  598.      */
  599.     public function setName(?string $name): void
  600.     {
  601.         $this->name $name;
  602.     }
  603.     /**
  604.      * @return string|null
  605.      */
  606.     public function getDescription(): ?string
  607.     {
  608.         return $this->description;
  609.     }
  610.     /**
  611.      * @param string|null $description
  612.      */
  613.     public function setDescription(?string $description): void
  614.     {
  615.         $this->description $description;
  616.     }
  617.     /**
  618.      * @return string|null
  619.      */
  620.     public function getDate(): ?string
  621.     {
  622.         return $this->date;
  623.     }
  624.     /**
  625.      * @param string|null $date
  626.      */
  627.     public function setDate(?string $date): void
  628.     {
  629.         $this->date $date;
  630.     }
  631.     public function setTranslatableLocale(string $locale): void
  632.     {
  633.         $this->locale $locale;
  634.     }
  635.     public function getSlug(): ?string
  636.     {
  637.         return $this->slug;
  638.     }
  639.     public function setSlug(string $slug): static
  640.     {
  641.         $this->slug $slug;
  642.         return $this;
  643.     }
  644.     /**
  645.      * @return string|null
  646.      */
  647.     public function getTemplateCountry(): ?string
  648.     {
  649.         return $this->templateCountry;
  650.     }
  651.     /**
  652.      * @param string|null $templateCountry
  653.      */
  654.     public function setTemplateCountry(?string $templateCountry): void
  655.     {
  656.         $this->templateCountry $templateCountry;
  657.     }
  658.     /**
  659.      * @return string|null
  660.      */
  661.     public function getKeyWord(): ?string
  662.     {
  663.         return $this->keyWord;
  664.     }
  665.     /**
  666.      * @param string|null $keyWord
  667.      */
  668.     public function setKeyWord(?string $keyWord): void
  669.     {
  670.         $this->keyWord $keyWord;
  671.     }
  672.     /**
  673.      * @return Collection<int, UserTemplate>
  674.      */
  675.     public function getUserTemplate(): Collection
  676.     {
  677.         return $this->userTemplate;
  678.     }
  679.     public function addUserTemplate(UserTemplate $userTemplate): static
  680.     {
  681.         if (!$this->userTemplate->contains($userTemplate)) {
  682.             $this->userTemplate->add($userTemplate);
  683.             $userTemplate->setPage($this);
  684.         }
  685.         return $this;
  686.     }
  687.     public function removeUserTemplate(UserTemplate $userTemplate): static
  688.     {
  689.         if ($this->userTemplate->removeElement($userTemplate)) {
  690.             // set the owning side to null (unless already changed)
  691.             if ($userTemplate->getPage() === $this) {
  692.                 $userTemplate->setPage(null);
  693.             }
  694.         }
  695.         return $this;
  696.     }
  697.     /**
  698.      * @return Collection<int, FinancialPart>
  699.      */
  700.     public function getFinancialPart(): Collection
  701.     {
  702.         return $this->financialPart;
  703.     }
  704.     public function addFinancialPart(FinancialPart $financialPart): static
  705.     {
  706.         if (!$this->financialPart->contains($financialPart)) {
  707.             $this->financialPart->add($financialPart);
  708.             $financialPart->setPage($this);
  709.         }
  710.         return $this;
  711.     }
  712.     public function removeFinancialPart(FinancialPart $financialPart): static
  713.     {
  714.         if ($this->financialPart->removeElement($financialPart)) {
  715.             // set the owning side to null (unless already changed)
  716.             if ($financialPart->getPage() === $this) {
  717.                 $financialPart->setPage(null);
  718.             }
  719.         }
  720.         return $this;
  721.     }
  722.     public function isDaily(): bool
  723.     {
  724.         return $this->isDaily;
  725.     }
  726.     public function getIsDaily(): bool
  727.     {
  728.         return $this->isDaily;
  729.     }
  730.     public function setIsDaily(bool $isDaily): self
  731.     {
  732.         $this->isDaily $isDaily;
  733.         return $this;
  734.     }
  735.     public function isIsDaily(): ?bool
  736.     {
  737.         return $this->isDaily;
  738.     }
  739. }