- Implement discount filtering in product queries and views. - Update related request and response handling for discounts.
22 lines
527 B
PHP
22 lines
527 B
PHP
<?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 ?string $discount = null,
|
|
public ?string $tag = null,
|
|
public ?string $range = null,
|
|
) {
|
|
}
|
|
}
|