src/Entity/ContributorConfig.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ContributorConfigRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=ContributorConfigRepository::class)
  7.  */
  8. class ContributorConfig
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="boolean", nullable=true)
  18.      */
  19.     private $isCaptcha true;
  20.     /**
  21.      * @ORM\Column(type="boolean", nullable=true)
  22.      */
  23.     private $isField1;
  24.     /**
  25.      * @ORM\Column(type="boolean", nullable=true)
  26.      */
  27.     private $isField1Required;
  28.     /**
  29.      * @ORM\Column(type="boolean", nullable=true)
  30.      */
  31.     private $isField2;
  32.     /**
  33.      * @ORM\Column(type="boolean", nullable=true)
  34.      */
  35.     private $isField2Required;
  36.     /**
  37.      * @ORM\Column(type="boolean", nullable=true)
  38.      */
  39.     private $isField3;
  40.     /**
  41.      * @ORM\Column(type="boolean", nullable=true)
  42.      */
  43.     private $isField3Required;
  44.     /**
  45.      * @ORM\Column(type="boolean", nullable=true)
  46.      */
  47.     private $isField4;
  48.     /**
  49.      * @ORM\Column(type="boolean", nullable=true)
  50.      */
  51.     private $isField4Required;
  52.     /**
  53.      * @ORM\Column(type="boolean", nullable=true)
  54.      */
  55.     private $isField5;
  56.     /**
  57.      * @ORM\Column(type="boolean", nullable=true)
  58.      */
  59.     private $isField5Required;
  60.     /**
  61.      * @ORM\Column(type="boolean", nullable=true)
  62.      */
  63.     private $isField6;
  64.     /**
  65.      * @ORM\Column(type="boolean", nullable=true)
  66.      */
  67.     private $isField6Required;
  68.     /**
  69.      * @ORM\Column(type="boolean", nullable=true)
  70.      */
  71.     private $isField7;
  72.     /**
  73.      * @ORM\Column(type="boolean", nullable=true)
  74.      */
  75.     private $isField7Required;
  76.     /**
  77.      * @ORM\Column(type="string", length=255, nullable=true)
  78.      */
  79.     private $fieldLabel;
  80.     /**
  81.      * @ORM\Column(type="string", length=255, nullable=true)
  82.      */
  83.     private $field2Label;
  84.     /**
  85.      * @ORM\Column(type="string", length=255, nullable=true)
  86.      */
  87.     private $field3Label;
  88.     /**
  89.      * @ORM\Column(type="string", length=255, nullable=true)
  90.      */
  91.     private $field4Label;
  92.     /**
  93.      * @ORM\Column(type="string", length=255, nullable=true)
  94.      */
  95.     private $field5Label;
  96.     /**
  97.      * @ORM\Column(type="string", length=255, nullable=true)
  98.      */
  99.     private $field6Label;
  100.     /**
  101.      * @ORM\Column(type="string", length=255, nullable=true)
  102.      */
  103.     private $field7label;
  104.     /**
  105.      * @ORM\Column(type="boolean", nullable=true)
  106.      */
  107.     private $isTextarea;
  108.     /**
  109.      * @ORM\Column(type="boolean", nullable=true)
  110.      */
  111.     private $isTextareaRequired;
  112.     /**
  113.      * @ORM\Column(type="string", length=255, nullable=true)
  114.      */
  115.     private $TextareaLabel;
  116.     /**
  117.      * @ORM\Column(type="boolean", nullable=true)
  118.      */
  119.     private $isMedia;
  120.     /**
  121.      * @ORM\Column(type="boolean", nullable=true)
  122.      */
  123.     private $isMediaRequired;
  124.     /**
  125.      * @ORM\Column(type="string", length=255, nullable=true)
  126.      */
  127.     private $mediaLabel;
  128.     /**
  129.      * @ORM\Column(type="string", length=255, nullable=true)
  130.      */
  131.     private $uploadLimit;
  132.     /**
  133.      * @ORM\Column(type="boolean", options={"default": true})
  134.      */
  135.     private $activedContribution;
  136.     /**
  137.      * @ORM\Column(type="string", length=255, nullable=true)
  138.      */
  139.     private $title;
  140.     /**
  141.      * @ORM\Column(type="text", nullable=true)
  142.      */
  143.     private $confirmationMessage;
  144.     /**
  145.      * @ORM\Column(type="string", length=255, nullable=true)
  146.      */
  147.     private $legend;
  148.     public function getId(): ?int
  149.     {
  150.         return $this->id;
  151.     }
  152.     public function isCaptcha(): ?bool
  153.     {
  154.         return $this->isCaptcha;
  155.     }
  156.     public function setIsCaptcha(?bool $isCaptcha): self
  157.     {
  158.         $this->isCaptcha $isCaptcha;
  159.         return $this;
  160.     }
  161.     public function isField1(): ?bool
  162.     {
  163.         return $this->isField1;
  164.     }
  165.     public function setIsField1(?bool $isField1): self
  166.     {
  167.         $this->isField1 $isField1;
  168.         return $this;
  169.     }
  170.     public function isField1Required(): ?bool
  171.     {
  172.         return $this->isField1Required;
  173.     }
  174.     public function setIsField1Required(?bool $isField1Required): self
  175.     {
  176.         $this->isField1Required $isField1Required;
  177.         return $this;
  178.     }
  179.     public function isField2(): ?bool
  180.     {
  181.         return $this->isField2;
  182.     }
  183.     public function setIsField2(?bool $isField2): self
  184.     {
  185.         $this->isField2 $isField2;
  186.         return $this;
  187.     }
  188.     public function isField2Required(): ?bool
  189.     {
  190.         return $this->isField2Required;
  191.     }
  192.     public function setIsField2Required(?bool $isField2Required): self
  193.     {
  194.         $this->isField2Required $isField2Required;
  195.         return $this;
  196.     }
  197.     public function isField3(): ?bool
  198.     {
  199.         return $this->isField3;
  200.     }
  201.     public function setIsField3(?bool $isField3): self
  202.     {
  203.         $this->isField3 $isField3;
  204.         return $this;
  205.     }
  206.     public function isField3Required(): ?bool
  207.     {
  208.         return $this->isField3Required;
  209.     }
  210.     public function setIsField3Required(?bool $isField3Required): self
  211.     {
  212.         $this->isField3Required $isField3Required;
  213.         return $this;
  214.     }
  215.     public function isField4(): ?bool
  216.     {
  217.         return $this->isField4;
  218.     }
  219.     public function setIsField4(?bool $isField4): self
  220.     {
  221.         $this->isField4 $isField4;
  222.         return $this;
  223.     }
  224.     public function isField4Required(): ?bool
  225.     {
  226.         return $this->isField4Required;
  227.     }
  228.     public function setIsField4Required(?bool $isField4Required): self
  229.     {
  230.         $this->isField4Required $isField4Required;
  231.         return $this;
  232.     }
  233.     public function isField5(): ?bool
  234.     {
  235.         return $this->isField5;
  236.     }
  237.     public function setIsField5(?bool $isField5): self
  238.     {
  239.         $this->isField5 $isField5;
  240.         return $this;
  241.     }
  242.     public function isField5Required(): ?bool
  243.     {
  244.         return $this->isField5Required;
  245.     }
  246.     public function setIsField5Required(?bool $isField5Required): self
  247.     {
  248.         $this->isField5Required $isField5Required;
  249.         return $this;
  250.     }
  251.     public function isField6(): ?bool
  252.     {
  253.         return $this->isField6;
  254.     }
  255.     public function setIsField6(?bool $isField6): self
  256.     {
  257.         $this->isField6 $isField6;
  258.         return $this;
  259.     }
  260.     public function isField6Required(): ?bool
  261.     {
  262.         return $this->isField6Required;
  263.     }
  264.     public function setIsField6Required(?bool $isField6Required): self
  265.     {
  266.         $this->isField6Required $isField6Required;
  267.         return $this;
  268.     }
  269.     public function isField7(): ?bool
  270.     {
  271.         return $this->isField7;
  272.     }
  273.     public function setIsField7(?bool $isField7): self
  274.     {
  275.         $this->isField7 $isField7;
  276.         return $this;
  277.     }
  278.     public function isField7Required(): ?bool
  279.     {
  280.         return $this->isField7Required;
  281.     }
  282.     public function setIsField7Required(?bool $isField7Required): self
  283.     {
  284.         $this->isField7Required $isField7Required;
  285.         return $this;
  286.     }
  287.     public function getFieldLabel(): ?string
  288.     {
  289.         return $this->fieldLabel;
  290.     }
  291.     public function setFieldLabel(?string $fieldLabel): self
  292.     {
  293.         $this->fieldLabel $fieldLabel;
  294.         return $this;
  295.     }
  296.     public function getField2Label(): ?string
  297.     {
  298.         return $this->field2Label;
  299.     }
  300.     public function setField2Label(?string $field2Label): self
  301.     {
  302.         $this->field2Label $field2Label;
  303.         return $this;
  304.     }
  305.     public function getField3Label(): ?string
  306.     {
  307.         return $this->field3Label;
  308.     }
  309.     public function setField3Label(?string $field3Label): self
  310.     {
  311.         $this->field3Label $field3Label;
  312.         return $this;
  313.     }
  314.     public function getField4Label(): ?string
  315.     {
  316.         return $this->field4Label;
  317.     }
  318.     public function setField4Label(?string $field4Label): self
  319.     {
  320.         $this->field4Label $field4Label;
  321.         return $this;
  322.     }
  323.     public function getField5Label(): ?string
  324.     {
  325.         return $this->field5Label;
  326.     }
  327.     public function setField5Label(?string $field5Label): self
  328.     {
  329.         $this->field5Label $field5Label;
  330.         return $this;
  331.     }
  332.     public function getField6Label(): ?string
  333.     {
  334.         return $this->field6Label;
  335.     }
  336.     public function setField6Label(?string $field6Label): self
  337.     {
  338.         $this->field6Label $field6Label;
  339.         return $this;
  340.     }
  341.     public function getField7label(): ?string
  342.     {
  343.         return $this->field7label;
  344.     }
  345.     public function setField7label(?string $field7label): self
  346.     {
  347.         $this->field7label $field7label;
  348.         return $this;
  349.     }
  350.     public function isTextarea(): ?bool
  351.     {
  352.         return $this->isTextarea;
  353.     }
  354.     public function setIsTextarea(?bool $isTextarea): self
  355.     {
  356.         $this->isTextarea $isTextarea;
  357.         return $this;
  358.     }
  359.     public function isTextareaRequired(): ?bool
  360.     {
  361.         return $this->isTextareaRequired;
  362.     }
  363.     public function setIsTextareaRequired(?bool $isTextareaRequired): self
  364.     {
  365.         $this->isTextareaRequired $isTextareaRequired;
  366.         return $this;
  367.     }
  368.     public function getTextareaLabel(): ?string
  369.     {
  370.         return $this->TextareaLabel;
  371.     }
  372.     public function setTextareaLabel(?string $TextareaLabel): self
  373.     {
  374.         $this->TextareaLabel $TextareaLabel;
  375.         return $this;
  376.     }
  377.     public function isMedia(): ?bool
  378.     {
  379.         return $this->isMedia;
  380.     }
  381.     public function setIsMedia(?bool $isMedia): self
  382.     {
  383.         $this->isMedia $isMedia;
  384.         return $this;
  385.     }
  386.     public function isMediaRequired(): ?bool
  387.     {
  388.         return $this->isMediaRequired;
  389.     }
  390.     public function setIsMediaRequired(?bool $isMediaRequired): self
  391.     {
  392.         $this->isMediaRequired $isMediaRequired;
  393.         return $this;
  394.     }
  395.     public function getMediaLabel(): ?string
  396.     {
  397.         return $this->mediaLabel;
  398.     }
  399.     public function setMediaLabel(?string $mediaLabel): self
  400.     {
  401.         $this->mediaLabel $mediaLabel;
  402.         return $this;
  403.     }
  404.     public function getUploadLimit(): ?string
  405.     {
  406.         return $this->uploadLimit;
  407.     }
  408.     public function setUploadLimit(?string $uploadLimit): self
  409.     {
  410.         $this->uploadLimit $uploadLimit;
  411.         return $this;
  412.     }
  413.     public function getActivedContribution(): ?bool
  414.     {
  415.         return $this->activedContribution;
  416.     }
  417.     public function setActivedContribution(bool $activedContribution): self
  418.     {
  419.         $this->activedContribution $activedContribution;
  420.         return $this;
  421.     }
  422.     public function getLegend(): ?string
  423.     {
  424.         return $this->legend;
  425.     }
  426.     public function setLegend(?string $legend): self
  427.     {
  428.         $this->legend $legend;
  429.         return $this;
  430.     }
  431.     public function getTitle(): ?string
  432.     {
  433.         return $this->title;
  434.     }
  435.     public function setTitle(?string $title): self
  436.     {
  437.         $this->title $title;
  438.         return $this;
  439.     }
  440.     public function getConfirmationMessage(): ?string
  441.     {
  442.         return $this->confirmationMessage;
  443.     }
  444.     public function setConfirmationMessage(?string $confirmationMessage): self
  445.     {
  446.         $this->confirmationMessage $confirmationMessage;
  447.         return $this;
  448.     }
  449. }