HubNotes.java
1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
package com.lotus.town.dao;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;
@Entity
public class HubNotes {
@Id(autoincrement = true)
Long id;
String name;//邻居名字/自己
long datetime; //日期
String behaviour; //行为
String result; //行为结果
int type;//邻居 0|| 自己 1
public int getType() {
return this.type;
}
public void setType(int type) {
this.type = type;
}
public String getBehaviour() {
return this.behaviour;
}
public void setBehaviour(String behaviour) {
this.behaviour = behaviour;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public long getDatetime() {
return this.datetime;
}
public void setDatetime(long datetime) {
this.datetime = datetime;
}
public String getResult() {
return this.result;
}
public void setResult(String result) {
this.result = result;
}
@Generated(hash = 435450085)
public HubNotes(Long id, String name, long datetime, String behaviour, String result,
int type) {
this.id = id;
this.name = name;
this.datetime = datetime;
this.behaviour = behaviour;
this.result = result;
this.type = type;
}
@Generated(hash = 87949149)
public HubNotes() {
}
}