From e1cc0d03fadc2d251d36c0dc3650f75e830d5363 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 07 四月 2022 19:12:42 +0800
Subject: [PATCH] 功能完善

---
 app/src/main/java/com/yeshi/makemoney/app/entity/goldcorn/GoldCornGetRecord.java |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/app/src/main/java/com/yeshi/makemoney/app/entity/goldcorn/GoldCornGetRecord.java b/app/src/main/java/com/yeshi/makemoney/app/entity/goldcorn/GoldCornGetRecord.java
index c18309c..d4fc504 100644
--- a/app/src/main/java/com/yeshi/makemoney/app/entity/goldcorn/GoldCornGetRecord.java
+++ b/app/src/main/java/com/yeshi/makemoney/app/entity/goldcorn/GoldCornGetRecord.java
@@ -14,6 +14,11 @@
  */
 @Document(collection = "goldCornGetRecord")
 public class GoldCornGetRecord {
+    public final static int LEVEL_OWN = 0;
+    public final static int LEVEL_FIRST = 1;
+    public final static int LEVEL_SECOND = 2;
+
+
     @Id
     private String id;
     @Indexed
@@ -40,6 +45,11 @@
     @Indexed
     private Date createTime;
     private Date updateTime;
+
+    /**
+     * 绛夌骇锛�0-鐢辫嚜宸辫幏鍙� 1-涓嬬骇鑾峰彇  2-涓嬩笅绾ц幏鍙�
+     **/
+    private Integer level;
 
     public String toId() {
         return uid + "-" + type.name() + "-" + createTime.getTime();
@@ -125,4 +135,12 @@
     public void setUpdateTime(Date updateTime) {
         this.updateTime = updateTime;
     }
+
+    public Integer getLevel() {
+        return level;
+    }
+
+    public void setLevel(Integer level) {
+        this.level = level;
+    }
 }

--
Gitblit v1.8.0