<?php

namespace App\Dto\Input;

use Symfony\Component\Serializer\Annotation\Groups;
use Symfony\Component\Validator\Constraints as Assert;

class CreateBackupInput
{

    #[Assert\NotNull]
    #[Groups(['image-image-repository:write'])]
    public ?string $repository = '';

    #[Assert\NotNull]
    #[Groups(['image-image-repository:write'])]
    public ?string $sshServer = '';

    #[Assert\NotNull]
    #[Groups(['image-image-repository:write'])]
    public ?string $sshUser = '';

    #[Assert\NotNull]
    #[Groups(['image-image-repository:write'])]
    public ?string $sshPort = '';

    #[Assert\NotNull]
    #[Groups(['image-image-repository:write'])]
    public ?string $filename = '';
}