src/Entity/Addon/Eshop.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Addon;
  3. use App\Entity\BaseEntity;
  4. use App\Repository\Addon\EshopRepository;
  5. use Doctrine\Common\Collections\ArrayCollection;
  6. use Doctrine\Common\Collections\Collection;
  7. use Doctrine\ORM\Mapping as ORM;
  8. #[ORM\Entity(repositoryClassEshopRepository::class)]
  9. class Eshop extends BaseEntity
  10. {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column()]
  14.     private ?int $id null;
  15.     #[ORM\Column]
  16.     private ?int $shoptetId null;
  17.     #[ORM\Column(length255)]
  18.     private ?string $shoptetUrl null;
  19.     #[ORM\Column(length255)]
  20.     private ?string $shoptetEmail null;
  21.     #[ORM\OneToOne(mappedBy'eshop'targetEntityInstallation::class)]
  22.     private ?Installation $installation null;
  23.     public function getId(): ?int
  24.     {
  25.         return $this->id;
  26.     }
  27.     public function getShoptetId(): ?int
  28.     {
  29.         return $this->shoptetId;
  30.     }
  31.     public function setShoptetId(int $shoptetId): self
  32.     {
  33.         $this->shoptetId $shoptetId;
  34.         return $this;
  35.     }
  36.     public function getShoptetUrl(): ?string
  37.     {
  38.         return $this->shoptetUrl;
  39.     }
  40.     public function setShoptetUrl(string $shoptetUrl): self
  41.     {
  42.         $this->shoptetUrl $shoptetUrl;
  43.         return $this;
  44.     }
  45.     public function getInstallation(): ?Installation {
  46.         return $this->installation;
  47.     }
  48.     public function setInstallation(Installation $installation): self {
  49.         $this->installation $installation;
  50.         return $this;
  51.     }
  52.     public function getShoptetEmail(): ?string
  53.     {
  54.         return $this->shoptetEmail;
  55.     }
  56.     public function setShoptetEmail(string $shoptetEmail): self
  57.     {
  58.         $this->shoptetEmail $shoptetEmail;
  59.         return $this;
  60.     }
  61. }