2025-09-09 20:30:27 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
namespace App\Services\InfoProviderSystem\DTOs;
|
|
|
|
|
|
2025-09-14 22:56:12 +02:00
|
|
|
use App\Entity\Parts\Part;
|
|
|
|
|
|
|
|
|
|
readonly class BulkSearchRequestDTO
|
2025-09-09 20:30:27 +02:00
|
|
|
{
|
2025-09-14 22:56:12 +02:00
|
|
|
/**
|
|
|
|
|
* @param array $fieldMappings
|
|
|
|
|
* @param bool $prefetchDetails
|
|
|
|
|
* @param Part[] $parts The parts for which the bulk search should be performed.
|
|
|
|
|
*/
|
2025-09-09 20:30:27 +02:00
|
|
|
public function __construct(
|
2025-09-14 22:56:12 +02:00
|
|
|
public array $fieldMappings,
|
|
|
|
|
public bool $prefetchDetails = false,
|
|
|
|
|
public array $parts = []
|
2025-09-09 20:30:27 +02:00
|
|
|
) {}
|
2025-09-14 22:56:12 +02:00
|
|
|
}
|