| | |
| | | @ColumnInfo(name = "head_url") |
| | | private String head_url; |
| | | |
| | | @ColumnInfo(name ="person_type") |
| | | private int personType = 1; |
| | | |
| | | public String getHead_url() { |
| | | return head_url; |
| | | } |
| | |
| | | @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() { |
| | |
| | | ", begin_time=" + begin_time + |
| | | '}'; |
| | | } |
| | | |
| | | public void setPersonType(int personType) { |
| | | this.personType = personType; |
| | | } |
| | | |
| | | public int getPersonType() { |
| | | return personType; |
| | | } |
| | | } |