zj
2025-04-04 8ceb6cd5ba9d7f347f2070a3967f31cc070ef4ef
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
62
63
64
65
66
67
package project.data.model;
 
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
 
/**
 * 市场深度数据
 *
 */
public class Depth implements Serializable  {
    /**
     * 
     */
    private static final long serialVersionUID = -6927860235289172991L;
 
    /**
     * 产品代码
     */
    private String symbol;
 
    /**
     * 时间戳
     */
    private Long ts;
    /**
     * 买单
     */
    private List<DepthEntry> bids = new ArrayList<DepthEntry>();
    /**
     * 卖单
     */
    private List<DepthEntry> asks = new ArrayList<DepthEntry>();
 
    public String getSymbol() {
        return symbol;
    }
 
    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }
 
    public Long getTs() {
        return ts;
    }
 
    public void setTs(Long ts) {
        this.ts = ts;
    }
 
    public List<DepthEntry> getBids() {
        return bids;
    }
 
    public void setBids(List<DepthEntry> bids) {
        this.bids = bids;
    }
 
    public List<DepthEntry> getAsks() {
        return asks;
    }
 
    public void setAsks(List<DepthEntry> asks) {
        this.asks = asks;
    }
 
}