Added very basic octopart info provider

This commit is contained in:
Jan Böhmer 2023-07-30 23:04:18 +02:00
parent 6a00b8e168
commit 43cc37d10f
6 changed files with 260 additions and 2 deletions

View file

@ -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));