VehicleInoutStop.java
1.83 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
package com.bsth.entity.traffic;
import com.bsth.entity.Cars;
import com.bsth.entity.Line;
import javax.persistence.*;
import java.util.Date;
/**
*
* @ClassName: VehicleInoutStop(车载上报停靠站信息)
*
* @Description: TODO(线路标准信息)
*
* @Author bsth@zq
*
* @Date 2017-9-18 9:34:39
*
* @Version 公交调度系统BS版 0.1
*
*/
@Entity
@Table(name = "bsth_c_shreal")
public class VehicleInoutStop {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
@ManyToOne
private Line line;
@ManyToOne
private Cars cars;
// 站点序号
private Integer stop;
// 营运状态
private Integer serviceState;
// 上下行
private Integer upDown;
// 进出站/站内外
private Integer inOutStop;
// 上报时间
private long reportDate;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Line getLine() {
return line;
}
public void setLine(Line line) {
this.line = line;
}
public Cars getCars() {
return cars;
}
public void setCars(Cars cars) {
this.cars = cars;
}
public Integer getStop() {
return stop;
}
public void setStop(Integer stop) {
this.stop = stop;
}
public Integer getServiceState() {
return serviceState;
}
public void setServiceState(Integer serviceState) {
this.serviceState = serviceState;
}
public Integer getUpDown() {
return upDown;
}
public void setUpDown(Integer upDown) {
this.upDown = upDown;
}
public Integer getInOutStop() {
return inOutStop;
}
public void setInOutStop(Integer inOutStop) {
this.inOutStop = inOutStop;
}
public long getReportDate() { return reportDate; }
public void setReportDate(long reportDate) { this.reportDate = reportDate; }
}