package com.gear.swx.domain;
|
|
import java.math.BigDecimal;
|
import com.gear.common.annotation.Excel;
|
import lombok.Data;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.gear.common.core.domain.BusiBaseEntity;
|
|
/**
|
* 合约订单对象 swx_contracts_order
|
*
|
* @author czx
|
* @date 2023-11-20
|
*/
|
@Data
|
@TableName("swx_contracts_order")
|
public class SwxContractsOrder extends BusiBaseEntity {
|
|
private static final long serialVersionUID=1L;
|
|
/** $column.columnComment */
|
@TableId(type = IdType.ASSIGN_ID)
|
private String id;
|
|
/** $column.columnComment */
|
@Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
|
private String userId;
|
|
/** $column.columnComment */
|
@Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
|
private String constractsId;
|
|
/** $column.columnComment */
|
@Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
|
private String orderId;
|
|
/** 购入价格 */
|
@Excel(name = "购入价格")
|
private BigDecimal buyPrice;
|
|
/** 平仓价格 */
|
@Excel(name = "平仓价格")
|
private BigDecimal sellPrice;
|
|
/** 类型(买多、卖空) */
|
@Excel(name = "类型" , readConverterExp = "买=多、卖空")
|
private Integer type;
|
|
/** 订单状态 */
|
@Excel(name = "订单状态")
|
private Integer status;
|
|
/** 购入手数 */
|
@Excel(name = "购入手数")
|
private Long hands;
|
|
/** 总金额 */
|
@Excel(name = "总金额")
|
private BigDecimal amount;
|
|
/** 止损价格 */
|
@Excel(name = "止损价格")
|
private BigDecimal stopLoss;
|
|
/** 止盈价格 */
|
@Excel(name = "止盈价格")
|
private BigDecimal stopProfit;
|
|
/** 杠杆倍数 */
|
@Excel(name = "杠杆倍数")
|
private Integer leverage;
|
|
/** 交易费 */
|
@Excel(name = "交易费")
|
private BigDecimal tradeFee;
|
|
/** 保证金 */
|
@Excel(name = "保证金")
|
private BigDecimal margin;
|
|
/** 收益 */
|
@Excel(name = "收益")
|
private BigDecimal income;
|
|
}
|