package com.honey.honey.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WinnerDto {
    @JsonProperty("uI")
    private Integer userId;
    
    @JsonProperty("sN")
    private String screenName;
    
    @JsonProperty("aU")
    private String avatarUrl;
    
    @JsonProperty("b")
    private Long bet; // In tickets (not bigint)
    
    @JsonProperty("pO")
    private Long payout; // In bigint format (with 6 decimal places)
    
    @JsonProperty("cO")
    private Long commission; // In bigint format (with 6 decimal places)
    
    @JsonProperty("wC")
    private Double winChance; // Winner's chance percentage (calculated from round's actual participant bets)
}

