package com.storycove.dto;

import java.util.List;

public class SourceDomainStatsDto {
    private List<DomainStatsDto> topDomains;
    private long storiesWithSource;
    private long storiesWithoutSource;

    public SourceDomainStatsDto() {
    }

    public List<DomainStatsDto> getTopDomains() {
        return topDomains;
    }

    public void setTopDomains(List<DomainStatsDto> topDomains) {
        this.topDomains = topDomains;
    }

    public long getStoriesWithSource() {
        return storiesWithSource;
    }

    public void setStoriesWithSource(long storiesWithSource) {
        this.storiesWithSource = storiesWithSource;
    }

    public long getStoriesWithoutSource() {
        return storiesWithoutSource;
    }

    public void setStoriesWithoutSource(long storiesWithoutSource) {
        this.storiesWithoutSource = storiesWithoutSource;
    }

    public static class DomainStatsDto {
        private String domain;
        private long storyCount;

        public DomainStatsDto() {
        }

        public DomainStatsDto(String domain, long storyCount) {
            this.domain = domain;
            this.storyCount = storyCount;
        }

        public String getDomain() {
            return domain;
        }

        public void setDomain(String domain) {
            this.domain = domain;
        }

        public long getStoryCount() {
            return storyCount;
        }

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