All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fengwenyi.api.result.PageRequestVo Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package com.fengwenyi.api.result;

import java.io.Serializable;

/**
 *
 * 分页请求类
 *
 * @author Erwin Feng
 * @since 2.7.0
 */
public class PageRequestVo implements Serializable {

    private static final long serialVersionUID = -6056923744875775355L;

    /** 当前页 */
    private Long current;

    /** 每页显示条数 */
    private Integer pageSize;

    public PageRequestVo() {
    }

    public PageRequestVo(Long current, Integer pageSize) {
        this.current = current;
        this.pageSize = pageSize;
    }

    public Long getCurrent() {
        return current;
    }

    public void setCurrent(Long current) {
        this.current = current;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "PageRequestVo{" +
                "current=" + current +
                ", pageSize=" + pageSize +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy