liujie
2026-09-17 819124be8f16794d409a67f58d5257aef37d9b64
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 com.tourguide.modules.review.dto;
 
import java.math.BigDecimal;
import java.util.List;
 
public class GuideRatingResponse {
    private final BigDecimal score;
    private final List<GuideRatingItemResponse> rows;
    private final long total;
    private final long pageNum;
    private final long pageSize;
 
    public GuideRatingResponse(BigDecimal score, List<GuideRatingItemResponse> rows,
                               long total, long pageNum, long pageSize) {
        this.score = score;
        this.rows = rows;
        this.total = total;
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }
 
    public BigDecimal getScore() { return score; }
    public List<GuideRatingItemResponse> getRows() { return rows; }
    public long getTotal() { return total; }
    public long getPageNum() { return pageNum; }
    public long getPageSize() { return pageSize; }
}