济菏高速数据中心代码
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.

345 lines
7.8 KiB

package com.zc.business.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
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 com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
* 事件信息对象 dc_event
*
* @author ruoyi
* @date 2024-01-12
*/
@ApiModel(value = "DcEvent", description = "事件信息实体")
public class DcEvent extends BaseEntity {
private static final long serialVersionUID = 1L;
/**
* 事件编号
*/
@ApiModelProperty("事件编号")
private String id;
/**
* 所属部门
*/
@ApiModelProperty("所属部门")
@Excel(name = "所属部门")
private Long deptId;
/**
* 所在桩号
*/
@ApiModelProperty("所在桩号")
private String stakeMark;
/**
* 方向
* 1-
* 2-
* 3-
*/
@ApiModelProperty("方向")
private String direction;
/**
* 处理人员
*/
@ApiModelProperty("处理人员")
private Long userId;
/**
* 开始时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty("开始时间")
private Date startTime;
/**
* 结束时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty("结束时间")
private Date endTime;
/**
* 预计解除时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty("预计解除时间")
private Date estimatedEndTime;
/**
* 事件等级
*/
@ApiModelProperty("事件等级")
private Long eventLevel;
/**
* 事件主类
* 1-交通事故
* 2-车辆故障
* 3-交通管制
* 4-交通拥堵
* 5-非法上路
* 6-路障清除
* 7-施工建设
* 8-服务区异常
* 9-设施设备隐患
* 10-异常天气
* 11-其他事件
*/
@ApiModelProperty("事件主类:1-交通事故 2-车辆故障 3-交通管制 4-交通拥堵 5-非法上路 6-路障清除 7-施工建设 8-服务区异常9-设施设备隐患 10-异常天气11-其他事件")
private Long eventType;
/**
* 事件子类
* 1-1 追尾
* 1-2 侧翻
* 1-3 撞护栏
* 1-4 自然
* 1-5 其他事故
* <p>
* 2-1 车辆故障
* <p>
* 3-1 主线封闭和限行
* 3-2 收费站封闭和限行
* 3-3 立交封闭和限行
* 3-4 服务区封闭和限行
*/
@ApiModelProperty("事件子类")
private String eventSubclass;
/**
* 事件原因
*/
@ApiModelProperty("事件原因")
@Excel(name = "事件原因")
private String eventCause;
/**
* 事件描述
*/
@ApiModelProperty("事件描述")
@Excel(name = "事件描述")
private String description;
/**
* 事件状态
* 0-待确认
* 1-已确认
* 2-处理中
* 3-已完成
* 4-已撤销
*/
@ApiModelProperty("事件状态")
private Long eventState;
/**
* 事件来源
* 1-96659
* 2-交警转接
* 3-道路巡查
* 4-视频巡查
* 5-视频AI
* 6-一键救援
* 7-其他
*/
@ApiModelProperty("事件来源")
private Long eventSource;
/**
* 事件性质
* 1-首发事件
* 2-关联事件
*/
@ApiModelProperty("事件性质")
private Long eventNature;
/**
* 事件来源补充说明
*/
@ApiModelProperty("事件来源补充说明")
private String eventSourceTips;
/**
* 是否处在隧道
*/
@ApiModelProperty("是否处在隧道")
private Integer inTunnel;
public void setId(String id) {
this.id = id;
}
public String getId() {
return id;
}
public void setDeptId(Long deptId) {
this.deptId = deptId;
}
public Long getDeptId() {
return deptId;
}
public void setStakeMark(String stakeMark) {
this.stakeMark = stakeMark;
}
public String getStakeMark() {
return stakeMark;
}
public void setDirection(String direction) {
this.direction = direction;
}
public String getDirection() {
return direction;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public Long getUserId() {
return userId;
}
public void setStartTime(Date startTime) {
this.startTime = startTime;
}
public Date getStartTime() {
return startTime;
}
public void setEndTime(Date endTime) {
this.endTime = endTime;
}
public Date getEndTime() {
return endTime;
}
public void setEstimatedEndTime(Date estimatedEndTime) {
this.estimatedEndTime = estimatedEndTime;
}
public Date getEstimatedEndTime() {
return estimatedEndTime;
}
public void setEventLevel(Long eventLevel) {
this.eventLevel = eventLevel;
}
public Long getEventLevel() {
return eventLevel;
}
public void setEventType(Long eventType) {
this.eventType = eventType;
}
public Long getEventType() {
return eventType;
}
public void setEventSubclass(String eventSubclass) {
this.eventSubclass = eventSubclass;
}
public String getEventSubclass() {
return eventSubclass;
}
public void setEventCause(String eventCause) {
this.eventCause = eventCause;
}
public String getEventCause() {
return eventCause;
}
public void setDescription(String description) {
this.description = description;
}
public String getDescription() {
return description;
}
public void setEventState(Long eventState) {
this.eventState = eventState;
}
public Long getEventState() {
return eventState;
}
public void setEventSource(Long eventSource) {
this.eventSource = eventSource;
}
public Long getEventSource() {
return eventSource;
}
public void setEventNature(Long eventNature) {
this.eventNature = eventNature;
}
public Long getEventNature() {
return eventNature;
}
public void setEventSourceTips(String eventSourceTips) {
this.eventSourceTips = eventSourceTips;
}
public String getEventSourceTips() {
return eventSourceTips;
}
public void setInTunnel(Integer inTunnel) {
this.inTunnel = inTunnel;
}
public Integer getInTunnel() {
return inTunnel;
}
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("deptId", getDeptId())
.append("stakeMark", getStakeMark())
.append("direction", getDirection())
.append("userId", getUserId())
.append("startTime", getStartTime())
.append("endTime", getEndTime())
.append("estimatedEndTime", getEstimatedEndTime())
.append("eventLevel", getEventLevel())
.append("eventType", getEventType())
.append("eventSubclass", getEventSubclass())
.append("eventCause", getEventCause())
.append("description", getDescription())
.append("eventState", getEventState())
.append("eventSource", getEventSource())
.append("eventNature", getEventNature())
.append("remark", getRemark())
.append("createTime", getCreateTime())
.append("updateTime", getUpdateTime())
.append("eventSourceTips", getEventSourceTips())
.append("inTunnel", getInTunnel())
.toString();
}
}