Commit 93d3c28f920b43844b39002097699d6b4f7c21b7
1 parent
62704a44
大间隔实体类
Showing
1 changed file
with
289 additions
and
0 deletions
src/main/java/com/bsth/data/adjg/domain/LargeGap.java
0 → 100644
| 1 | +package com.bsth.data.adjg.domain; | |
| 2 | + | |
| 3 | + | |
| 4 | +import org.apache.commons.lang3.builder.ToStringBuilder; | |
| 5 | +import org.apache.commons.lang3.builder.ToStringStyle; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * 大间隔对象 t_large_gap | |
| 9 | + * | |
| 10 | + * @author bsth | |
| 11 | + * @date 2020-07-02 | |
| 12 | + */ | |
| 13 | +public class LargeGap extends BaseEntity | |
| 14 | +{ | |
| 15 | + private static final long serialVersionUID = 1L; | |
| 16 | + | |
| 17 | + /** id */ | |
| 18 | + private Long id; | |
| 19 | + | |
| 20 | + /** 日期 yyyyMMdd */ | |
| 21 | + private String dateStr; | |
| 22 | + | |
| 23 | + /** 公司 */ | |
| 24 | + private String company; | |
| 25 | + | |
| 26 | + /** 线路名称 */ | |
| 27 | + private String lineName; | |
| 28 | + | |
| 29 | + /** 线路编码 */ | |
| 30 | + private String lineCode; | |
| 31 | + | |
| 32 | + /** 上下行 0上行 1下行 */ | |
| 33 | + private Integer upDown; | |
| 34 | + | |
| 35 | + /** 车辆编号 */ | |
| 36 | + private String nbbm; | |
| 37 | + | |
| 38 | + /** 当前车所在站点 */ | |
| 39 | + private String stationName; | |
| 40 | + | |
| 41 | + /** 均速 */ | |
| 42 | + private Integer avgSpeed; | |
| 43 | + | |
| 44 | + /** 发车时间 */ | |
| 45 | + private String bcfcsj; | |
| 46 | + | |
| 47 | + /** 时间戳 */ | |
| 48 | + private Long tsTime; | |
| 49 | + | |
| 50 | + /** 前车编号 */ | |
| 51 | + private String beforeNbbm; | |
| 52 | + | |
| 53 | + /** 前车所在站点 */ | |
| 54 | + private String beforeStationName; | |
| 55 | + | |
| 56 | + /** 前车均速 */ | |
| 57 | + private Integer beforeAvgSpeed; | |
| 58 | + | |
| 59 | + /** 前车发车时间 */ | |
| 60 | + private String beforeBcfcsj; | |
| 61 | + | |
| 62 | + /** 历史均速 */ | |
| 63 | + private Integer historySpeed; | |
| 64 | + | |
| 65 | + /** 可能原因类别:0发车间隔大、1可能前车快、2可能后车慢、3后无来车、4至终点无车、未知 */ | |
| 66 | + private Integer lGType; | |
| 67 | + | |
| 68 | + /** 受影响站点 */ | |
| 69 | + private String regionStopid; | |
| 70 | + | |
| 71 | + /** 大间隔分钟数阀值 */ | |
| 72 | + private Integer largeGapConfigMinute; | |
| 73 | + | |
| 74 | + /** 当前间隔分钟数 */ | |
| 75 | + private Integer intervalMinute; | |
| 76 | + | |
| 77 | + public void setId(Long id) | |
| 78 | + { | |
| 79 | + this.id = id; | |
| 80 | + } | |
| 81 | + | |
| 82 | + public Long getId() | |
| 83 | + { | |
| 84 | + return id; | |
| 85 | + } | |
| 86 | + public void setDateStr(String dateStr) | |
| 87 | + { | |
| 88 | + this.dateStr = dateStr; | |
| 89 | + } | |
| 90 | + | |
| 91 | + public String getDateStr() | |
| 92 | + { | |
| 93 | + return dateStr; | |
| 94 | + } | |
| 95 | + public void setCompany(String company) | |
| 96 | + { | |
| 97 | + this.company = company; | |
| 98 | + } | |
| 99 | + | |
| 100 | + public String getCompany() | |
| 101 | + { | |
| 102 | + return company; | |
| 103 | + } | |
| 104 | + public void setLineName(String lineName) | |
| 105 | + { | |
| 106 | + this.lineName = lineName; | |
| 107 | + } | |
| 108 | + | |
| 109 | + public String getLineName() | |
| 110 | + { | |
| 111 | + return lineName; | |
| 112 | + } | |
| 113 | + public void setLineCode(String lineCode) | |
| 114 | + { | |
| 115 | + this.lineCode = lineCode; | |
| 116 | + } | |
| 117 | + | |
| 118 | + public String getLineCode() | |
| 119 | + { | |
| 120 | + return lineCode; | |
| 121 | + } | |
| 122 | + public void setUpDown(Integer upDown) | |
| 123 | + { | |
| 124 | + this.upDown = upDown; | |
| 125 | + } | |
| 126 | + | |
| 127 | + public Integer getUpDown() | |
| 128 | + { | |
| 129 | + return upDown; | |
| 130 | + } | |
| 131 | + public void setNbbm(String nbbm) | |
| 132 | + { | |
| 133 | + this.nbbm = nbbm; | |
| 134 | + } | |
| 135 | + | |
| 136 | + public String getNbbm() | |
| 137 | + { | |
| 138 | + return nbbm; | |
| 139 | + } | |
| 140 | + public void setStationName(String stationName) | |
| 141 | + { | |
| 142 | + this.stationName = stationName; | |
| 143 | + } | |
| 144 | + | |
| 145 | + public String getStationName() | |
| 146 | + { | |
| 147 | + return stationName; | |
| 148 | + } | |
| 149 | + public void setAvgSpeed(Integer avgSpeed) | |
| 150 | + { | |
| 151 | + this.avgSpeed = avgSpeed; | |
| 152 | + } | |
| 153 | + | |
| 154 | + public Integer getAvgSpeed() | |
| 155 | + { | |
| 156 | + return avgSpeed; | |
| 157 | + } | |
| 158 | + public void setBcfcsj(String bcfcsj) | |
| 159 | + { | |
| 160 | + this.bcfcsj = bcfcsj; | |
| 161 | + } | |
| 162 | + | |
| 163 | + public String getBcfcsj() | |
| 164 | + { | |
| 165 | + return bcfcsj; | |
| 166 | + } | |
| 167 | + public void setTsTime(Long tsTime) | |
| 168 | + { | |
| 169 | + this.tsTime = tsTime; | |
| 170 | + } | |
| 171 | + | |
| 172 | + public Long getTsTime() | |
| 173 | + { | |
| 174 | + return tsTime; | |
| 175 | + } | |
| 176 | + public void setBeforeNbbm(String beforeNbbm) | |
| 177 | + { | |
| 178 | + this.beforeNbbm = beforeNbbm; | |
| 179 | + } | |
| 180 | + | |
| 181 | + public String getBeforeNbbm() | |
| 182 | + { | |
| 183 | + return beforeNbbm; | |
| 184 | + } | |
| 185 | + public void setBeforeStationName(String beforeStationName) | |
| 186 | + { | |
| 187 | + this.beforeStationName = beforeStationName; | |
| 188 | + } | |
| 189 | + | |
| 190 | + public String getBeforeStationName() | |
| 191 | + { | |
| 192 | + return beforeStationName; | |
| 193 | + } | |
| 194 | + public void setBeforeAvgSpeed(Integer beforeAvgSpeed) | |
| 195 | + { | |
| 196 | + this.beforeAvgSpeed = beforeAvgSpeed; | |
| 197 | + } | |
| 198 | + | |
| 199 | + public Integer getBeforeAvgSpeed() | |
| 200 | + { | |
| 201 | + return beforeAvgSpeed; | |
| 202 | + } | |
| 203 | + public void setBeforeBcfcsj(String beforeBcfcsj) | |
| 204 | + { | |
| 205 | + this.beforeBcfcsj = beforeBcfcsj; | |
| 206 | + } | |
| 207 | + | |
| 208 | + public String getBeforeBcfcsj() | |
| 209 | + { | |
| 210 | + return beforeBcfcsj; | |
| 211 | + } | |
| 212 | + public void setHistorySpeed(Integer historySpeed) | |
| 213 | + { | |
| 214 | + this.historySpeed = historySpeed; | |
| 215 | + } | |
| 216 | + | |
| 217 | + public Integer getHistorySpeed() | |
| 218 | + { | |
| 219 | + return historySpeed; | |
| 220 | + } | |
| 221 | + public void setlGType(Integer lGType) | |
| 222 | + { | |
| 223 | + this.lGType = lGType; | |
| 224 | + } | |
| 225 | + | |
| 226 | + public Integer getlGType() | |
| 227 | + { | |
| 228 | + return lGType; | |
| 229 | + } | |
| 230 | + public void setRegionStopid(String regionStopid) | |
| 231 | + { | |
| 232 | + this.regionStopid = regionStopid; | |
| 233 | + } | |
| 234 | + | |
| 235 | + public String getRegionStopid() | |
| 236 | + { | |
| 237 | + return regionStopid; | |
| 238 | + } | |
| 239 | + public void setLargeGapConfigMinute(Integer largeGapConfigMinute) | |
| 240 | + { | |
| 241 | + this.largeGapConfigMinute = largeGapConfigMinute; | |
| 242 | + } | |
| 243 | + | |
| 244 | + public Integer getLargeGapConfigMinute() | |
| 245 | + { | |
| 246 | + return largeGapConfigMinute; | |
| 247 | + } | |
| 248 | + public void setIntervalMinute(Integer intervalMinute) | |
| 249 | + { | |
| 250 | + this.intervalMinute = intervalMinute; | |
| 251 | + } | |
| 252 | + | |
| 253 | + public Integer getIntervalMinute() | |
| 254 | + { | |
| 255 | + return intervalMinute; | |
| 256 | + } | |
| 257 | + | |
| 258 | + | |
| 259 | + @Override | |
| 260 | + public String toString() { | |
| 261 | + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |
| 262 | + .append("id", getId()) | |
| 263 | + .append("dateStr", getDateStr()) | |
| 264 | + .append("company", getCompany()) | |
| 265 | + .append("lineName", getLineName()) | |
| 266 | + .append("lineCode", getLineCode()) | |
| 267 | + .append("upDown", getUpDown()) | |
| 268 | + .append("nbbm", getNbbm()) | |
| 269 | + .append("stationName", getStationName()) | |
| 270 | + .append("avgSpeed", getAvgSpeed()) | |
| 271 | + .append("bcfcsj", getBcfcsj()) | |
| 272 | + .append("tsTime", getTsTime()) | |
| 273 | + .append("beforeNbbm", getBeforeNbbm()) | |
| 274 | + .append("beforeStationName", getBeforeStationName()) | |
| 275 | + .append("beforeAvgSpeed", getBeforeAvgSpeed()) | |
| 276 | + .append("beforeBcfcsj", getBeforeBcfcsj()) | |
| 277 | + .append("historySpeed", getHistorySpeed()) | |
| 278 | + .append("lGType", getlGType()) | |
| 279 | + .append("regionStopid", getRegionStopid()) | |
| 280 | + .append("largeGapConfigMinute", getLargeGapConfigMinute()) | |
| 281 | + .append("intervalMinute", getIntervalMinute()) | |
| 282 | + .append("createBy", getCreateBy()) | |
| 283 | + .append("createTime", getCreateTime()) | |
| 284 | + .append("updateBy", getUpdateBy()) | |
| 285 | + .append("updateTime", getUpdateTime()) | |
| 286 | + .append("remark", getRemark()) | |
| 287 | + .toString(); | |
| 288 | + } | |
| 289 | +} | ... | ... |