zhangherong
2025-04-18 1800c05a61a53d528e4f137fa42413cb0bf26734
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package org.jeecg.modules.dnc.response;
 
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import java.util.List;
 
/**
 * 分页响应结果
 * @param <T>
 */
 
@Data
@EqualsAndHashCode(callSuper = false)
public class QueryListResponseResult<T> extends ResponseResult {
 
    private List<T> list;
 
    private int total;
 
    public QueryListResponseResult(ResultCode resultCode,List list){
        super(resultCode);
        this.list = list;
        this.total = list == null ? 0 : list.size();
    }
 
}