package com.luojia_channel.common.domain.page;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Collections;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PageResponse<T> {
    // 普通分页参数
    private Long current; // 当前页数，适用于普通分页
    private Long total;
    private Long size = 10L;
    private List<T> records = Collections.emptyList();
}
