czt
2024-11-01 dbef4eea6194ffba3bd25f978b33e09d65f5a6de
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
57
58
59
60
61
package com.fzzy.api.data;
 
 
import com.bstek.dorado.annotation.PropertyDef;
import com.fzzy.api.entity.ApiConfs;
import lombok.Data;
 
import java.util.Date;
 
/**
 * 公共参数对象
 */
@Data
public class ApiParam {
 
 
    @PropertyDef(label = "库区代码")
    private String kqdm;
 
    private Date start;
 
    private Date end;
 
    private String czbz;
 
    //接口编码
    private String inteId;
 
    private String inteCategory;
 
    private String pushProtocol;
 
    private String syncProtocol;
 
    private String deptId;
 
    private String bizId;
 
 
    public ApiParam() {
        super();
    }
 
    public ApiParam(ApiConfs apiConf) {
        this.kqdm = apiConf.getKqdm();
        this.pushProtocol = apiConf.getPushProtocol();
        this.syncProtocol = apiConf.getSyncProtocol();
        this.deptId = apiConf.getDeptId();
    }
 
    public ApiParam(ApiConfs apiConf, String inteCategory, String inteId) {
        this.kqdm = apiConf.getKqdm();
        this.pushProtocol = apiConf.getPushProtocol();
        this.syncProtocol = apiConf.getSyncProtocol();
        this.deptId = apiConf.getDeptId();
        this.inteCategory = inteCategory;
        this.inteId = inteId;
    }
 
 
}