From 1d8278d7570e199ce5ed16742d129424c2ca3aeb Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Mon, 25 Aug 2025 14:08:40 +0800
Subject: [PATCH] 实名新增证件类型
---
src/main/java/com/nq/pojo/UserPosition.java | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/nq/pojo/UserPosition.java b/src/main/java/com/nq/pojo/UserPosition.java
index c157f1c..cbf5224 100644
--- a/src/main/java/com/nq/pojo/UserPosition.java
+++ b/src/main/java/com/nq/pojo/UserPosition.java
@@ -10,11 +10,16 @@
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
+
+/**
+ * 用户持仓表
+ */
@Data
@TableName(value ="user_position")
public class UserPosition implements Serializable {
@TableId(type = IdType.AUTO,value = "id")
private Integer id;
+ //0正常股票 1.模拟 2.新股 3.大宗
private Integer positionType;
private String positionSn;
private Integer userId;
@@ -22,6 +27,7 @@
private Integer agentId;
private String stockName;
private String stockCode;
+ //存放股票类型
private String stockGid;
private String stockSpell;
private String buyOrderId;
@@ -31,10 +37,6 @@
private String sellOrderId;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date sellOrderTime;
-
- public void setId(Integer id) {
- this.id = id;
- }
private BigDecimal sellOrderPrice;
//
@@ -59,5 +61,10 @@
private BigDecimal marginAdd;
private Integer dzId;
+
+ //待补资金
+ private BigDecimal amountToBeCovered = BigDecimal.ZERO;
+
+ private Integer newId;
}
--
Gitblit v1.9.3