Browse Source

高速云事件实体类

develop
lau572 3 months ago
parent
commit
b241e5d33d
  1. 23
      zc-business/src/main/java/com/zc/business/domain/DcSdhsEvent.java

23
zc-business/src/main/java/com/zc/business/domain/DcSdhsEvent.java

@ -3,17 +3,20 @@ package com.zc.business.domain;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity; 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.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle; import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date; import java.util.Date;
/** /**
* 预警信息对象 dc_warning * 高速云事件对象 dc_sdhs_event
* *
* @author ruoyi * @author ruoyi
* @date 2024-01-13 * @date 2024-01-13
*/ */
@ApiModel(value = "DcSdhsEvent", description = "高速云事件对象")
public class DcSdhsEvent extends BaseEntity public class DcSdhsEvent extends BaseEntity
{ {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -22,66 +25,84 @@ public class DcSdhsEvent extends BaseEntity
private Long id; private Long id;
/** 所属路线 */ /** 所属路线 */
@ApiModelProperty(value = "所属路线")
@Excel(name = "所属路线") @Excel(name = "所属路线")
private String road; private String road;
/** 机构 */ /** 机构 */
@Excel(name = "机构") @Excel(name = "机构")
@ApiModelProperty(value = "机构")
private String dept; private String dept;
/** 事件类型 */ /** 事件类型 */
@Excel(name = "事件类型") @Excel(name = "事件类型")
@ApiModelProperty(value = "事件类型")
private String eventType; private String eventType;
/** 开始时间 */ /** 开始时间 */
@ApiModelProperty(value = "开始时间")
@Excel(name = "开始时间", dateFormat = "yyyy-MM-dd HH:mm:ss") @Excel(name = "开始时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
private Date startTime; private Date startTime;
/** 结束时间 */ /** 结束时间 */
@ApiModelProperty(value = "结束时间")
@Excel(name = "结束时间", dateFormat = "yyyy-MM-dd HH:mm:ss") @Excel(name = "结束时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
private Date endTime; private Date endTime;
/** 状态 */ /** 状态 */
@Excel(name = "状态") @Excel(name = "状态")
@ApiModelProperty(value = "状态")
private String status; private String status;
/** 事件来源 */ /** 事件来源 */
@Excel(name = "事件来源") @Excel(name = "事件来源")
@ApiModelProperty(value = "事件来源")
private String source; private String source;
/** 标题 */ /** 标题 */
@Excel(name = "标题") @Excel(name = "标题")
@ApiModelProperty(value = "标题")
private String title; private String title;
/** 详细类型 */ /** 详细类型 */
@Excel(name = "详细类型") @Excel(name = "详细类型")
@ApiModelProperty(value = "详细类型")
private String eventSubclass; private String eventSubclass;
/** 车辆类型 */ /** 车辆类型 */
@Excel(name = "车辆类型") @Excel(name = "车辆类型")
@ApiModelProperty(value = "车辆类型")
private String carType; private String carType;
/** 车辆数量 */ /** 车辆数量 */
@Excel(name = "车数量") @Excel(name = "车数量")
@ApiModelProperty(value = "车数量")
private String carNum; private String carNum;
/** 是否多车事故 */ /** 是否多车事故 */
@ApiModelProperty(value = "是否多车事故")
private String multiVehicle; private String multiVehicle;
/** 方向 */ /** 方向 */
@Excel(name = "方向") @Excel(name = "方向")
@ApiModelProperty(value = "方向")
private String direction; private String direction;
/** 桩号 */ /** 桩号 */
@Excel(name = "桩号") @Excel(name = "桩号")
@ApiModelProperty(value = "桩号")
private String stakeMark; private String stakeMark;
/** 天气 */ /** 天气 */
@Excel(name = "天气") @Excel(name = "天气")
@ApiModelProperty(value = "天气")
private String weather; private String weather;
/** 桩号里程 */ /** 桩号里程 */
@Excel(name = "桩号里程") @Excel(name = "桩号里程")
@ApiModelProperty(value = "桩号里程")
private Long mileage; private Long mileage;
public Long getId() { public Long getId() {

Loading…
Cancel
Save