24 lines
667 B
PHP
24 lines
667 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Queries\Orders;
|
|
|
|
use App\Contracts\QueryInput;
|
|
use Carbon\CarbonInterface;
|
|
use Domain\Enums\OrderStatus;
|
|
use Domain\Models\ValueObjects\Pagination;
|
|
|
|
final readonly class GetBoPaginatedOrdersQueryInput implements QueryInput
|
|
{
|
|
public function __construct(
|
|
public Pagination $pagination,
|
|
public ?string $search = null,
|
|
public ?OrderStatus $status = null,
|
|
public ?CarbonInterface $orderDateStart = null,
|
|
public ?CarbonInterface $orderDateEnd = null,
|
|
public ?CarbonInterface $orderPickupStart = null,
|
|
public ?CarbonInterface $orderPickupEnd = null,
|
|
) {
|
|
}
|
|
}
|