package de.cannamanage.api.dto.report;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * JSON response DTO for the monthly distribution report.
 */
public record MonthlyReportResponse(
        String month,
        int totalDistributions,
        BigDecimal totalGrams,
        int uniqueMembers,
        BigDecimal averagePerMember,
        List<StrainSummaryDto> topStrains,
        List<DailyEntryDto> dailyBreakdown
) {
    public record StrainSummaryDto(String name, BigDecimal totalGrams, int distributionCount) {}
    public record DailyEntryDto(LocalDate date, BigDecimal grams, int distributions) {}
}
