1
zj
2025-07-28 1caf228ac11217ac3191945f059d646a1585150c
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
package com.nq.pojo;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
 
import java.math.BigDecimal;
import java.sql.Date;
 
/**
 * @program: dabaogp
 * @description: 日内交易订单表
 * @create: 2025-07-15 10:41
 **/
@Data
public class IntradayOrder {
 
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id; // 订单ID
    private Integer userId; // 用户ID
    private Integer smartId; //日内产品id
    private BigDecimal orderAmount; // 订单金额
    private String stockType; // 股票类型: 日股/美股/港股等
    private String stockCode; // 股票编码
    private String stockName; // 股票名称
    private String stockGid; // 股票GID
    private Integer stockQuantity; // 股票数量
    private Integer priceType; // 涨跌类型: 1-买涨,2-买跌
    private Integer positionOrder; // 持仓订单
    private BigDecimal stockPrice; // 股票价格
    private Integer auditStatus; // 审核状态: 0-未审核,1-审核通过,2-审核拒绝
    private java.util.Date orderTime; // 下单时间
    private Integer isLocked; // 是否锁仓: 0-开仓,1-锁仓
    private java.util.Date createdAt; // 创建时间
    private java.util.Date updatedAt; // 更新时间
    private Integer stockId; //股票id
    private BigDecimal purchaseAmount; //实际买入金额
 
}