JTL Import
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user