package com.iqser.red.service.persistence.service.v1.api.shared.model.saas.migration;

import com.iqser.red.service.persistence.service.v1.api.shared.model.dossiertemplate.dossier.file.SaasMigrationStatus;

import lombok.*;

import java.util.HashMap;
import java.util.Map;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class MigrationStatusResponse {

    private Integer numberOfFilesToMigrate;
    @Builder.Default
    private Map<SaasMigrationStatus, Integer> filesInStatus = new HashMap<>();
    @Builder.Default
    private Map<String, String> errorCauses = new HashMap<>();

}
