mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-12 19:34:31 +02:00
Added an TME data provider
This commit is contained in:
parent
0cb46039dd
commit
f9fdae9de9
7 changed files with 397 additions and 1 deletions
|
@ -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 ?? '');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue