
com.denghb.eorm.domain.Paging Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eorm-spring Show documentation
Show all versions of eorm-spring Show documentation
A easy based on the Spring JdbcTemplate JDBC ORM
package com.denghb.eorm.domain;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* Created by denghb on 15/11/18.
*/
public abstract class Paging implements Serializable {
private static final long serialVersionUID = 1760699317506200256L;
/**
* 总数
*/
private long total = 0;
/**
* 当前页数
*/
private long page = 1;
/**
* 每页数量
*/
private long pageSize = 20;
/**
* 总页数
*/
private long totalPage = 1;
/**
* 开始
*/
private long start = 0;
/**
* 是否排序
*/
private boolean sort = true;
/**
* 排序字段
*/
private String[] sorts;
/**
* 排序字段下标 默认:0
*/
private int sortIndex = 0;
/**
* 默认降序
*/
private boolean desc = true;
/**
* 整条SQL查询总数
*/
private boolean fullTotal = false;
/**
* 参数列表
*/
private List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy