D60.java
1.95 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
package com.bsth.entity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.persistence.*;
/**
* @author PanZhao
* @ClassName: D60
* @Description: TODO(调度指令)
* @date 2016年6月7日 上午10:21:59
*/
@Entity
@Table(name = "bsth_v_directive_60")
public class D60 {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
/**
* 设备编号
*/
@JsonIgnore
private String deviceId;
/**
* 时间戳
*/
@JsonIgnore
private Long timestamp;
/**
* 唯一标识
*/
@JsonProperty("msgId")
private Integer msgId;
/**
* 46收到时间
*/
@JsonProperty("deviceReplyTime")
private Long reply46Time;
/**
* 47收到时间
*/
@JsonProperty("jsyReplyTime")
private Long reply47Time;
/**
* 指令日期
*/
@JsonIgnore
private String rq;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getDeviceId() {
return deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public Long getTimestamp() {
return timestamp;
}
public void setTimestamp(Long timestamp) {
this.timestamp = timestamp;
}
public Integer getMsgId() {
return msgId;
}
public void setMsgId(Integer msgId) {
this.msgId = msgId;
}
public Long getReply46Time() {
return reply46Time;
}
public void setReply46Time(Long reply46Time) {
this.reply46Time = reply46Time;
}
public Long getReply47Time() {
return reply47Time;
}
public void setReply47Time(Long reply47Time) {
this.reply47Time = reply47Time;
}
public String getRq() {
return rq;
}
public void setRq(String rq) {
this.rq = rq;
}
}