package com.jcdm.main.em.equipmentStatus.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_status * * @author ruimin * @date 2023-12-27 */ public class EmEquipmentStatus extends BaseEntity { private static final long serialVersionUID = 1L; /** ID */ private Long id; /** 设备编号 */ @Excel(name = "设备编号") private String equipmentNo; /** 设备名称 */ @Excel(name = "设备名称") private String equipmentName; /** 车间编号 */ @Excel(name = "车间编号") private String workshopCode; /** 产线编号 */ @Excel(name = "产线编号") private String productionLineCode; /** 工序编号 */ @Excel(name = "工序编号") private String processesCode; /** 设备状态(1运转2待机3故障) */ @Excel(name = "设备状态(1运转2待机3故障)") private String eqStatus; /** 预留字段1 */ private String spareField1; /** 预留字段2 */ private String spareField2; /** 备注 */ @Excel(name = "备注") private String remarks; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setEquipmentNo(String equipmentNo) { this.equipmentNo = equipmentNo; } public String getEquipmentNo() { return equipmentNo; } public void setEquipmentName(String equipmentName) { this.equipmentName = equipmentName; } public String getEquipmentName() { return equipmentName; } public void setWorkshopCode(String workshopCode) { this.workshopCode = workshopCode; } public String getWorkshopCode() { return workshopCode; } public void setProductionLineCode(String productionLineCode) { this.productionLineCode = productionLineCode; } public String getProductionLineCode() { return productionLineCode; } public void setProcessesCode(String processesCode) { this.processesCode = processesCode; } public String getProcessesCode() { return processesCode; } public void setEqStatus(String eqStatus) { this.eqStatus = eqStatus; } public String getEqStatus() { return eqStatus; } 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 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("equipmentNo", getEquipmentNo()) .append("equipmentName", getEquipmentName()) .append("workshopCode", getWorkshopCode()) .append("productionLineCode", getProductionLineCode()) .append("processesCode", getProcessesCode()) .append("eqStatus", getEqStatus()) .append("spareField1", getSpareField1()) .append("spareField2", getSpareField2()) .append("remarks", getRemarks()) .append("updateTime", getUpdateTime()) .toString(); } }