diff --git a/zc-business/src/main/java/com/zc/business/domain/DcSdhsEvent.java b/zc-business/src/main/java/com/zc/business/domain/DcSdhsEvent.java index 43f03e8b..9e726082 100644 --- a/zc-business/src/main/java/com/zc/business/domain/DcSdhsEvent.java +++ b/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.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_warning + * 高速云事件对象 dc_sdhs_event * * @author ruoyi * @date 2024-01-13 */ +@ApiModel(value = "DcSdhsEvent", description = "高速云事件对象") public class DcSdhsEvent extends BaseEntity { private static final long serialVersionUID = 1L; @@ -22,66 +25,84 @@ public class DcSdhsEvent extends BaseEntity 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() {