Lius
2024-11-07 81eae83295642387de38a97fdc5a35f485307587
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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;
}