ldc-cocotte/app/Cqs/Queries/Orders/GetPickTimeSlotQueryOutput.php

24 lines
467 B
PHP
Raw Permalink Normal View History

<?php
declare(strict_types=1);
namespace App\Cqs\Queries\Orders;
use App\Dto\ShopDto;
use Domain\Enums\OrderTunnelStep;
use Domain\Models\ValueObjects\PickupTimeSlot;
final readonly class GetPickTimeSlotQueryOutput
{
/**
* @param array<PickupTimeSlot> $timeSlots
*/
public function __construct(
public OrderTunnelStep $step,
public ShopDto $shop,
public array $timeSlots,
public string $mapUrl,
) {
}
}