From 9739e12c89e42a2b445801fea0ad958c5f08281c Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 18 May 2021 18:32:51 +0800
Subject: [PATCH] add entrustOrder and marketBusiness

---
 src/main/java/com/xcong/excoin/modules/otc/entity/OtcEntrustOrder.java |   28 +++++++++++++++++++++++++---
 1 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/otc/entity/OtcEntrustOrder.java b/src/main/java/com/xcong/excoin/modules/otc/entity/OtcEntrustOrder.java
index 60c6c40..40da240 100644
--- a/src/main/java/com/xcong/excoin/modules/otc/entity/OtcEntrustOrder.java
+++ b/src/main/java/com/xcong/excoin/modules/otc/entity/OtcEntrustOrder.java
@@ -15,6 +15,11 @@
     private Long mbId;
 
     /**
+     * 委托单号
+     */
+    private String entrustOrderNo;
+
+    /**
      * 单价
      */
     private BigDecimal unitPrice;
@@ -40,12 +45,29 @@
     private BigDecimal limitMaxAmount;
 
     /**
-     * 委托单类型 B-买S-卖
+     * 委托总金额
      */
-    private String orderType;
+    private BigDecimal totalAmount;
 
     /**
-     * 1-上线 2-下线
+     * 委托单类型 B-买 S-卖
+     */
+    private String orderType;
+    public static final String ORDER_TYPE_B = "B";
+    public static final String ORDER_TYPE_S = "S";
+
+    /**
+     * 1-上线 2-下线 3-撤销
      */
     private Integer status;
+    public static final Integer LINE_UP = 1;
+    public static final Integer LINE_DOWN = 2;
+    public static final Integer LINE_CANCEL = 3;
+
+    /**
+     * 是否市商 1-是 2-否
+     */
+    private Integer isMb;
+    public static final Integer IS_MB_Y = 1;
+    public static final Integer IS_MB_N = 2;
 }

--
Gitblit v1.9.1