From 8ac93bd9b45e3d25783798e1fe8cfc26bedd57d2 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 05 十二月 2020 17:17:48 +0800
Subject: [PATCH] 完善天天抽奖

---
 facade-lucky/src/main/java/com/ks/lucky/pojo/DO/LuckyActivityJoinRecord.java |   65 +++++++++++++++++++++-----------
 1 files changed, 43 insertions(+), 22 deletions(-)

diff --git a/facade-lucky/src/main/java/com/ks/lucky/pojo/DO/LuckyActivityJoinRecord.java b/facade-lucky/src/main/java/com/ks/lucky/pojo/DO/LuckyActivityJoinRecord.java
index 53907d8..6f3cf43 100644
--- a/facade-lucky/src/main/java/com/ks/lucky/pojo/DO/LuckyActivityJoinRecord.java
+++ b/facade-lucky/src/main/java/com/ks/lucky/pojo/DO/LuckyActivityJoinRecord.java
@@ -1,9 +1,22 @@
 package com.ks.lucky.pojo.DO;
 
+import org.yeshi.utils.mybatis.Column;
+import org.yeshi.utils.mybatis.Table;
+
 import java.io.Serializable;
 import java.util.Date;
 
-public class LuckyActivityJoinRecord  implements Serializable {
+@Table("lucky_activity_join_record")
+public class LuckyActivityJoinRecord extends BaseUser {
+
+    //鏈紑
+    public final static int DRAW_STATE_UNOPEN = 0;
+
+    //涓
+    public final static int DRAW_STATE_DRAWN = 1;
+
+    //鏈腑濂�
+    public final static int DRAW_STATE_NOT_DRAWN = 2;
 
     //鐪熷疄鐢ㄦ埛
     public final static int USER_TYPE_REAL = 1;
@@ -11,21 +24,37 @@
     //铏氭嫙鐢ㄦ埛
     public final static int USER_TYPE_VIRTUAL = 0;
 
+    @Column(name = "id")
     private Long id;
-
+    @Column(name = "activity_id")
     private Long activityId;
 
-    private Long appId;
-
-    private String uid;
-
+    @Column(name = "join_info")
     private String joinInfo;
 
+    @Column(name = "user_type")
     private Integer userType;
 
+    @Column(name = "weight")
     private Integer weight;
 
+    @Column(name = "create_time")
     private Date createTime;
+
+    @Column(name = "update_time")
+    private Date updateTime;
+
+    //鏄惁涓
+    @Column(name = "draw_state")
+    private Integer drawState;
+
+    public Integer getDrawState() {
+        return drawState;
+    }
+
+    public void setDrawState(Integer drawState) {
+        this.drawState = drawState;
+    }
 
     public Long getId() {
         return id;
@@ -41,22 +70,6 @@
 
     public void setActivityId(Long activityId) {
         this.activityId = activityId;
-    }
-
-    public Long getAppId() {
-        return appId;
-    }
-
-    public void setAppId(Long appId) {
-        this.appId = appId;
-    }
-
-    public String getUid() {
-        return uid;
-    }
-
-    public void setUid(String uid) {
-        this.uid = uid == null ? null : uid.trim();
     }
 
     public String getJoinInfo() {
@@ -90,4 +103,12 @@
     public void setCreateTime(Date createTime) {
         this.createTime = createTime;
     }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public void setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+    }
 }
\ No newline at end of file

--
Gitblit v1.8.0