src/Entity/IdentityForm.php line 11

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