package org.jeecg.modules.demo.bussMapQuery.controller; import java.util.Collections; import java.util.List; public class QueryResult { protected List records; protected int total; protected int size; protected int current; public QueryResult(){ this.records = Collections.emptyList(); this.total = 0; this.size = 10; this.current = 1; } public QueryResult(List records, int total, int size, int current) { this.records = records; this.total = total; this.size = size; this.current = current; } public List getRecords() { return records; } public void setRecords(List records) { this.records = records; } public int getTotal() { return total; } public void setTotal(int total) { this.total = total; } public int getSize() { return size; } public void setSize(int size) { this.size = size; } public int getCurrent() { return current; } public void setCurrent(int current) { this.current = current; } }