18 lines
394 B
PHP
18 lines
394 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace App\Queries\ProductIncos;
|
||
|
|
|
||
|
|
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.');
|
||
|
|
}
|
||
|
|
}
|