package com.kt.event.participation.application.dto;

import lombok.*;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 당첨자 추첨 응답 DTO
 */
@Getter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class DrawWinnersResponse {

    private String eventId;
    private Integer totalParticipants;
    private Integer winnerCount;
    private LocalDateTime drawnAt;
    private List<WinnerSummary> winners;

    @Getter
    @NoArgsConstructor
    @AllArgsConstructor
    @Builder
    public static class WinnerSummary {
        private String participantId;
        private String name;
        private String phoneNumber;
        private Integer rank;
    }
}
