package org.jeecg.modules.eam.model;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
|
@Data
|
public class MdcEquipmentRunningSectionVo {
|
|
/**
|
* 设备编号
|
*/
|
@Excel(name = "设备编号", width = 15)
|
@ApiModelProperty(value = "设备编号")
|
private String equipmentId;
|
|
/**
|
* 时长
|
*/
|
@Excel(name = "时长", width = 15)
|
@ApiModelProperty(value = "时长")
|
private Long duration;
|
/**
|
* 状态,0:关机,1:开机,2:待机,3:工作,22:报警
|
*/
|
@Excel(name = "状态,0:关机,1:开机,2:待机,3:工作,22:报警", width = 15)
|
@ApiModelProperty(value = "状态,0:关机,1:开机,2:待机,3:工作,22:报警")
|
private Integer status;
|
/**
|
* 程序号
|
*/
|
@Excel(name = "程序号", width = 15)
|
@ApiModelProperty(value = "程序号")
|
private String sequenceNumber;
|
/**
|
* beltLine
|
*/
|
@Excel(name = "beltLine", width = 15)
|
@ApiModelProperty(value = "beltLine")
|
private String beltLine;
|
/**
|
* 开始时间
|
*/
|
@Excel(name = "开始时间", width = 20, format = "yyyy-MM-dd")
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@ApiModelProperty(value = "开始时间")
|
private Date startTime;
|
/**
|
* 结束时间
|
*/
|
@Excel(name = "结束时间", width = 20, format = "yyyy-MM-dd")
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@ApiModelProperty(value = "结束时间")
|
private Date endTime;
|
/**
|
* 开始时间戳
|
*/
|
@Excel(name = "开始时间戳", width = 15)
|
@ApiModelProperty(value = "开始时间戳")
|
private Long startLong;
|
/**
|
* 结束时间戳
|
*/
|
@Excel(name = "结束时间戳", width = 15)
|
@ApiModelProperty(value = "结束时间戳")
|
private Long endLong;
|
|
}
|