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 size = 10L;
    private Long total;
    private List<T> records = Collections.emptyList();
}
