src/Entity/Help.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\HelpRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Symfony\Component\Validator\Constraints as Assert;
  6. /**
  7.  * @ORM\Entity(repositoryClass=HelpRepository::class)
  8.  */
  9. class Help
  10. {   
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     
  18.     /**
  19.      * @ORM\Column(type="string", length=255)
  20.      */
  21.     private $title;
  22.     /**
  23.      * @ORM\Column(type="string", length=255, nullable=true)
  24.      */
  25.     private $subTitle;
  26.     /**
  27.      * @ORM\Column(type="string", length=255, nullable=true)
  28.      */
  29.     private $background;
  30.     /**
  31.      * @Assert\Image(maxSize="2M")
  32.      */
  33.     private $backgroundFile;
  34.     /**
  35.      * @ORM\Column(type="string", length=255, nullable=true)
  36.      */
  37.     private $video;
  38.     /**
  39.      * @ORM\Column(type="text", nullable=true)
  40.      */
  41.     private $description;
  42.     /**
  43.      * @ORM\Column(type="string", length=255, nullable=true)
  44.      */
  45.     private $btnName;
  46.     /**
  47.      * @ORM\Column(type="string", length=255, nullable=true)
  48.      */
  49.     private $btnLink;
  50.     /**
  51.      * @ORM\Column(type="string", length=255, nullable=true)
  52.      */
  53.     private $videoImage;
  54.      /**
  55.      * @Assert\Image(maxSize="2M")
  56.      */
  57.     private $imageFile;
  58.     /**
  59.      * @ORM\Column(type="string", length=255, nullable=true)
  60.      */
  61.     private $videoLink;
  62.     /**
  63.      * @ORM\Column(type="string", length=255, nullable=true)
  64.      */
  65.     private $helpfulTitle;
  66.     /**
  67.      * @ORM\Column(type="string", length=255, nullable=true)
  68.      */
  69.     private $helpfulSubtitle;
  70.     /**
  71.      * @ORM\Column(type="string", length=255, nullable=true)
  72.      */
  73.     private $helpfulTitle1;
  74.     /**
  75.      * @ORM\Column(type="text", nullable=true)
  76.      */
  77.     private $helpfulSubtitle1;
  78.     /**
  79.      * @ORM\Column(type="string", length=255, nullable=true)
  80.      */
  81.     private $helpfulIcon1;
  82.     /**
  83.      * @ORM\Column(type="string", length=255, nullable=true)
  84.      */
  85.     private $helpfulTitle2;
  86.     /**
  87.      * @ORM\Column(type="text", nullable=true)
  88.      */
  89.     private $helpfulSubtitle2;
  90.     /**
  91.      * @ORM\Column(type="string", length=255, nullable=true)
  92.      */
  93.     private $helpfulIcon2;
  94.     /**
  95.      * @ORM\Column(type="string", length=255, nullable=true)
  96.      */
  97.     private $helpfulTitle3;
  98.     /**
  99.      * @ORM\Column(type="text", nullable=true)
  100.      */
  101.     private $helpfulSubtitle3;
  102.     /**
  103.      * @ORM\Column(type="string", length=255, nullable=true)
  104.      */
  105.     private $helpfulIcon3;
  106.     public function getId(): ?int
  107.     {
  108.         return $this->id;
  109.     }
  110.     public function getTitle(): ?string
  111.     {
  112.         return $this->title;
  113.     }
  114.     public function setTitle(string $title): self
  115.     {
  116.         $this->title $title;
  117.         return $this;
  118.     }
  119.     public function getSubTitle(): ?string
  120.     {
  121.         return $this->subTitle;
  122.     }
  123.     public function setSubTitle(?string $subTitle): self
  124.     {
  125.         $this->subTitle $subTitle;
  126.         return $this;
  127.     }
  128.     public function getBackground(): ?string
  129.     {
  130.         return $this->background;
  131.     }
  132.     public function setBackground(?string $background): self
  133.     {
  134.         $this->background $background;
  135.         return $this;
  136.     }
  137.     public function getBackgroundFile()
  138.     {
  139.         return $this->backgroundFile;
  140.     }
  141.     public function setBackgroundFile($backgroundFile)
  142.     {
  143.         $this->backgroundFile $backgroundFile;
  144.         return $this;
  145.     }
  146.     public function getVideo(): ?string
  147.     {
  148.         return $this->video;
  149.     }
  150.     public function setVideo(?string $video): self
  151.     {
  152.         $this->video $video;
  153.         return $this;
  154.     }
  155.     public function getDescription(): ?string
  156.     {
  157.         return $this->description;
  158.     }
  159.     public function setDescription(?string $description): self
  160.     {
  161.         $this->description $description;
  162.         return $this;
  163.     }
  164.     public function getBtnName(): ?string
  165.     {
  166.         return $this->btnName;
  167.     }
  168.     public function setBtnName(?string $btnName): self
  169.     {
  170.         $this->btnName $btnName;
  171.         return $this;
  172.     }
  173.     public function getBtnLink(): ?string
  174.     {
  175.         return $this->btnLink;
  176.     }
  177.     public function setBtnLink(?string $btnLink): self
  178.     {
  179.         $this->btnLink $btnLink;
  180.         return $this;
  181.     }
  182.     public function getVideoImage(): ?string
  183.     {
  184.         return $this->videoImage;
  185.     }
  186.     public function setVideoImage(?string $videoImage): self
  187.     {
  188.         $this->videoImage $videoImage;
  189.         return $this;
  190.     }
  191.     public function getImageFile()
  192.     {
  193.         return $this->imageFile;
  194.     }
  195.     public function setImageFile($imageFile)
  196.     {
  197.         $this->imageFile $imageFile;
  198.         return $this;
  199.     }
  200.     public function getVideoLink(): ?string
  201.     {
  202.         return $this->videoLink;
  203.     }
  204.     public function setVideoLink(?string $videoLink): self
  205.     {
  206.         $this->videoLink $videoLink;
  207.         return $this;
  208.     }
  209.     public function getHelpfulTitle(): ?string
  210.     {
  211.         return $this->helpfulTitle;
  212.     }
  213.     public function setHelpfulTitle(?string $helpfulTitle): self
  214.     {
  215.         $this->helpfulTitle $helpfulTitle;
  216.         return $this;
  217.     }
  218.     public function getHelpfulSubtitle(): ?string
  219.     {
  220.         return $this->helpfulSubtitle;
  221.     }
  222.     public function setHelpfulSubtitle(?string $helpfulSubtitle): self
  223.     {
  224.         $this->helpfulSubtitle $helpfulSubtitle;
  225.         return $this;
  226.     }
  227.     public function getHelpfulTitle1(): ?string
  228.     {
  229.         return $this->helpfulTitle1;
  230.     }
  231.     public function setHelpfulTitle1(?string $helpfulTitle1): self
  232.     {
  233.         $this->helpfulTitle1 $helpfulTitle1;
  234.         return $this;
  235.     }
  236.     public function getHelpfulSubtitle1(): ?string
  237.     {
  238.         return $this->helpfulSubtitle1;
  239.     }
  240.     public function setHelpfulSubtitle1(?string $helpfulSubtitle1): self
  241.     {
  242.         $this->helpfulSubtitle1 $helpfulSubtitle1;
  243.         return $this;
  244.     }
  245.     public function getHelpfulIcon1(): ?string
  246.     {
  247.         return $this->helpfulIcon1;
  248.     }
  249.     public function setHelpfulIcon1(?string $helpfulIcon1): self
  250.     {
  251.         $this->helpfulIcon1 $helpfulIcon1;
  252.         return $this;
  253.     }
  254.     public function getHelpfulTitle2(): ?string
  255.     {
  256.         return $this->helpfulTitle2;
  257.     }
  258.     public function setHelpfulTitle2(?string $helpfulTitle2): self
  259.     {
  260.         $this->helpfulTitle2 $helpfulTitle2;
  261.         return $this;
  262.     }
  263.     public function getHelpfulSubtitle2(): ?string
  264.     {
  265.         return $this->helpfulSubtitle2;
  266.     }
  267.     public function setHelpfulSubtitle2(?string $helpfulSubtitle2): self
  268.     {
  269.         $this->helpfulSubtitle2 $helpfulSubtitle2;
  270.         return $this;
  271.     }
  272.     public function getHelpfulIcon2(): ?string
  273.     {
  274.         return $this->helpfulIcon2;
  275.     }
  276.     public function setHelpfulIcon2(?string $helpfulIcon2): self
  277.     {
  278.         $this->helpfulIcon2 $helpfulIcon2;
  279.         return $this;
  280.     }
  281.     public function getHelpfulTitle3(): ?string
  282.     {
  283.         return $this->helpfulTitle3;
  284.     }
  285.     public function setHelpfulTitle3(?string $helpfulTitle3): self
  286.     {
  287.         $this->helpfulTitle3 $helpfulTitle3;
  288.         return $this;
  289.     }
  290.     public function getHelpfulSubtitle3(): ?string
  291.     {
  292.         return $this->helpfulSubtitle3;
  293.     }
  294.     public function setHelpfulSubtitle3(?string $helpfulSubtitle3): self
  295.     {
  296.         $this->helpfulSubtitle3 $helpfulSubtitle3;
  297.         return $this;
  298.     }
  299.     public function getHelpfulIcon3(): ?string
  300.     {
  301.         return $this->helpfulIcon3;
  302.     }
  303.     public function setHelpfulIcon3(?string $helpfulIcon3): self
  304.     {
  305.         $this->helpfulIcon3 $helpfulIcon3;
  306.         return $this;
  307.     }
  308. }