vendor/webbamboo/spinners-common/src/Entity/H1county.php line 15
<?phpnamespace Webbamboo\SpinnersCommon\Entity;use Doctrine\ORM\Mapping as ORM;use Webbamboo\SpinnersCommon\Repository\H1countyRepository;/*** H1county** @ORM\Table("H1county")* @ORM\Entity*/#[ORM\Entity(repositoryClass: H1countyRepository::class)]class H1county{/*** @var integer** @ORM\Column(name="id", type="integer")* @ORM\Id* @ORM\GeneratedValue(strategy="AUTO")*/private $id;/*** @var string** @ORM\Column(name="h1", type="string", length=255)*/private $h1;/*** @ORM\OneToMany(targetEntity="Counties", mappedBy="h1")*/private $counties;/*** Get id** @return integer*/public function getId(){return $this->id;}/*** Set h1** @param string $h1* @return H1county*/public function setH1($h1){$this->h1 = $h1;return $this;}/*** Get h1** @return string*/public function getH1(){return $this->h1;}/*** Constructor*/public function __construct(){$this->counties = new \Doctrine\Common\Collections\ArrayCollection();}/*** Add counties** @param \Webbamboo\SpinnersCommon\Entity\Counties $counties* @return H1county*/public function addCounty(\Webbamboo\SpinnersCommon\Entity\Counties $counties){$this->counties[] = $counties;return $this;}/*** Remove counties** @param \Webbamboo\SpinnersCommon\Entity\Counties $counties*/public function removeCounty(\Webbamboo\SpinnersCommon\Entity\Counties $counties){$this->counties->removeElement($counties);}/*** Get counties** @return \Doctrine\Common\Collections\Collection*/public function getCounties(){return $this->counties;}}