济菏高速数据中心代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

266 lines
6.1 KiB

package com.zc.business.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
/**
* 高速云事件对象 dc_sdhs_event
*
* @author ruoyi
* @date 2024-01-13
*/
@ApiModel(value = "DcSdhsEvent", description = "高速云事件对象")
public class DcSdhsEvent extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 预警编号 */
private Long id;
/** 所属路线 */
@ApiModelProperty(value = "所属路线")
@Excel(name = "所属路线")
private String road;
/** 机构 */
@Excel(name = "机构")
@ApiModelProperty(value = "机构")
private String dept;
/** 事件类型 */
@Excel(name = "事件类型")
@ApiModelProperty(value = "事件类型")
private String eventType;
/** 开始时间 */
@ApiModelProperty(value = "开始时间")
@Excel(name = "开始时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
private Date startTime;
/** 结束时间 */
@ApiModelProperty(value = "结束时间")
@Excel(name = "结束时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
private Date endTime;
/** 状态 */
@Excel(name = "状态")
@ApiModelProperty(value = "状态")
private String status;
/** 事件来源 */
@Excel(name = "事件来源")
@ApiModelProperty(value = "事件来源")
private String source;
/** 标题 */
@Excel(name = "标题")
@ApiModelProperty(value = "标题")
private String title;
/** 详细类型 */
@Excel(name = "详细类型")
@ApiModelProperty(value = "详细类型")
private String eventSubclass;
/** 车辆类型 */
@Excel(name = "车辆类型")
@ApiModelProperty(value = "车辆类型")
private String carType;
/** 车辆数量 */
@Excel(name = "车数量")
@ApiModelProperty(value = "车数量")
private String carNum;
/** 是否多车事故 */
@ApiModelProperty(value = "是否多车事故")
private String multiVehicle;
/** 方向 */
@Excel(name = "方向")
@ApiModelProperty(value = "方向")
private String direction;
/** 桩号 */
@Excel(name = "桩号")
@ApiModelProperty(value = "桩号")
private String stakeMark;
/** 天气 */
@Excel(name = "天气")
@ApiModelProperty(value = "天气")
private String weather;
/** 桩号里程 */
@Excel(name = "桩号里程")
@ApiModelProperty(value = "桩号里程")
private Long mileage;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getRoad() {
return road;
}
public void setRoad(String road) {
this.road = road;
}
public String getDept() {
return dept;
}
public void setDept(String dept) {
this.dept = dept;
}
public String getEventType() {
return eventType;
}
public void setEventType(String eventType) {
this.eventType = eventType;
}
public Date getStartTime() {
return startTime;
}
public void setStartTime(Date startTime) {
this.startTime = startTime;
}
public Date getEndTime() {
return endTime;
}
public void setEndTime(Date endTime) {
this.endTime = endTime;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getSource() {
return source;
}
public void setSource(String source) {
this.source = source;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getEventSubclass() {
return eventSubclass;
}
public void setEventSubclass(String eventSubclass) {
this.eventSubclass = eventSubclass;
}
public String getCarType() {
return carType;
}
public void setCarType(String carType) {
this.carType = carType;
}
public String getCarNum() {
return carNum;
}
public void setCarNum(String carNum) {
this.carNum = carNum;
}
public String getMultiVehicle() {
return multiVehicle;
}
public void setMultiVehicle(String multiVehicle) {
this.multiVehicle = multiVehicle;
}
public String getDirection() {
return direction;
}
public void setDirection(String direction) {
this.direction = direction;
}
public String getStakeMark() {
return stakeMark;
}
public void setStakeMark(String stakeMark) {
this.stakeMark = stakeMark;
}
public String getWeather() {
return weather;
}
public void setWeather(String weather) {
this.weather = weather;
}
public Long getMileage() {
return mileage;
}
public void setMileage(Long mileage) {
this.mileage = mileage;
}
@Override
public String toString() {
return new ToStringBuilder(this)
.append("id", id)
.append("road", road)
.append("dept", dept)
.append("eventType", eventType)
.append("startTime", startTime)
.append("endTime", endTime)
.append("status", status)
.append("source", source)
.append("title", title)
.append("eventSubclass", eventSubclass)
.append("carType", carType)
.append("carNum", carNum)
.append("multiVehicle", multiVehicle)
.append("direction", direction)
.append("stakeMark", stakeMark)
.append("weather", weather)
.toString();
}
}