2026-10-03 10:54:52 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
2026-11-10 14:28:00 +01:00
|
|
|
namespace App\Cqs\Queries\ProductIncos;
|
2026-10-03 10:54:52 +02:00
|
|
|
|
|
|
|
|
use App\Contracts\QueryInput;
|
|
|
|
|
use Webmozart\Assert\Assert;
|
|
|
|
|
|
|
|
|
|
final readonly class GetArcadiaIncoPreviewQueryInput implements QueryInput
|
|
|
|
|
{
|
|
|
|
|
public function __construct(
|
|
|
|
|
public int $noArt,
|
|
|
|
|
) {
|
|
|
|
|
Assert::greaterThanEq($this->noArt, 1, 'The INCO article number must be greater than or equal to 1.');
|
|
|
|
|
}
|
|
|
|
|
}
|