io.github.ldhai99.easyOrm.page.PostgrePageData Maven / Gradle / Ivy
The newest version!
package io.github.ldhai99.easyOrm.page;
import io.github.ldhai99.easyOrm.SQL;
import java.io.Serializable;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
public class PostgrePageData implements PageData, Serializable{
SQL sql=null;
PageModel page=null;
public SQL getSql() {
return sql;
}
public PageData setSql(SQL sql) {
this.sql = sql;
return this;
}
public PageModel getPage() {
return page;
}
public PageData setPage(PageModel page) {
this.page = page;
return this;
}
public static void main(String[] args) {
}
public int getRowCount() {
return getRowCount(sql).intValue();
}
public List