package com.xcong.excoin.rabbit.pricequeue;
|
|
public class OrderModel {
|
/**
|
* 订单ID
|
*/
|
private Long orderId;
|
/**
|
* 类型
|
*/
|
private Integer type;
|
|
/**
|
* 触发价格
|
*/
|
private String price;
|
|
/**
|
* 币种
|
*/
|
private String symbol;
|
|
/**
|
* 爆仓价位设置次数
|
*/
|
private Integer operateNo;
|
|
private Long memberId;
|
|
|
public OrderModel(Long orderId, Integer type, String price, String symbol, Long memberId){
|
this.orderId= orderId;
|
this.type= type;
|
this.price= price;
|
this.symbol= symbol;
|
this.memberId = memberId;
|
}
|
|
public OrderModel(Long orderId,Integer type,String price, String symbol,Integer operateNo, Long memberId){
|
this.orderId= orderId;
|
this.type= type;
|
this.price= price;
|
this.symbol= symbol;
|
this.operateNo= operateNo;
|
this.memberId = memberId;
|
}
|
|
public Integer getOperateNo() {
|
return operateNo;
|
}
|
|
public void setOperateNo(Integer operateNo) {
|
this.operateNo = operateNo;
|
}
|
|
public Long getOrderId() {
|
return orderId;
|
}
|
|
public void setOrderId(Long orderId) {
|
this.orderId = orderId;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
public String getPrice() {
|
return price;
|
}
|
|
public void setPrice(String price) {
|
this.price = price;
|
}
|
|
public String getSymbol() {
|
return symbol;
|
}
|
|
public void setSymbol(String symbol) {
|
this.symbol = symbol;
|
}
|
|
public Long getMemberId() {
|
return memberId;
|
}
|
|
public void setMemberId(Long memberId) {
|
this.memberId = memberId;
|
}
|
}
|