package eu.dnetlib.goldoa.domain;

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

import java.io.Serializable;
import java.util.List;

/**
 * Created by antleb on 10/11/15.
 */
public class RequestInfoPage implements IsSerializable, Serializable {
	private List<RequestInfo> requests;
	private int total;
	private int from;
	private int to;

	public RequestInfoPage() {
	}

	public RequestInfoPage(List<RequestInfo> requests, int total, int from, int to) {
		this.requests = requests;
		this.total = total;
		this.from = from;
		this.to = to;
	}

	public List<RequestInfo> getRequests() {
		return requests;
	}

	public void setRequests(List<RequestInfo> requests) {
		this.requests = requests;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public int getFrom() {
		return from;
	}

	public void setFrom(int from) {
		this.from = from;
	}

	public int getTo() {
		return to;
	}

	public void setTo(int to) {
		this.to = to;
	}
}
