src/Entity/Gos/LeadFormResponseVariableTypes.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Gos;
  3. use Doctrine\Common\Collections\ArrayCollection;
  4. use Doctrine\Common\Collections\Collection;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass="App\Repository\Gos\LeadFormResponseVariableTypesRepository")
  8.  */
  9. class LeadFormResponseVariableTypes
  10. {
  11.     /**
  12.      * @ORM\Id()
  13.      * @ORM\GeneratedValue()
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", length=255)
  19.      */
  20.     private $name;
  21.     /**
  22.      * @ORM\OneToMany(targetEntity="LeadFormResponseItem", mappedBy="variableType", cascade={"persist"})
  23.      */
  24.     private $leadFormResponseItems;
  25.     /**
  26.      * @return mixed
  27.      */
  28.     public function getId()
  29.     {
  30.         return $this->id;
  31.     }
  32.     /**
  33.      * @param mixed $id
  34.      */
  35.     public function setId($id): void
  36.     {
  37.         $this->id $id;
  38.     }
  39.     /**
  40.      * @return mixed
  41.      */
  42.     public function getName()
  43.     {
  44.         return $this->name;
  45.     }
  46.     /**
  47.      * @param mixed $name
  48.      */
  49.     public function setName($name): void
  50.     {
  51.         $this->name $name;
  52.     }
  53. }