JTL Import

This commit is contained in:
Marko
2023-08-24 13:00:52 +02:00
parent 873162859c
commit 6b85ee1596
22 changed files with 77987 additions and 201 deletions

View File

@@ -33,7 +33,7 @@ class Order
#[ORM\Column]
private array $data = [];
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
#[ORM\Column(type: Types::DATETIME_MUTABLE, name: 'change_date', options: ['default' => 'CURRENT_TIMESTAMP'])]
private ?\DateTimeInterface $changeDate = null;
public function getId(): ?int

View File

@@ -20,14 +20,14 @@ class Product
#[ORM\Column(length: 255)]
private ?string $gtin = null;
#[ORM\Column(length: 255)]
private ?string $shopwareId = null;
#[ORM\Column(length: 255)]
private ?string $modellnr = null;
#[ORM\Column(length: 255)]
private ?string $modellbez = null;
// #[ORM\Column(length: 255)]
// private ?string $shopwareId = null;
// #[ORM\Column(length: 255)]
// private ?string $modellnr = null;
// #[ORM\Column(length: 255)]
// private ?string $modellbez = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
#[ORM\Column(type: Types::DATETIME_MUTABLE, name: 'change_date', options: ['default' => 'CURRENT_TIMESTAMP'])]
private ?\DateTimeInterface $updateTime = null;
@@ -47,40 +47,40 @@ class Product
return $this;
}
public function getModellNr(): ?string
{
return $this->modellnr;
}
public function setModellNr(string $modellnr): self
{
$this->modellnr = $modellnr;
return $this;
}
public function getModellBez(): ?string
{
return $this->modellbez;
}
public function setModellBez(string $modellbez): self
{
$this->modellbez = $modellbez;
return $this;
}
public function getShopwareId(): ?string
{
return $this->shopwareId;
}
public function setShopwareId(string $shopwareId): self
{
$this->shopwareId = $shopwareId;
return $this;
}
// public function getModellNr(): ?string
// {
// return $this->modellnr;
// }
//
// public function setModellNr(string $modellnr): self
// {
// $this->modellnr = $modellnr;
//
// return $this;
// }
// public function getModellBez(): ?string
// {
// return $this->modellbez;
// }
//
// public function setModellBez(string $modellbez): self
// {
// $this->modellbez = $modellbez;
//
// return $this;
// }
//
// public function getShopwareId(): ?string
// {
// return $this->shopwareId;
// }
//
// public function setShopwareId(string $shopwareId): self
// {
// $this->shopwareId = $shopwareId;
//
// return $this;
// }
public function getUpdateTime(): ?\DateTimeInterface
{

View File

@@ -29,7 +29,7 @@ class Stock
#[ORM\ManyToOne(inversedBy: 'stocks')]
private ?Warehouse $warehouse = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
#[ORM\Column(type: Types::DATETIME_MUTABLE, name: 'change_date', options: ['default' => 'CURRENT_TIMESTAMP'])]
private ?\DateTimeInterface $update_time = null;
@@ -123,4 +123,4 @@ class Stock
return $this;
}
}
}