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; }