ldc-boutique-cnc-sable/app/Queries/ProductIncos/GetArcadiaIncoPreviewQueryInput.php

18 lines
394 B
PHP
Raw Permalink Normal View History

<?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.');
}
}