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

import lombok.Data;

import java.sql.Timestamp;

/**
 * 房间奖励信息
 *
 * @author system
 * @date 2025-12-01
 */
@Data
public class RoomRewardInfoCO {

    /**
     * 倒计时信息
     */
    private Timestamp countdown;

    /**
     * 当前周进度
     */
    private CurrentProgressCO currentProgress;

    /**
     * 上周进度
     */
    private LastWeekProgressCO lastWeekProgress;

    /**
     * 当前周进度
     */
    @Data
    public static class CurrentProgressCO {
        /**
         * 当前流水金额
         */
        private Long amount;

        /**
         * 当前等级 (1-4)
         */
        private Integer level;
    }

    /**
     * 上周进度
     */
    @Data
    public static class LastWeekProgressCO {
        /**
         * 上周流水金额
         */
        private Long amount;

        /**
         * 上周等级 (1-4)
         */
        private Integer level;

        /**
         * 房主收入金币数（流水的5%）
         */
        private Long ownerIncome;

        /**
         * 房主收入是否已领取
         */
        private Boolean ownerIncomeReceived;

        /**
         * 奖励金币数量
         */
        private Long rewardCoins;

        /**
         * 奖励金币是否已发放
         */
        private Boolean rewardCoinsSent;
    }
}
