package eu.dnetlib.shared.dashboard;

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

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

/**
 * Created by antleb on 11/9/15.
 */
public class UserGraph implements IsSerializable {
	private List<Tuple<Date, Integer>> registeredPerMonth;
	private List<Tuple<Date, Integer>> registrationsPerMonth;

	public UserGraph() {
	}

	public UserGraph(List<Tuple<Date, Integer>> registeredPerMonth, List<Tuple<Date, Integer>> registrationsPerMonth) {
		this.registeredPerMonth = registeredPerMonth;
		this.registrationsPerMonth = registrationsPerMonth;
	}

	public List<Tuple<Date, Integer>> getRegisteredPerMonth() {
		return registeredPerMonth;
	}

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

	public List<Tuple<Date, Integer>> getRegistrationsPerMonth() {
		return registrationsPerMonth;
	}

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