guoshilong
2023-08-02 818113e9a0cf7c20d836291e2a151f7346aad8a7
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package cn.gistack.nky.requestpojo;
 
import cn.gistack.nky.resultpojo.DataResChildrenPo;
import lombok.Data;
 
/**
 * @PROJECT_NAME: skjcmanager
 * @DESCRIPTION: 查询结果请求参数
 * @USER: aix
 * @DATE: 2023/7/31 11:07
 */
@Data
public class QueryReqPo {
 
    /**
     * 第几页
     */
    private int pageNo;
    /**
     * 每页数量
     */
    private int pageSize;
    /**
     * 开始记录No
     */
    private int startNo;
    /**
     * 大坝id
     */
    private String damId;
    /**
     * 测点id
     */
    private String pointId;
    /**
     * 监测量类型
     */
    private String type;
 
    public QueryReqPo(){}
 
    public QueryReqPo(String damId, String pointId, String type) {
        this.damId = damId;
        this.pointId = pointId;
        this.type = type;
    }
 
    public QueryReqPo(DataResChildrenPo dataResChildrenPo,String type) {
        this.damId = dataResChildrenPo.getRes_cd();
        this.pointId = dataResChildrenPo.getCd();
        this.type = type;
        this.pageNo = 1;
        this.pageSize = 1;
    }
 
}