<?php
namespace App\Entity\Addon;
use App\Entity\BaseEntity;
use App\Repository\Addon\EshopRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: EshopRepository::class)]
class Eshop extends BaseEntity
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column()]
private ?int $id = null;
#[ORM\Column]
private ?int $shoptetId = null;
#[ORM\Column(length: 255)]
private ?string $shoptetUrl = null;
#[ORM\Column(length: 255)]
private ?string $shoptetEmail = null;
#[ORM\OneToOne(mappedBy: 'eshop', targetEntity: Installation::class)]
private ?Installation $installation = null;
public function getId(): ?int
{
return $this->id;
}
public function getShoptetId(): ?int
{
return $this->shoptetId;
}
public function setShoptetId(int $shoptetId): self
{
$this->shoptetId = $shoptetId;
return $this;
}
public function getShoptetUrl(): ?string
{
return $this->shoptetUrl;
}
public function setShoptetUrl(string $shoptetUrl): self
{
$this->shoptetUrl = $shoptetUrl;
return $this;
}
public function getInstallation(): ?Installation {
return $this->installation;
}
public function setInstallation(Installation $installation): self {
$this->installation = $installation;
return $this;
}
public function getShoptetEmail(): ?string
{
return $this->shoptetEmail;
}
public function setShoptetEmail(string $shoptetEmail): self
{
$this->shoptetEmail = $shoptetEmail;
return $this;
}
}