package de.cannamanage.api.dto.report;

import java.time.Instant;
import java.time.LocalDate;
import java.util.List;
import java.util.UUID;

/**
 * JSON response DTO for the member list report.
 */
public record MemberListResponse(
        Instant generatedAt,
        List<MemberEntryDto> members
) {
    public record MemberEntryDto(
            UUID id,
            String firstName,
            String lastName,
            String membershipNumber,
            String status,
            LocalDate joinDate,
            int totalDistributions,
            Instant lastDistributionDate
    ) {}
}
