package dev.lions.unionflow.server.api.dto.backup.request;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.UUID;

/**
 * Request pour restaurer une sauvegarde
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RestoreBackupRequest {

    @NotNull(message = "L'ID de la sauvegarde est requis")
    private UUID backupId;

    private Boolean restoreDatabase;
    private Boolean restoreFiles;
    private Boolean restoreConfiguration;

    private Boolean createRestorePoint; // Créer un point de restauration avant
}
