From 89752aee9911cdf0fd758474581859e11a45f296 Mon Sep 17 00:00:00 2001
From: lizhanwei <Dana_Lee1016@126.com>
Date: 星期五, 10 四月 2020 15:46:22 +0800
Subject: [PATCH] 修改8201消息(签到消息应答)

---
 app/src/main/java/safeluck/drive/evaluation/DB/Student.java |   23 +++++++++++++++++------
 1 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/app/src/main/java/safeluck/drive/evaluation/DB/Student.java b/app/src/main/java/safeluck/drive/evaluation/DB/Student.java
index 5dd1ec2..256bfb2 100644
--- a/app/src/main/java/safeluck/drive/evaluation/DB/Student.java
+++ b/app/src/main/java/safeluck/drive/evaluation/DB/Student.java
@@ -33,6 +33,9 @@
     @ColumnInfo(name = "head_url")
     private String head_url;
 
+    @ColumnInfo(name ="person_type")
+    private int personType = 1;
+
     public String getHead_url() {
         return head_url;
     }
@@ -51,12 +54,12 @@
     @ColumnInfo(name = "begin_time")
     private long begin_time;
 
-    public Student(long stu_id, @NonNull String name, String ID, int sex) {
-        this.stu_id = stu_id;
-        this.name = name;
-        this.ID = ID;
-        this.sex = sex;
-    }
+//    public Student(long stu_id, @NonNull String name, String ID, int sex) {
+//        this.stu_id = stu_id;
+//        this.name = name;
+//        this.ID = ID;
+//        this.sex = sex;
+//    }
 
 
     public long getStu_id() {
@@ -103,4 +106,12 @@
                 ", begin_time=" + begin_time +
                 '}';
     }
+
+    public void setPersonType(int personType) {
+        this.personType = personType;
+    }
+
+    public int getPersonType() {
+        return personType;
+    }
 }

--
Gitblit v1.8.0