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

19 lines
429 B
PHP

<?php
declare(strict_types=1);
namespace App\Queries\Products;
use App\Contracts\QueryInput;
use Domain\Models\ValueObjects\Pagination;
final readonly class GetPaginatedProductsQueryInput implements QueryInput
{
public function __construct(
public Pagination $pagination,
public bool $starOnly = false,
public bool $publishedOnly = false,
public bool $withPricing = false,
) {
}
}