zhanghua
2023-03-01 59e18cfbe1c440f3d0f7ffaa675c127bf82f2414
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.ycl.api;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.util.ArrayList;
import java.util.List;
 
/**
 * @author Lyq
 * @version 1.0
 * @date 2022/9/9
 */
@ApiModel
@Data
public  class BasePageDTO<T> {
    @ApiModelProperty("总数")
    private long total;
    @ApiModelProperty("列表")
    private List<T> records = new ArrayList<>();
}