<?php

namespace App\Dto\Input;

use ApiPlatform\Metadata\ApiProperty;
use Symfony\Component\Serializer\Annotation\Groups;

final class BackupImageInput
{
    #[Groups(['image-image-repository:write'])]
    #[ApiProperty(
        description: 'La IP del repositorio de destino',
        example: '192.168.1.100'
    )]
    public ?string $repoIp = null;

    #[Groups(['image-image-repository:write'])]
    #[ApiProperty(
        description: 'La ruta remota donde guardar el backup',
        example: '/backups/images/'
    )]
    public ?string $remotePath = null;
}