package kz.konturai.parser.dto;

import java.util.Map;

public class ParserStatsDto {

    private long totalItems;
    private Map<String, Long> sourceStatistics;
    private String lastUpdate;

    public ParserStatsDto() {
    }

    public ParserStatsDto(long totalItems, Map<String, Long> sourceStatistics, String lastUpdate) {
        this.totalItems = totalItems;
        this.sourceStatistics = sourceStatistics;
        this.lastUpdate = lastUpdate;
    }

    // Getters and Setters
    public long getTotalItems() {
        return totalItems;
    }

    public void setTotalItems(long totalItems) {
        this.totalItems = totalItems;
    }

    public Map<String, Long> getSourceStatistics() {
        return sourceStatistics;
    }

    public void setSourceStatistics(Map<String, Long> sourceStatistics) {
        this.sourceStatistics = sourceStatistics;
    }

    public String getLastUpdate() {
        return lastUpdate;
    }

    public void setLastUpdate(String lastUpdate) {
        this.lastUpdate = lastUpdate;
    }
}
