package com.storycove.dto;

import java.util.List;

public class TopAuthorsStatsDto {
    private List<AuthorStatsDto> topAuthorsByStories;
    private List<AuthorStatsDto> topAuthorsByWords;

    public TopAuthorsStatsDto() {
    }

    public List<AuthorStatsDto> getTopAuthorsByStories() {
        return topAuthorsByStories;
    }

    public void setTopAuthorsByStories(List<AuthorStatsDto> topAuthorsByStories) {
        this.topAuthorsByStories = topAuthorsByStories;
    }

    public List<AuthorStatsDto> getTopAuthorsByWords() {
        return topAuthorsByWords;
    }

    public void setTopAuthorsByWords(List<AuthorStatsDto> topAuthorsByWords) {
        this.topAuthorsByWords = topAuthorsByWords;
    }

    public static class AuthorStatsDto {
        private String authorId;
        private String authorName;
        private long storyCount;
        private long totalWords;

        public AuthorStatsDto() {
        }

        public AuthorStatsDto(String authorId, String authorName, long storyCount, long totalWords) {
            this.authorId = authorId;
            this.authorName = authorName;
            this.storyCount = storyCount;
            this.totalWords = totalWords;
        }

        public String getAuthorId() {
            return authorId;
        }

        public void setAuthorId(String authorId) {
            this.authorId = authorId;
        }

        public String getAuthorName() {
            return authorName;
        }

        public void setAuthorName(String authorName) {
            this.authorName = authorName;
        }

        public long getStoryCount() {
            return storyCount;
        }

        public void setStoryCount(long storyCount) {
            this.storyCount = storyCount;
        }

        public long getTotalWords() {
            return totalWords;
        }

        public void setTotalWords(long totalWords) {
            this.totalWords = totalWords;
        }
    }
}
