mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-18 17:09:31 +00:00
21 lines
486 B
PHP
21 lines
486 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Services\InfoProviderSystem\DTOs;
|
|
|
|
use App\Entity\Parts\Part;
|
|
|
|
readonly class BulkSearchRequestDTO
|
|
{
|
|
/**
|
|
* @param array $fieldMappings
|
|
* @param bool $prefetchDetails
|
|
* @param Part[] $parts The parts for which the bulk search should be performed.
|
|
*/
|
|
public function __construct(
|
|
public array $fieldMappings,
|
|
public bool $prefetchDetails = false,
|
|
public array $parts = []
|
|
) {}
|
|
}
|