From 3b51e28456fc8c3ca03a27df70645b82c1a1530b Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 08 Sep 2020 18:00:30 +0800
Subject: [PATCH] modify

---
 src/main/java/com/xcong/excoin/modules/coin/entity/OrderCoinsDealEntity.java |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 57 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/coin/entity/OrderCoinsDealEntity.java b/src/main/java/com/xcong/excoin/modules/coin/entity/OrderCoinsDealEntity.java
index 02b24ad..de6f514 100644
--- a/src/main/java/com/xcong/excoin/modules/coin/entity/OrderCoinsDealEntity.java
+++ b/src/main/java/com/xcong/excoin/modules/coin/entity/OrderCoinsDealEntity.java
@@ -1,5 +1,7 @@
 package com.xcong.excoin.modules.coin.entity;
 
+import java.math.BigDecimal;
+
 import com.baomidou.mybatisplus.annotation.TableName;
 import com.xcong.excoin.common.system.base.BaseEntity;
 
@@ -15,5 +17,60 @@
 	 * 
 	 */
 	private static final long serialVersionUID = 1L;
+	/**
+	 * 会员ID
+	 */
+	private Long memberId;
+	/**
+	 * 订单主表ID
+	 */
+	private Long orderId;
+	/**
+	 * 订单编号
+	 */
+	private String orderNo;
+	/**
+	 * 订单类型 1、买入2、卖出
+	 */
+	private Integer orderType;
+	public static final Integer ORDERTYPE_BUY = 1;
+	public static final Integer ORDERTYPE_SELL = 2;
+	/**
+	 * 交易类型 1:市价2:限价
+	 */
+	private Integer tradeType;
+	public static final Integer TRADETYPE_MARKETPRICE = 1;
+	public static final Integer TRADETYPE_FIXEDPRICE = 2;
+	
+	/**
+	 * 状态  2:撤单3:已成交
+	 */
+	private Integer orderStatus;
+	public static final Integer ORDERSTATUS_CANCEL = 2;
+	public static final Integer ORDERSTATUS_DONE = 3;
+	/**
+	 * 币种
+	 */
+	private String symbol;
+	/**
+	 * 数量
+	 */
+	private BigDecimal symbolCnt;
+	/**
+	 * 委托价
+	 */
+	private BigDecimal entrustPrice;
+	/**
+	 * 成交价
+	 */
+	private BigDecimal dealPrice;
+	/**
+	 * 成交金额
+	 */
+	private BigDecimal dealAmount;
+	/**
+	 * 手续费
+	 */
+	private BigDecimal feeAmount;
 
 }

--
Gitblit v1.9.1