<?php

namespace App\Modules\Inventory\Reservation\DTOs;

final readonly class ReleaseInventoryInput
{
    /**
     * @param  array<string, mixed>|null  $metadata
     */
    public function __construct(
        public int $tenantId,
        public int $warehouseId,
        public int $itemId,
        public string $reservationPublicId,
        public string $quantity,
        public ?int $actorUserId,
        public ?string $correlationId,
        public ?string $idempotencyKey,
        public string $idempotencySource = 'default',
        public ?string $sourceType = null,
        public ?int $sourceId = null,
        public ?array $metadata = null,
    ) {}
}
