package com.jcdm.main.em.equipmentAlarm.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.jcdm.common.annotation.Excel; import com.jcdm.common.core.domain.BaseEntity; /** * 设备报警对象 em_equipment_alarm * * @author ruimin * @date 2023-12-15 */ public class EmEquipmentAlarm extends BaseEntity { private static final long serialVersionUID = 1L; /** ID */ private Long id; /** 设备编号 */ @Excel(name = "设备编号") private String equipmentCode; /** 设备名称 */ @Excel(name = "设备名称") private String equipmentName; /** 设备类型 */ @Excel(name = "设备类型") private String equipmentType; /** 车间编号 */ @Excel(name = "车间编号") private String workshopCode; /** 产线编号 */ @Excel(name = "产线编号") private String lineCode; /** 工序编号 */ @Excel(name = "工序编号") private String processesCode; /** 故障代码 */ @Excel(name = "故障代码") private String errorNo; /** 故障描述 */ @Excel(name = "故障描述") private String errorDesc; /** 报警时间 */ @Excel(name = "报警时间") private String alarmTime; /** 是否恢复(0否1是) */ @Excel(name = "是否恢复(0否1是)") private String whetherRecovery; /** 恢复时间 */ @Excel(name = "恢复时间") private String recoveryTime; /** 预留字段1 */ private String spareField1; /** 预留字段2 */ private String spareField2; /** 预留字段3 */ private String spareField3; /** 预留字段4 */ private String spareField4; /** 备注 */ @Excel(name = "备注") private String remarks; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setEquipmentCode(String equipmentCode) { this.equipmentCode = equipmentCode; } public String getEquipmentCode() { return equipmentCode; } public void setEquipmentName(String equipmentName) { this.equipmentName = equipmentName; } public String getEquipmentName() { return equipmentName; } public void setEquipmentType(String equipmentType) { this.equipmentType = equipmentType; } public String getEquipmentType() { return equipmentType; } public void setWorkshopCode(String workshopCode) { this.workshopCode = workshopCode; } public String getWorkshopCode() { return workshopCode; } public void setLineCode(String lineCode) { this.lineCode = lineCode; } public String getLineCode() { return lineCode; } public void setProcessesCode(String processesCode) { this.processesCode = processesCode; } public String getProcessesCode() { return processesCode; } public void setErrorNo(String errorNo) { this.errorNo = errorNo; } public String getErrorNo() { return errorNo; } public void setErrorDesc(String errorDesc) { this.errorDesc = errorDesc; } public String getErrorDesc() { return errorDesc; } public void setAlarmTime(String alarmTime) { this.alarmTime = alarmTime; } public String getAlarmTime() { return alarmTime; } public void setWhetherRecovery(String whetherRecovery) { this.whetherRecovery = whetherRecovery; } public String getWhetherRecovery() { return whetherRecovery; } public void setRecoveryTime(String recoveryTime) { this.recoveryTime = recoveryTime; } public String getRecoveryTime() { return recoveryTime; } public void setSpareField1(String spareField1) { this.spareField1 = spareField1; } public String getSpareField1() { return spareField1; } public void setSpareField2(String spareField2) { this.spareField2 = spareField2; } public String getSpareField2() { return spareField2; } public void setSpareField3(String spareField3) { this.spareField3 = spareField3; } public String getSpareField3() { return spareField3; } public void setSpareField4(String spareField4) { this.spareField4 = spareField4; } public String getSpareField4() { return spareField4; } public void setRemarks(String remarks) { this.remarks = remarks; } public String getRemarks() { return remarks; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("equipmentCode", getEquipmentCode()) .append("equipmentName", getEquipmentName()) .append("equipmentType", getEquipmentType()) .append("workshopCode", getWorkshopCode()) .append("lineCode", getLineCode()) .append("processesCode", getProcessesCode()) .append("errorNo", getErrorNo()) .append("errorDesc", getErrorDesc()) .append("alarmTime", getAlarmTime()) .append("whetherRecovery", getWhetherRecovery()) .append("recoveryTime", getRecoveryTime()) .append("spareField1", getSpareField1()) .append("spareField2", getSpareField2()) .append("spareField3", getSpareField3()) .append("spareField4", getSpareField4()) .append("remarks", getRemarks()) .toString(); } }