Added an TME data provider

This commit is contained in:
Jan Böhmer 2023-07-15 01:01:20 +02:00
parent 0cb46039dd
commit f9fdae9de9
7 changed files with 397 additions and 1 deletions

View file

@ -122,6 +122,8 @@ class DTOtoEntityConverter
$entity->setDescription($dto->description ?? '');
$entity->setComment($dto->notes ?? '');
$entity->setMass($dto->mass);
$entity->setManufacturer($this->getOrCreateEntity(Manufacturer::class, $dto->manufacturer));
$entity->setManufacturerProductNumber($dto->mpn ?? '');