vendor/webbamboo/spinners-common/src/Entity/Companythumbnail.php line 15
<?phpnamespace Webbamboo\SpinnersCommon\Entity;use Doctrine\ORM\Mapping as ORM;use Webbamboo\SpinnersCommon\Repository\CompanythumbnailRepository;/*** Companythumbnail** @ORM\Table("Companythumbnail")* @ORM\Entity*/#[ORM\Entity(repositoryClass: CompanythumbnailRepository::class)]class Companythumbnail{/*** @var integer** @ORM\Column(name="id", type="integer")* @ORM\Id* @ORM\GeneratedValue(strategy="AUTO")*/private $id;/*** @var string** @ORM\Column(name="path", type="string", length=255, unique=true)*/private $path;/*** @ORM\ManyToOne(targetEntity="Companythumbnailalt", inversedBy="thumbnails")* @ORM\JoinColumn(referencedColumnName="id")*/private $alt;/*** @ORM\ManyToOne(targetEntity="Companythumbnailname", inversedBy="thumbnails")* @ORM\JoinColumn(referencedColumnName="id")*/private $name;/*** @ORM\OneToMany(targetEntity="Company", mappedBy="thumbnail")*/private $companies;/*** Constructor*/public function __construct(){$this->companies = new \Doctrine\Common\Collections\ArrayCollection();}/*** Get id** @return integer*/public function getId(){return $this->id;}/*** Set path** @param string $path* @return Companythumbnail*/public function setPath($path){$this->path = $path;return $this;}/*** Get path** @return string*/public function getPath(){return $this->path;}/*** Set alt** @param \Webbamboo\SpinnersCommon\Entity\Companythumbnailalt $alt* @return Companythumbnail*/public function setAlt(\Webbamboo\SpinnersCommon\Entity\Companythumbnailalt $alt = null){$this->alt = $alt;return $this;}/*** Get alt** @return \Webbamboo\SpinnersCommon\Entity\Companythumbnailalt*/public function getAlt(){return $this->alt;}/*** Set name** @param \Webbamboo\SpinnersCommon\Entity\Companythumbnailname $name* @return Companythumbnail*/public function setName(\Webbamboo\SpinnersCommon\Entity\Companythumbnailname $name = null){$this->name = $name;return $this;}/*** Get name** @return \Webbamboo\SpinnersCommon\Entity\Companythumbnailname*/public function getName(){return $this->name;}/*** Add companies** @param \Webbamboo\SpinnersCommon\Entity\Company $companies* @return Companythumbnail*/public function addCompany(\Webbamboo\SpinnersCommon\Entity\Company $companies){$this->companies[] = $companies;return $this;}/*** Remove companies** @param \Webbamboo\SpinnersCommon\Entity\Company $companies*/public function removeCompany(\Webbamboo\SpinnersCommon\Entity\Company $companies){$this->companies->removeElement($companies);}/*** Get companies** @return \Doctrine\Common\Collections\Collection*/public function getCompanies(){return $this->companies;}}