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
88
89
90
91
92
93
94
95
96
97
98
99
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_order
 *
 * @author czx
 * @date 2023-11-18
 */
@Data
@TableName("swx_order")
public class SwxOrder 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;
 
    /** 类型1、合约2、期权3、智能交易 */
    @Excel(name = "类型1、合约2、期权3、智能交易")
    private Integer type;
 
    /** 投资金额/保证金总额 */
    @Excel(name = "投资金额/保证金总额")
    private BigDecimal amount;
 
    /** -1、待购入0、期权待平仓1、合约待平仓2、已平仓3、智能合约结算中4、智能合约收益完成 */
    @Excel(name = "-1、待购入0、期权待平仓1、合约待平仓2、已平仓3、智能合约结算中4、智能合约收益完成")
    private Integer status;
 
    /** 产品id */
    @Excel(name = "产品id")
    private String mId;
 
    /** 购买时单价 */
    @Excel(name = "购买时单价")
    private BigDecimal price;
 
    /** 买入符号1、买多2、卖空3、买涨4、买跌5、合约 */
    @Excel(name = "买入符号1、买多2、卖空3、买涨4、买跌5、合约")
    private Integer buyType;
 
    /** 交易手续费 */
    @Excel(name = "交易手续费")
    private BigDecimal tradeFee;
 
    /** 开仓价格 */
    @Excel(name = "开仓价格")
    private BigDecimal buyPrice;
 
    /** 平仓价格 */
    @Excel(name = "平仓价格")
    private BigDecimal sellPrice;
 
    /** 手数 */
    @Excel(name = "手数")
    private Integer handNum;
 
    /** 利润 */
    @Excel(name = "利润")
    private BigDecimal profit;
 
    /** 止盈 */
    @Excel(name = "止盈")
    private BigDecimal stopProfit;
 
    /** 止损 */
    @Excel(name = "止损")
    private BigDecimal stopLoss;
 
    /** 限价 */
    @Excel(name = "限价")
    private BigDecimal limitPrice;
 
    /** 杠杆倍数 */
    @Excel(name = "杠杆倍数")
    private Integer leverage;
 
    /** 期权交易状态(赢/输) */
    @Excel(name = "期权交易状态" , readConverterExp = "赢=/输")
    private Integer optionsStatus;
 
    /** 智能合约购买选项 */
    @Excel(name = "智能合约购买选项")
    private String smartInfo;
 
}