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 RequestPage implements IsSerializable, Serializable {
	private List<Request> requests;
	private int total;
	private int from;
	private int to;

	public RequestPage() {
	}

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

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

	public void setRequests(List<Request> 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;
	}
}
