package org.jeecg.modules.mdc.dto; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import org.jeecgframework.poi.excel.annotation.Excel; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; /** * @author Lius * @date 2024/7/15 13:54 */ @Data public class EquipmentAlarmDto { @Excel(name = "设备编号", width = 15) private String equipmentId; @Excel(name = "设备名称", width = 20) private String equipmentName; @Excel(name = "日期", width = 20, format = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date collecttime; @Excel(name = "报警编号", width = 30) private String alarmNo; @Excel(name = "报警描述", width = 50) private String alarmContent; private String driveType; }