package org.jeecg.modules.newWarning.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class AggregatedResultDto implements Serializable {

    private BigDecimal sum;
    private Date maxDate;

    public AggregatedResultDto(BigDecimal sum, Date maxDate) {
        this.sum = sum;
        this.maxDate = maxDate;
    }
}
