package com.red.circle.other.infra.database.rds.service.game;

import com.red.circle.other.infra.database.rds.dto.game.WeeklyVipInfo;

import java.math.BigDecimal;
import java.time.LocalDate;

public interface GameVipLevelWeeklyService {

    Integer getLastWeekFinalLevel(Long userId, Long activityId, LocalDate currentWeekStartDate);

    WeeklyVipInfo getLastWeekInfo(Long userId, Long activityId, LocalDate currentWeekStartDate);

    void saveOrUpdateWeeklyLevel(Long userId, Long activityId, Integer weekNumber,
                                  LocalDate weekStartDate, LocalDate weekEndDate,
                                  Integer finalLevel, BigDecimal rechargeAmount, 
                                  Integer normalizedWeek, BigDecimal inheritedAmount);
}
