ldc-cocotte/app/Queries/Products/GetBoPaginatedProductsQueryInput.php

23 lines
525 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
namespace App\Queries\Products;
use App\Contracts\QueryInput;
use Shared\Pagination\Pagination;
final readonly class GetBoPaginatedProductsQueryInput implements QueryInput
{
public function __construct(
public Pagination $pagination,
public ?string $search = null,
public ?string $brand = null,
public bool $starred = false,
public bool $discount = false,
public ?string $tag = null,
public ?string $range = null,
) {
}
}