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

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

/**
 * Request pour créer une sauvegarde
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CreateBackupRequest {

    @NotBlank(message = "Le nom de la sauvegarde est requis")
    private String name;

    private String description;

    private String type; // AUTO, MANUAL, RESTORE_POINT

    private Boolean includeDatabase;
    private Boolean includeFiles;
    private Boolean includeConfiguration;
}
