zj
2025-01-06 0e7b38c2b3af72ea2a7f8a2fcbaad4d78e2c1977
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
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;
 
}