package com.qianwen.smartman.modules.report.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.sql.Timestamp; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/report/vo/DrillWorkstationAlarmByShiftVO.class */ public class DrillWorkstationAlarmByShiftVO implements Serializable { private static final long serialVersionUID = -530938150418043787L; @ApiModelProperty("时间") private Timestamp ts; @ApiModelProperty("日") private Integer factoryDate; @ApiModelProperty("报警代码") private String alarmCode; @ApiModelProperty("报警信息") private String alarmMsg; @ApiModelProperty("工位ID") private Long workstationId; @ApiModelProperty("班次") private Integer shiftIndex; @ApiModelProperty("班次顺序名") private String shiftIndexName; @ApiModelProperty("班次名称") private String shiftName; public void setTs(final Timestamp ts) { this.ts = ts; } public void setFactoryDate(final Integer factoryDate) { this.factoryDate = factoryDate; } public void setAlarmCode(final String alarmCode) { this.alarmCode = alarmCode; } public void setAlarmMsg(final String alarmMsg) { this.alarmMsg = alarmMsg; } public void setWorkstationId(final Long workstationId) { this.workstationId = workstationId; } public void setShiftIndex(final Integer shiftIndex) { this.shiftIndex = shiftIndex; } public void setShiftIndexName(final String shiftIndexName) { this.shiftIndexName = shiftIndexName; } public void setShiftName(final String shiftName) { this.shiftName = shiftName; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof DrillWorkstationAlarmByShiftVO) { DrillWorkstationAlarmByShiftVO other = (DrillWorkstationAlarmByShiftVO) o; if (other.canEqual(this)) { Object this$factoryDate = getFactoryDate(); Object other$factoryDate = other.getFactoryDate(); if (this$factoryDate == null) { if (other$factoryDate != null) { return false; } } else if (!this$factoryDate.equals(other$factoryDate)) { return false; } Object this$workstationId = getWorkstationId(); Object other$workstationId = other.getWorkstationId(); if (this$workstationId == null) { if (other$workstationId != null) { return false; } } else if (!this$workstationId.equals(other$workstationId)) { return false; } Object this$shiftIndex = getShiftIndex(); Object other$shiftIndex = other.getShiftIndex(); if (this$shiftIndex == null) { if (other$shiftIndex != null) { return false; } } else if (!this$shiftIndex.equals(other$shiftIndex)) { return false; } Object this$ts = getTs(); Object other$ts = other.getTs(); if (this$ts == null) { if (other$ts != null) { return false; } } else if (!this$ts.equals(other$ts)) { return false; } Object this$alarmCode = getAlarmCode(); Object other$alarmCode = other.getAlarmCode(); if (this$alarmCode == null) { if (other$alarmCode != null) { return false; } } else if (!this$alarmCode.equals(other$alarmCode)) { return false; } Object this$alarmMsg = getAlarmMsg(); Object other$alarmMsg = other.getAlarmMsg(); if (this$alarmMsg == null) { if (other$alarmMsg != null) { return false; } } else if (!this$alarmMsg.equals(other$alarmMsg)) { return false; } Object this$shiftIndexName = getShiftIndexName(); Object other$shiftIndexName = other.getShiftIndexName(); if (this$shiftIndexName == null) { if (other$shiftIndexName != null) { return false; } } else if (!this$shiftIndexName.equals(other$shiftIndexName)) { return false; } Object this$shiftName = getShiftName(); Object other$shiftName = other.getShiftName(); return this$shiftName == null ? other$shiftName == null : this$shiftName.equals(other$shiftName); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof DrillWorkstationAlarmByShiftVO; } public int hashCode() { Object $factoryDate = getFactoryDate(); int result = (1 * 59) + ($factoryDate == null ? 43 : $factoryDate.hashCode()); Object $workstationId = getWorkstationId(); int result2 = (result * 59) + ($workstationId == null ? 43 : $workstationId.hashCode()); Object $shiftIndex = getShiftIndex(); int result3 = (result2 * 59) + ($shiftIndex == null ? 43 : $shiftIndex.hashCode()); Object $ts = getTs(); int result4 = (result3 * 59) + ($ts == null ? 43 : $ts.hashCode()); Object $alarmCode = getAlarmCode(); int result5 = (result4 * 59) + ($alarmCode == null ? 43 : $alarmCode.hashCode()); Object $alarmMsg = getAlarmMsg(); int result6 = (result5 * 59) + ($alarmMsg == null ? 43 : $alarmMsg.hashCode()); Object $shiftIndexName = getShiftIndexName(); int result7 = (result6 * 59) + ($shiftIndexName == null ? 43 : $shiftIndexName.hashCode()); Object $shiftName = getShiftName(); return (result7 * 59) + ($shiftName == null ? 43 : $shiftName.hashCode()); } public String toString() { return "DrillWorkstationAlarmByShiftVO(ts=" + getTs() + ", factoryDate=" + getFactoryDate() + ", alarmCode=" + getAlarmCode() + ", alarmMsg=" + getAlarmMsg() + ", workstationId=" + getWorkstationId() + ", shiftIndex=" + getShiftIndex() + ", shiftIndexName=" + getShiftIndexName() + ", shiftName=" + getShiftName() + ")"; } public Timestamp getTs() { return this.ts; } public Integer getFactoryDate() { return this.factoryDate; } public String getAlarmCode() { return this.alarmCode; } public String getAlarmMsg() { return this.alarmMsg; } public Long getWorkstationId() { return this.workstationId; } public Integer getShiftIndex() { return this.shiftIndex; } public String getShiftIndexName() { return this.shiftIndexName; } public String getShiftName() { return this.shiftName; } }