package com.honey.honey.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PromotionDetailDto {
    private Integer id;
    private String type;
    private String status;
    private Instant startTime;
    private Instant endTime;
    private Long totalReward;
    private List<PromotionLeaderboardEntryDto> leaderboard;
    /** 1-based position of current user (0 if not in leaderboard). */
    private int userPosition;
    /** Total number of participants. */
    private int userTotal;
    private BigDecimal userPoints;
}
