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

org.huiche.data.page.PageResponse Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version
package org.huiche.data.page;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

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

/**
 * 页面响应,提供总的记录条数和当前页数据List
 *
 * @param  类型
 * @author Maning
 */
@Getter
@Setter
@Accessors(chain = true)
@ToString
public class PageResponse implements Serializable {
    /**
     * 总条数
     */
    private Long total = 0L;
    /**
     * 数据List
     */
    private List rows = new ArrayList<>();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy