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

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Request pour mettre à jour la configuration des sauvegardes automatiques
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UpdateBackupConfigRequest {

    private Boolean autoBackupEnabled;
    private String frequency; // HOURLY, DAILY, WEEKLY
    private String retention; // "7 jours", "30 jours", "90 jours", "1 an"
    private Integer retentionDays;
    private String backupTime; // Format HH:mm pour sauvegarde quotidienne
    private Boolean includeDatabase;
    private Boolean includeFiles;
    private Boolean includeConfiguration;
}
