1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- package org.jeecg.modules.demo.bussMapQuery.controller;
- import java.util.Collections;
- import java.util.List;
- public class QueryResult {
- protected List<QueryRecord> 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<QueryRecord> records, int total, int size, int current) {
- this.records = records;
- this.total = total;
- this.size = size;
- this.current = current;
- }
- public List<QueryRecord> getRecords() {
- return records;
- }
- public void setRecords(List<QueryRecord> 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;
- }
- }
|