package com.xy.xyaicpzs.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * 奖金估算VO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "奖金估算信息")
public class PrizeEstimateVO {
    
    @Schema(description = "总奖金合计")
    private BigDecimal totalPrize;
    
    @Schema(description = "奖项明细")
    private List<PrizeDetailItem> prizeDetails;
    
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @Builder
    @Schema(description = "奖项明细项")
    public static class PrizeDetailItem {
        
        @Schema(description = "中奖等级，例如：一等奖、二等奖等")
        private String prizeLevel;
        
        @Schema(description = "中奖注数")
        private Integer winningCount;
        
        @Schema(description = "单注奖金（元）")
        private BigDecimal singlePrize;
        
        @Schema(description = "该等级奖金小计（元）")
        private BigDecimal subtotal;
    }
} 