From 2922e51a7a8e657a8467c818ae16700e41ddac77 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 10 五月 2022 19:45:58 +0800
Subject: [PATCH] bug修复

---
 app/src/main/java/com/yeshi/makemoney/app/entity/goldcorn/GoldCornConsumeRecord.java |   36 ++++++++++++++++++++++++++++++++----
 1 files changed, 32 insertions(+), 4 deletions(-)

diff --git a/app/src/main/java/com/yeshi/makemoney/app/entity/goldcorn/GoldCornConsumeRecord.java b/app/src/main/java/com/yeshi/makemoney/app/entity/goldcorn/GoldCornConsumeRecord.java
index 133cc20..eb59224 100644
--- a/app/src/main/java/com/yeshi/makemoney/app/entity/goldcorn/GoldCornConsumeRecord.java
+++ b/app/src/main/java/com/yeshi/makemoney/app/entity/goldcorn/GoldCornConsumeRecord.java
@@ -34,14 +34,26 @@
     /**
      * 鍏戞崲鐨勪汉姘戝竵锛堝綋鍏戞崲绫诲瀷涓轰汉姘戝竵鏃舵湁鏁堬級
      */
-    private BigDecimal money;
+    private Long money;
 
     private String remarks;
+
+    /**
+     * 浜嬩欢鏃堕棿
+     */
+    private Date eventTime;
+
+    /**
+     * 浜嬩欢ID
+     */
+    private String eventId;
+
+
     @Indexed
     private Date createTime;
     private Date updateTime;
 
-    public  String toId() {
+    public String toId() {
         return uid + "-" + type.name() + "-" + createTime.getTime();
     }
 
@@ -78,11 +90,11 @@
         this.type = type;
     }
 
-    public BigDecimal getMoney() {
+    public Long getMoney() {
         return money;
     }
 
-    public void setMoney(BigDecimal money) {
+    public void setMoney(Long money) {
         this.money = money;
     }
 
@@ -109,4 +121,20 @@
     public void setUpdateTime(Date updateTime) {
         this.updateTime = updateTime;
     }
+
+    public Date getEventTime() {
+        return eventTime;
+    }
+
+    public void setEventTime(Date eventTime) {
+        this.eventTime = eventTime;
+    }
+
+    public String getEventId() {
+        return eventId;
+    }
+
+    public void setEventId(String eventId) {
+        this.eventId = eventId;
+    }
 }

--
Gitblit v1.8.0