lizhanwei
2020-04-10 89752aee9911cdf0fd758474581859e11a45f296
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;
    }
}