package com.qianwen.smartman.modules.report.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.sql.Timestamp; public class DrillWorkstationAlarmByTimeVO implements Serializable { private static final long serialVersionUID = -530938150418043787L; @ApiModelProperty("时间") private Timestamp ts; @ApiModelProperty("日") private Integer factoryDate; @ApiModelProperty("展示时间") private String showDate; @ApiModelProperty("报警代码") private String alarmCode; @ApiModelProperty("报警信息") private String alarmMsg; @ApiModelProperty("工位ID") private Long workstationId; public void setTs(final Timestamp ts) { this.ts = ts; } public void setFactoryDate(final Integer factoryDate) { this.factoryDate = factoryDate; } public void setShowDate(final String showDate) { this.showDate = showDate; } 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 boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof DrillWorkstationAlarmByTimeVO) { DrillWorkstationAlarmByTimeVO other = (DrillWorkstationAlarmByTimeVO) 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$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$showDate = getShowDate(); Object other$showDate = other.getShowDate(); if (this$showDate == null) { if (other$showDate != null) { return false; } } else if (!this$showDate.equals(other$showDate)) { 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(); return this$alarmMsg == null ? other$alarmMsg == null : this$alarmMsg.equals(other$alarmMsg); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof DrillWorkstationAlarmByTimeVO; } 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 $ts = getTs(); int result3 = (result2 * 59) + ($ts == null ? 43 : $ts.hashCode()); Object $showDate = getShowDate(); int result4 = (result3 * 59) + ($showDate == null ? 43 : $showDate.hashCode()); Object $alarmCode = getAlarmCode(); int result5 = (result4 * 59) + ($alarmCode == null ? 43 : $alarmCode.hashCode()); Object $alarmMsg = getAlarmMsg(); return (result5 * 59) + ($alarmMsg == null ? 43 : $alarmMsg.hashCode()); } public String toString() { return "DrillWorkstationAlarmByTimeVO(ts=" + getTs() + ", factoryDate=" + getFactoryDate() + ", showDate=" + getShowDate() + ", alarmCode=" + getAlarmCode() + ", alarmMsg=" + getAlarmMsg() + ", workstationId=" + getWorkstationId() + ")"; } public Timestamp getTs() { return this.ts; } public Integer getFactoryDate() { return this.factoryDate; } public String getShowDate() { return this.showDate; } public String getAlarmCode() { return this.alarmCode; } public String getAlarmMsg() { return this.alarmMsg; } public Long getWorkstationId() { return this.workstationId; } }