<?php

namespace App\Dto\Input;

use ApiPlatform\Metadata\ApiProperty;
use App\Dto\Output\TraceOutput;
use Symfony\Component\Serializer\Annotation\Groups;
use Symfony\Component\Validator\Constraints as Assert;

final class CancelMultipleTracesInput
{
    /**
     * @var TraceOutput[]
     */
    #[Assert\NotNull]
    #[Groups(['trace:write'])]
    #[ApiProperty(
        description: 'Las trazas a cancelar',
        example: []
    )]
    public array $traces = [];
}
