FastAndSlow.java
5.61 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
package com.bsth.data.summary.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* 快慢误点
* Created by panzhao on 2017/10/24.
*/
@Entity
@Table(name = "z_calc_fast_slow")
public class FastAndSlow {
/**
* 班次ID
*/
@Id
@Column(name = "s_id")
private Long id;
/**
* 驾驶员
*/
private String jsy;
/**
* 车辆自编号
*/
private String nbbm;
/**
* 路牌名称
*/
@Column(name = "lp_name")
private String lpName;
/**
* 发车站点
*/
private String stationName;
/**
* 日期
*/
@Column(name = "rq")
private String rq;
/**
* 上下行
*/
private int upDown;
/**
* 计发时间
* HH:mm
*/
private String fcsj;
/**
* 待发时间
* HH:mm
*/
private String dfsj;
/**
* 实际发车时间
* HH:mm
*/
private String fcsjActual;
/**
* 计发快误点
*/
private int fcsjFast;
/**
* 计发慢误点
*/
private int fcsjSlow;
/**
* 待发快误点
*/
private int dfsjFast;
/**
* 待发慢误点
*/
private int dfsjSlow;
/**
* 计划终点时间
*/
private String zdsj;
/**
* 待发终点时间
*/
private String zdsjDf;
/**
* 实际终点时间
*/
private String zdsjActual;
/**
* 计发终点快误点
*/
private int zdsjFast;
/**
* 计发终点慢误点
*/
private int zdsjSlow;
/**
* 待发终点快误点
*/
private int zdsjDfFast;
/**
* 待发终点慢误点
*/
private int zdsjDfSlow;
@Column(name = "line_code")
private String lineCode;
private Long t;
public String getStationName() {
return stationName;
}
public void setStationName(String stationName) {
this.stationName = stationName;
}
public String getRq() {
return rq;
}
public void setRq(String rq) {
this.rq = rq;
}
public int getUpDown() {
return upDown;
}
public void setUpDown(int upDown) {
this.upDown = upDown;
}
public String getFcsj() {
return fcsj;
}
public void setFcsj(String fcsj) {
this.fcsj = fcsj;
}
public String getDfsj() {
return dfsj;
}
public void setDfsj(String dfsj) {
this.dfsj = dfsj;
}
public String getFcsjActual() {
return fcsjActual;
}
public void setFcsjActual(String fcsjActual) {
this.fcsjActual = fcsjActual;
}
public int getFcsjFast() {
return fcsjFast;
}
public void setFcsjFast(int fcsjFast) {
this.fcsjFast = fcsjFast;
}
public int getFcsjSlow() {
return fcsjSlow;
}
public void setFcsjSlow(int fcsjSlow) {
this.fcsjSlow = fcsjSlow;
}
public int getDfsjFast() {
return dfsjFast;
}
public void setDfsjFast(int dfsjFast) {
this.dfsjFast = dfsjFast;
}
public int getDfsjSlow() {
return dfsjSlow;
}
public void setDfsjSlow(int dfsjSlow) {
this.dfsjSlow = dfsjSlow;
}
public String getZdsj() {
return zdsj;
}
public void setZdsj(String zdsj) {
this.zdsj = zdsj;
}
public String getZdsjDf() {
return zdsjDf;
}
public void setZdsjDf(String zdsjDf) {
this.zdsjDf = zdsjDf;
}
public String getZdsjActual() {
return zdsjActual;
}
public void setZdsjActual(String zdsjActual) {
this.zdsjActual = zdsjActual;
}
public int getZdsjFast() {
return zdsjFast;
}
public void setZdsjFast(int zdsjFast) {
this.zdsjFast = zdsjFast;
}
public int getZdsjSlow() {
return zdsjSlow;
}
public void setZdsjSlow(int zdsjSlow) {
this.zdsjSlow = zdsjSlow;
}
public int getZdsjDfFast() {
return zdsjDfFast;
}
public void setZdsjDfFast(int zdsjDfFast) {
this.zdsjDfFast = zdsjDfFast;
}
public int getZdsjDfSlow() {
return zdsjDfSlow;
}
public void setZdsjDfSlow(int zdsjDfSlow) {
this.zdsjDfSlow = zdsjDfSlow;
}
public String getLineCode() {
return lineCode;
}
public void setLineCode(String lineCode) {
this.lineCode = lineCode;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getT() {
return t;
}
public void setT(Long t) {
this.t = t;
}
public boolean isSlow() {
return this.fcsjSlow>0 || this.dfsjSlow>0 || this.zdsjSlow>0 || this.zdsjDfSlow>0;
}
public boolean isFast() {
return this.fcsjFast>0 || this.dfsjFast>0 || this.zdsjFast>0 || this.zdsjDfFast>0;
}
public String getLpName() {
return lpName;
}
public void setLpName(String lpName) {
this.lpName = lpName;
}
public String getNbbm() {
return nbbm;
}
public void setNbbm(String nbbm) {
this.nbbm = nbbm;
}
public String getJsy() {
return jsy;
}
public void setJsy(String jsy) {
this.jsy = jsy;
}
}