View Javadoc
1   package org.oxerr.huobi.rest.domain;
2   
3   import java.math.BigDecimal;
4   import java.util.Date;
5   
6   public class Delegation extends AbstractObject {
7   
8   	private static final long serialVersionUID = 2014010401L;
9   
10  	/**
11  	 * Delegation ID.
12  	 */
13  	private long id;
14  
15  	/**
16  	 * 委托时间
17  	 */
18  	private Date date;
19  
20  	/**
21  	 * 类别
22  	 */
23  	private Type type;
24  
25  	/**
26  	 * 价格
27  	 */
28  	private BigDecimal price;
29  
30  	/**
31  	 * 数量
32  	 */
33  	private BigDecimal amount;
34  
35  	/**
36  	 * 交易额
37  	 */
38  	private BigDecimal trading;
39  
40  	/**
41  	 * 手续费
42  	 */
43  	private BigDecimal fee;
44  
45  	/**
46  	 * 总金额
47  	 */
48  	private BigDecimal total;
49  
50  	public long getId() {
51  		return id;
52  	}
53  
54  	public void setId(long id) {
55  		this.id = id;
56  	}
57  
58  	public Date getDate() {
59  		return date;
60  	}
61  
62  	public void setDate(Date date) {
63  		this.date = date;
64  	}
65  
66  	public Type getType() {
67  		return type;
68  	}
69  
70  	public void setType(Type type) {
71  		this.type = type;
72  	}
73  
74  	public BigDecimal getPrice() {
75  		return price;
76  	}
77  
78  	public void setPrice(BigDecimal price) {
79  		this.price = price;
80  	}
81  
82  	public BigDecimal getAmount() {
83  		return amount;
84  	}
85  
86  	public void setAmount(BigDecimal amount) {
87  		this.amount = amount;
88  	}
89  
90  	public BigDecimal getTrading() {
91  		return trading;
92  	}
93  
94  	public void setTrading(BigDecimal trading) {
95  		this.trading = trading;
96  	}
97  
98  	public BigDecimal getFee() {
99  		return fee;
100 	}
101 
102 	public void setFee(BigDecimal fee) {
103 		this.fee = fee;
104 	}
105 
106 	public BigDecimal getTotal() {
107 		return total;
108 	}
109 
110 	public void setTotal(BigDecimal total) {
111 		this.total = total;
112 	}
113 
114 }