
com.jfirer.jsql.metadata.Page Maven / Gradle / Ivy
package com.jfirer.jsql.metadata;
import java.util.List;
public class Page
{
private int total;
private int offset;
private int size;
private List> data;
/**
* 是否需要查询总数
*/
private boolean fetchSum = false;
public int getTotal()
{
return total;
}
public int getOffset()
{
return offset;
}
public int getSize()
{
return size;
}
public List> getData()
{
return data;
}
public void setTotal(int total)
{
this.total = total;
}
public void setOffset(int offset)
{
this.offset = offset;
}
public void setSize(int size)
{
this.size = size;
}
public void setData(List> data)
{
this.data = data;
}
public boolean isFetchSum()
{
return fetchSum;
}
public void setFetchSum(boolean fetchSum)
{
this.fetchSum = fetchSum;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy