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.
98 lines
2.8 KiB
98 lines
2.8 KiB
package com.zc.business.domain;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
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_traffic_congestion
|
|
*
|
|
* @author ruoyi
|
|
* @date 2024-01-12
|
|
*/
|
|
@Data
|
|
@AllArgsConstructor
|
|
@NoArgsConstructor
|
|
@ApiModel("交通拥堵事件")
|
|
public class DcEventTrafficCongestion extends BaseEntity
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
@ApiModelProperty("事件编号")
|
|
/** 事件编号 */
|
|
private String id;
|
|
|
|
/** 拥堵里程(公里) */
|
|
@ApiModelProperty("拥堵里程(公里)")
|
|
private Float congestionMileage;
|
|
|
|
/** 最大拥堵里程(公里) */
|
|
@ApiModelProperty("最大拥堵里程(公里)")
|
|
private Float maxCongestionMileage;
|
|
|
|
|
|
/** 拥堵原因:
|
|
1-车流量大
|
|
2-交通事故
|
|
3-恶劣天气
|
|
4-施工
|
|
5-其他 */
|
|
@ApiModelProperty("拥堵原因:1-车流量大2-交通事故3-恶劣天气4-施工5-其他")
|
|
private Long congestionCause;
|
|
|
|
/** 字段名称对应:
|
|
立交拥堵->互通立交
|
|
收费站拥堵->拥堵收费站
|
|
服务器拥堵->服务区
|
|
|
|
*/
|
|
@ApiModelProperty("字段名称对应:立交拥堵->互通立交 收费站拥堵->拥堵收费站 服务器拥堵->服务区")
|
|
private Long facilityId;
|
|
|
|
/** 匝道(立交) */
|
|
@ApiModelProperty(" 匝道(立交)")
|
|
@Excel(name = "匝道", readConverterExp = "立=交")
|
|
private Long rampId;
|
|
|
|
/** 地点(收费站):
|
|
1-入口
|
|
2-出口
|
|
3-入口内广场
|
|
4--出口内广场
|
|
5-外广场
|
|
6-入口车道
|
|
7-出口车道
|
|
8-入口匝道
|
|
9-出口匝道 */
|
|
@ApiModelProperty("地点(收费站):1-入口 2-出口 3-入口内广场 4--出口内广场5-外广场6-入口车道7-出口车道8-入口匝道9-出口匝道 ")
|
|
private Long location;
|
|
|
|
@ApiModelProperty("详细原因")
|
|
private Integer detailedReasons;
|
|
|
|
@ApiModelProperty("地点类型")
|
|
private Integer locationType;
|
|
@ApiModelProperty("地点描述")
|
|
private String locationDescription;
|
|
|
|
|
|
@ApiModelProperty("事件信息实体")
|
|
//事件信息表
|
|
@TableField(exist = false)
|
|
private DcEvent dcEvent;
|
|
|
|
|
|
|
|
@ApiModelProperty("路网设施实体")
|
|
//事件信息表
|
|
@TableField(exist = false)
|
|
private DcFacility dcFacility;
|
|
}
|
|
|