| | |
| | | package com.nq.pojo; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | |
| | | public class StockAIOrderPosition { |
| | | |
| | | @Id |
| | | @GeneratedValue(strategy = GenerationType.IDENTITY) |
| | | //@GeneratedValue(strategy = GenerationType.IDENTITY) |
| | | @TableId(type = IdType.AUTO,value = "id") |
| | | private Integer id; |
| | | |
| | | //ai交易产品订单id |
| | | private Long stockAiOrderId; |
| | | private Integer stockAiOrderId; |
| | | |
| | | //建仓股票id |
| | | private Integer stockId; |
| | |
| | | /** |
| | | * 建仓时间 |
| | | */ |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date creatDate; |
| | | |
| | | /** |
| | |
| | | */ |
| | | private BigDecimal earnings; |
| | | |
| | | /** |
| | | * 建仓状态 0持仓 1已平仓 |
| | | */ |
| | | private Integer status; |
| | | |
| | | } |