package gr.cite.annotation.web.model; import java.util.ArrayList; import java.util.List; public class QueryResult { public QueryResult() { } public QueryResult(List items, long count) { this.items = items; this.count = count; } public List items; public long count; public List getItems() { return items; } public void setItems(List items) { this.items = items; } public long getCount() { return count; } public void setCount(long count) { this.count = count; } public static QueryResult Empty() { return new QueryResult<>(new ArrayList<>(), 0L); } }