package com.xydl.cac.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class OnePage<T> {
    @ApiModelProperty("数据")
    private List<T> content;
    @ApiModelProperty("总数量")
    private Long total;
    @ApiModelProperty("页码")
    Integer pageNum;
    @ApiModelProperty("每页数量")
    Integer pageSize;
}
