TreadNode.java
1.04 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
package com.yoho.rfid.model;
import org.apache.commons.lang3.builder.ToStringBuilder;
/**
* Created by chenchao on 2017/11/3.
*/
public class TreadNode {
private String name;
private long aliveDatetime;
private String aliveDateTime;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getAliveDateTime() {
return aliveDateTime;
}
public void setAliveDateTime(String aliveDateTime) {
this.aliveDateTime = aliveDateTime;
}
public long getAliveDatetime() {
return aliveDatetime;
}
public void setAliveDatetime(long aliveDatetime) {
this.aliveDatetime = aliveDatetime;
}
@Override
public String toString() {
return new ToStringBuilder(this)
.append("name", name)
.append("aliveDatetime", aliveDatetime)
.append("aliveDateTime", aliveDateTime)
.toString();
}
}