package com.weather.modules.weather.dailydata.dto;

import lombok.Data;

import java.util.concurrent.atomic.AtomicInteger;

@Data
public class ImportProgress {
    private String taskId;
    private volatile int totalRows;
    private final AtomicInteger processedRows = new AtomicInteger(0);
    private volatile String status;
    private volatile String errorMessage;

    public ImportProgress(String taskId) {
        this.taskId = taskId;
    }
}
