Refactored the codebase to change the namespaces of various actions and queries from `App\Actions` to `App\Cqs\Actions` and `App\Queries` to `App\Cqs\Queries`. This restructuring improves organization and clarity in the codebase.
24 lines
662 B
PHP
24 lines
662 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Cqs\Queries\Orders;
|
|
|
|
use App\Contracts\QueryInput;
|
|
use Carbon\CarbonInterface;
|
|
use Domain\Enums\OrderStatus;
|
|
use Shared\Pagination\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,
|
|
) {
|
|
}
|
|
}
|