package com.red.circle.other.app.dto.clientobject.activity;

import com.red.circle.framework.dto.ClientObject;
import java.math.BigDecimal;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 连抽结果CO.
 *
 * @author system
 * @since 2025-10-20
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class LotteryMultiDrawResultCO extends ClientObject {

  /**
   * 批次号.
   */
  private String batchNo;

  /**
   * 抽奖类型：1-单抽，2-十连抽.
   */
  private Integer drawType;

  /**
   * 抽奖结果列表.
   */
  private List<LotteryDrawResultCO> results;

  /**
   * 汇总信息.
   */
  private MultiDrawSummary summary;

  @Data
  @Accessors(chain = true)
  public static class MultiDrawSummary {
    /**
     * 本次总获得金额.
     */
    private BigDecimal totalAmount;

    /**
     * 是否触发保底.
     */
    private Boolean guaranteeTriggered;

    /**
     * 大奖数量（≥0.5美元）.
     */
    private Integer bigPrizeCount;

    /**
     * 中奖次数.
     */
    private Integer winCount;
  }

}
