package com.storycove.dto;

import java.util.List;

public class ReadingActivityStatsDto {
    private long storiesReadLastWeek;
    private long wordsReadLastWeek;
    private long readingTimeMinutesLastWeek;
    private List<DailyActivityDto> dailyActivity;

    public ReadingActivityStatsDto() {
    }

    public long getStoriesReadLastWeek() {
        return storiesReadLastWeek;
    }

    public void setStoriesReadLastWeek(long storiesReadLastWeek) {
        this.storiesReadLastWeek = storiesReadLastWeek;
    }

    public long getWordsReadLastWeek() {
        return wordsReadLastWeek;
    }

    public void setWordsReadLastWeek(long wordsReadLastWeek) {
        this.wordsReadLastWeek = wordsReadLastWeek;
    }

    public long getReadingTimeMinutesLastWeek() {
        return readingTimeMinutesLastWeek;
    }

    public void setReadingTimeMinutesLastWeek(long readingTimeMinutesLastWeek) {
        this.readingTimeMinutesLastWeek = readingTimeMinutesLastWeek;
    }

    public List<DailyActivityDto> getDailyActivity() {
        return dailyActivity;
    }

    public void setDailyActivity(List<DailyActivityDto> dailyActivity) {
        this.dailyActivity = dailyActivity;
    }

    public static class DailyActivityDto {
        private String date; // YYYY-MM-DD format
        private long storiesRead;
        private long wordsRead;

        public DailyActivityDto() {
        }

        public DailyActivityDto(String date, long storiesRead, long wordsRead) {
            this.date = date;
            this.storiesRead = storiesRead;
            this.wordsRead = wordsRead;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public long getStoriesRead() {
            return storiesRead;
        }

        public void setStoriesRead(long storiesRead) {
            this.storiesRead = storiesRead;
        }

        public long getWordsRead() {
            return wordsRead;
        }

        public void setWordsRead(long wordsRead) {
            this.wordsRead = wordsRead;
        }
    }
}
