package org.jeecg.modules.eam.vo; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.experimental.Accessors; import org.jeecg.common.aspect.annotation.Dict; import org.jeecgframework.poi.excel.annotation.Excel; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.util.Date; /** * @author h1829 */ @Data public class RepairReportExportVo implements Serializable { @Excel(name = "单据号", width = 15,orderNum = "2") private String num; /**设备编码*/ @Excel(name = "统一编码", width = 15,orderNum = "3") private String equipmentNum; /**设备名称*/ @Excel(name = "设备名称", width = 15,orderNum = "4") private String equipmentName; /**设备型号*/ @Excel(name = "设备型号", width = 15,orderNum = "5") private String model; @Excel(name = "使用部门", width = 15,orderNum = "6",dicCode = "id",dictTable="sys_depart",dicText="depart_name") private String useId; @Excel(name = "关键设备标识", width = 15,orderNum = "0",dicCode = "specific_equipment") private String specificEquipment; @Excel(name = "状态", width = 15,orderNum = "1",dicCode = "equipment_report_repair_status") private String status; @Excel(name = "报修人", width = 15,orderNum = "7") private String errUda2; @Excel(name = "故障时间", width = 15,orderNum = "8",databaseFormat = "yyyy-MM-dd HH:mm:ss",exportFormat = "yyyy-MM-dd HH:mm:ss") private Date faultTime; @Excel(name = "故障描述", width = 15,orderNum = "9") private String faultDescription; @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "验收时间", width = 15,orderNum = "11",databaseFormat = "yyyy-MM-dd HH:mm:ss",exportFormat = "yyyy-MM-dd HH:mm:ss" ) private Date acceptTime; @Excel(name = "停机时长", width = 15,orderNum = "12") private String faultHour; @Excel(name = "是否停机维修", width = 15,orderNum = "13",dicCode = "is_stop") private String isStop; @Excel(name = "是否在加工零件", width = 15,orderNum = "14",dicCode = "is_product") private String errUda1; @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date faultStartTime; @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date faultEndTime; private String specification; @Excel(name = "制单人", width = 15,orderNum = "15") private String createBy; private String nums; }