package com.zc.business.domain; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; 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_traffic_survey_data * * @author liuwenge * @date 2024-10-29 */ public class DcTrafficSurveyData extends BaseEntity { private static final long serialVersionUID = 1L; /** $column.columnComment */ private Long id; /** 物联设备主键 */ @Excel(name = "物联设备主键") private String iotDeviceId; /** 所在桩号 */ @Excel(name = "所在桩号") private String stakeMark; /** 方向1-上行,2-中,3-下行 */ @Excel(name = "方向1-上行,2-中,3-下行") private String direction; /** 采集时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd") private Date timestamp; /** 车流量 */ @Excel(name = "车流量") private Long trafficVolume; private String type; private String times; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setIotDeviceId(String iotDeviceId) { this.iotDeviceId = iotDeviceId; } public String getIotDeviceId() { return iotDeviceId; } 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 setTimestamp(Date timestamp) { this.timestamp = timestamp; } public Date getTimestamp() { return timestamp; } public void setTrafficVolume(Long trafficVolume) { this.trafficVolume = trafficVolume; } public Long getTrafficVolume() { return trafficVolume; } public String getType() { return type; } public void setType(String type) { this.type = type; } public String getTimes() { return times; } public void setTimes(String times) { this.times = times; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("iotDeviceId", getIotDeviceId()) .append("stakeMark", getStakeMark()) .append("direction", getDirection()) .append("timestamp", getTimestamp()) .append("trafficVolume", getTrafficVolume()) .toString(); } }