package eu.dnetlib.shared.dashboard;

import com.google.gwt.user.client.rpc.IsSerializable;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * Created by antleb on 11/9/15.
 */
public class DashboardData implements IsSerializable {
	private int totalUsers;
	private int totalDataProviders;
	private int totalDataProvidersWithData;
	private int totalObservations;
	private UserGraph userGraph;
	private List<Tuple<String, Integer>> usersPerSector;
	private Map<String, Tuple<Integer, Integer>> requestGraph;
	private List<Tuple<Date, Integer>> dailyLogins;
	private Map<String, Tuple<Integer, Integer>> requestStatusGraph;

	public DashboardData() {
	}

	public int getTotalUsers() {
		return totalUsers;
	}

	public void setTotalUsers(int totalUsers) {
		this.totalUsers = totalUsers;
	}

	public int getTotalDataProviders() {
		return totalDataProviders;
	}

	public void setTotalDataProviders(int totalDataProviders) {
		this.totalDataProviders = totalDataProviders;
	}

	public int getTotalDataProvidersWithData() {
		return totalDataProvidersWithData;
	}

	public void setTotalDataProvidersWithData(int totalDataProvidersWithData) {
		this.totalDataProvidersWithData = totalDataProvidersWithData;
	}

	public int getTotalObservations() {
		return totalObservations;
	}

	public void setTotalObservations(int totalObservations) {
		this.totalObservations = totalObservations;
	}

	public UserGraph getUserGraph() {
		return userGraph;
	}

	public void setUserGraph(UserGraph userGraph) {
		this.userGraph = userGraph;
	}

	public List<Tuple<String, Integer>> getUsersPerSector() {
		return usersPerSector;
	}

	public void setUsersPerSector(List<Tuple<String, Integer>> usersPerSector) {
		this.usersPerSector = usersPerSector;
	}

	public Map<String, Tuple<Integer, Integer>> getRequestGraph() {
		return requestGraph;
	}

	public void setRequestGraph(Map<String, Tuple<Integer, Integer>> requestGraph) {
		this.requestGraph = requestGraph;
	}

	public List<Tuple<Date, Integer>> getDailyLogins() {
		return dailyLogins;
	}

	public void setDailyLogins(List<Tuple<Date, Integer>> dailyLogins) {
		this.dailyLogins = dailyLogins;
	}

	public Map<String, Tuple<Integer, Integer>> getRequestStatusGraph() {
		return requestStatusGraph;
	}

	public void setRequestStatusGraph(Map<String, Tuple<Integer, Integer>> requestStatusGraph) {
		this.requestStatusGraph = requestStatusGraph;
	}
}

