package cn.stylefeng.guns.modular.em.equipmentAlarm.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.IdType; import java.util.Date; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableField; import java.io.Serializable; /** *

* 设备报警 *

* * @author cl * @since 2022-10-28 */ @TableName("em_equipment_alarm") public class EquipmentAlarm implements Serializable { private static final long serialVersionUID=1L; /** * ID */ @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 设备编号 */ @TableField("equipment_no") private String equipmentNo; /** * 设备名称 */ @TableField("equipment_name") private String equipmentName; /** * 车间编号 */ @TableField("workshop_code") private String workshopCode; /** * 产线编号 */ @TableField("production_line_code") private String productionLineCode; /** * 工位编号 */ @TableField("location_code") private String locationCode; /** * 故障代码 */ @TableField("error_no") private String errorNo; /** * 故障描述 */ @TableField("error_desc") private String errorDesc; /** * 报警时间 */ @TableField("alarm_time") private Date alarmTime; /** * 是否恢复(0否1是) */ @TableField("whether_recovery") private String whetherRecovery; /** * 恢复时间 */ @TableField("recovery_time") private Date recoveryTime; /** * 预留字段1 */ @TableField("spare_field_1") private String spareField1; /** * 预留字段2 */ @TableField("spare_field_2") private String spareField2; /** * 备注 */ @TableField("remarks") private String remarks; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getEquipmentNo() { return equipmentNo; } public void setEquipmentNo(String equipmentNo) { this.equipmentNo = equipmentNo; } public String getEquipmentName() { return equipmentName; } public void setEquipmentName(String equipmentName) { this.equipmentName = equipmentName; } public String getWorkshopCode() { return workshopCode; } public void setWorkshopCode(String workshopCode) { this.workshopCode = workshopCode; } public String getProductionLineCode() { return productionLineCode; } public void setProductionLineCode(String productionLineCode) { this.productionLineCode = productionLineCode; } public String getLocationCode() { return locationCode; } public void setLocationCode(String locationCode) { this.locationCode = locationCode; } public String getErrorNo() { return errorNo; } public void setErrorNo(String errorNo) { this.errorNo = errorNo; } public String getErrorDesc() { return errorDesc; } public void setErrorDesc(String errorDesc) { this.errorDesc = errorDesc; } public Date getAlarmTime() { return alarmTime; } public void setAlarmTime(Date alarmTime) { this.alarmTime = alarmTime; } public String getWhetherRecovery() { return whetherRecovery; } public void setWhetherRecovery(String whetherRecovery) { this.whetherRecovery = whetherRecovery; } public Date getRecoveryTime() { return recoveryTime; } public void setRecoveryTime(Date recoveryTime) { this.recoveryTime = recoveryTime; } public String getSpareField1() { return spareField1; } public void setSpareField1(String spareField1) { this.spareField1 = spareField1; } public String getSpareField2() { return spareField2; } public void setSpareField2(String spareField2) { this.spareField2 = spareField2; } public String getRemarks() { return remarks; } public void setRemarks(String remarks) { this.remarks = remarks; } @Override public String toString() { return "EquipmentAlarm{" + "id=" + id + ", equipmentNo=" + equipmentNo + ", equipmentName=" + equipmentName + ", workshopCode=" + workshopCode + ", productionLineCode=" + productionLineCode + ", locationCode=" + locationCode + ", errorNo=" + errorNo + ", errorDesc=" + errorDesc + ", alarmTime=" + alarmTime + ", whetherRecovery=" + whetherRecovery + ", recoveryTime=" + recoveryTime + ", spareField1=" + spareField1 + ", spareField2=" + spareField2 + ", remarks=" + remarks + "}"; } }