From afdbaa02913adb95cb9701d1a0a3a3a65c48b13a Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 26 May 2021 20:28:49 +0800
Subject: [PATCH] 20210526  聊天

---
 src/main/java/com/xcong/excoin/modules/otc/entity/OtcEntrustOrder.java |   32 +++++++++++++++++++++++++++++---
 1 files changed, 29 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..17fdc96 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
@@ -1,5 +1,6 @@
 package com.xcong.excoin.modules.otc.entity;
 
+import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableName;
 import com.xcong.excoin.common.system.base.BaseEntity;
 import lombok.Data;
@@ -13,6 +14,11 @@
     private Long memberId;
 
     private Long mbId;
+
+    /**
+     * 委托单号
+     */
+    private String entrustOrderNo;
 
     /**
      * 单价
@@ -40,12 +46,32 @@
     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;
+
+    @TableField(exist = false)
+    private String payType;
 }

--
Gitblit v1.9.1