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

com.blade.jdbc.page.PageRow Maven / Gradle / Ivy

There is a newer version: 0.2.2-RELEASE
Show newest version
package com.blade.jdbc.page;

import lombok.Data;

@Data
public class PageRow {

    private int page;
    private int offset;
    private int limit;

    public PageRow(int page, int limit) {
        this.page = page;
        this.offset = (page - 1) * limit;
        this.limit = limit;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy