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;
|
|
import java.math.BigDecimal;
|
|
@Data
|
@TableName("otc_entrust_order")
|
public class OtcEntrustOrder extends BaseEntity {
|
|
private Long memberId;
|
|
private Long mbId;
|
|
/**
|
* 委托单号
|
*/
|
private String entrustOrderNo;
|
|
/**
|
* 单价
|
*/
|
private BigDecimal unitPrice;
|
|
/**
|
* 数量
|
*/
|
private BigDecimal coinAmount;
|
|
/**
|
* 剩余数量
|
*/
|
private BigDecimal remainCoinAmount;
|
|
/**
|
* 限额
|
*/
|
private BigDecimal limitMinAmount;
|
|
/**
|
* 限额
|
*/
|
private BigDecimal limitMaxAmount;
|
|
/**
|
* 委托总金额
|
*/
|
private BigDecimal totalAmount;
|
|
/**
|
* 委托单类型 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;
|
@TableField(exist = false)
|
private Integer isDefualt;
|
}
|