Allow to import GTIN from info providers

This commit is contained in:
Jan Böhmer 2026-02-08 15:32:35 +01:00
parent 57c8368b5e
commit fd76ca12fc
8 changed files with 39 additions and 1 deletions

View file

@ -175,6 +175,8 @@ final class DTOtoEntityConverter
$entity->setManufacturingStatus($dto->manufacturing_status ?? ManufacturingStatus::NOT_SET);
$entity->setManufacturerProductURL($dto->manufacturer_product_url ?? '');
$entity->setGtin($dto->gtin);
//Set the provider reference on the part
$entity->setProviderReference(InfoProviderReference::fromPartDTO($dto));