You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
528 B

3 years ago
package com.dji.sample.common.model;
import lombok.Data;
import java.util.List;
/**
* The format of the data response when a paginated display is required.
* @author sean
* @version 0.3
* @date 2021/12/22
*/
@Data
public class PaginationData<T> {
/**
* The collection in which the data list is stored.
*/
private List<T> list;
private Pagination pagination;
public PaginationData(List<T> list, Pagination pagination) {
this.list = list;
this.pagination = pagination;
}
}