package com.haha.service;

import com.haha.entity.MarketingStatistics;
import com.haha.entity.dto.MarketingStatQueryDTO;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;
import java.util.Map;

public interface MarketingStatisticsService {

    List<MarketingStatistics> getByActivityId(Long activityId);

    List<MarketingStatistics> getByActivityIdAndDateRange(Long activityId, LocalDate startDate, LocalDate endDate);

    Map<String, Object> getActivityOverview(Long activityId);

    Map<String, Object> getMarketingOverview();

    void generateDailyStatistics(Long activityId, LocalDate date);

    void generateAllDailyStatistics();

    Map<String, Object> getTrendData(Long activityId, LocalDate startDate, LocalDate endDate);

    BigDecimal calculateROI(Long activityId);
}
