package com.storycove.dto;

import java.util.Map;

public class RatingStatsDto {
    private double averageRating;
    private long totalRatedStories;
    private long totalUnratedStories;
    private Map<Integer, Long> ratingDistribution; // rating (1-5) -> count

    public RatingStatsDto() {
    }

    public double getAverageRating() {
        return averageRating;
    }

    public void setAverageRating(double averageRating) {
        this.averageRating = averageRating;
    }

    public long getTotalRatedStories() {
        return totalRatedStories;
    }

    public void setTotalRatedStories(long totalRatedStories) {
        this.totalRatedStories = totalRatedStories;
    }

    public long getTotalUnratedStories() {
        return totalUnratedStories;
    }

    public void setTotalUnratedStories(long totalUnratedStories) {
        this.totalUnratedStories = totalUnratedStories;
    }

    public Map<Integer, Long> getRatingDistribution() {
        return ratingDistribution;
    }

    public void setRatingDistribution(Map<Integer, Long> ratingDistribution) {
        this.ratingDistribution = ratingDistribution;
    }
}
