package de.cannamanage.service.dto.portal;

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

/**
 * Paginated distribution history for a member.
 */
public record PortalDistributionHistory(
    List<DistributionEntry> distributions,
    int page,
    int totalPages,
    long totalElements
) {
    public record DistributionEntry(
        Instant date,
        String strainName,
        BigDecimal grams,
        String staffName
    ) {}
}
