You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package com.glxp.api.res;
|
|
|
|
import lombok.Data;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 简单的分页返回对象
|
|
*/
|
|
@Data
|
|
public class PageSimpleResponse<T> {
|
|
// 总数
|
|
private Integer total;
|
|
// 列表
|
|
private List<T> list;
|
|
|
|
public void setTotal(Long total) {
|
|
|
|
this.total = total.intValue();
|
|
}
|
|
}
|