mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-12 19:34:31 +02:00
Added very basic octopart info provider
This commit is contained in:
parent
6a00b8e168
commit
43cc37d10f
6 changed files with 260 additions and 2 deletions
|
@ -162,6 +162,7 @@ final class DTOtoEntityConverter
|
|||
|
||||
$entity->setManufacturerProductNumber($dto->mpn ?? '');
|
||||
$entity->setManufacturingStatus($dto->manufacturing_status ?? ManufacturingStatus::NOT_SET);
|
||||
$entity->setManufacturerProductURL($dto->manufacturer_product_url ?? '');
|
||||
|
||||
//Set the provider reference on the part
|
||||
$entity->setProviderReference(InfoProviderReference::fromPartDTO($dto));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue