package de.cannamanage.service.dto.portal;

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

/**
 * Dashboard overview for portal members — quota summary + recent distributions.
 */
public record PortalDashboard(
    String memberName,
    String membershipNumber,
    BigDecimal monthlyQuotaUsed,
    BigDecimal monthlyQuotaRemaining,
    BigDecimal dailyQuotaUsed,
    BigDecimal dailyQuotaRemaining,
    List<RecentDistribution> recentDistributions
) {
    public record RecentDistribution(
        Instant date,
        String strainName,
        BigDecimal grams,
        String staffName
    ) {}
}
