PageResult.java 587 Bytes
package com.objecteye.entity;

import java.io.Serializable;
import java.util.List;

public class PageResult<T> implements Serializable {

    private long total;
    private List<T> row;

    public PageResult() {
    }

    public PageResult(long total, List<T> row) {
        this.total = total;
        this.row = row;
    }

    public long gettotal() {
        return total;
    }

    public void settotal(int total) {
        this.total = total;
    }

    public List<T> getRow() {
        return row;
    }

    public void setRow(List<T> row) {
        this.row = row;
    }
}