package com.qianwen.smartman.modules.andon.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import javax.validation.constraints.Size; import com.qianwen.smartman.common.constant.ExcelConstant; @ApiModel(value = "AndonRecordReasonVo对象", description = "记录关联原因表") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/andon/vo/AndonRecordReasonVO.class */ public class AndonRecordReasonVO implements Serializable { @ApiModelProperty("安灯记录id") private Long recordId; @ApiModelProperty("安灯原因id") private Long reasonId; @ApiModelProperty("安灯原因编号") @Size(max = ExcelConstant.DEFAULT_DATA_SIZE, message = "安灯原因编号长度不能超过200") private String reasonCode; @ApiModelProperty("安灯原因名称") @Size(max = ExcelConstant.DEFAULT_DATA_SIZE, message = "安灯原因名称长度不能超过200") private String reasonName; @ApiModelProperty("主键") private Long id; public void setRecordId(final Long recordId) { this.recordId = recordId; } public void setReasonId(final Long reasonId) { this.reasonId = reasonId; } public void setReasonCode(final String reasonCode) { this.reasonCode = reasonCode; } public void setReasonName(final String reasonName) { this.reasonName = reasonName; } public void setId(final Long id) { this.id = id; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof AndonRecordReasonVO) { AndonRecordReasonVO other = (AndonRecordReasonVO) o; if (other.canEqual(this)) { Object this$recordId = getRecordId(); Object other$recordId = other.getRecordId(); if (this$recordId == null) { if (other$recordId != null) { return false; } } else if (!this$recordId.equals(other$recordId)) { return false; } Object this$reasonId = getReasonId(); Object other$reasonId = other.getReasonId(); if (this$reasonId == null) { if (other$reasonId != null) { return false; } } else if (!this$reasonId.equals(other$reasonId)) { return false; } Object this$id = getId(); Object other$id = other.getId(); if (this$id == null) { if (other$id != null) { return false; } } else if (!this$id.equals(other$id)) { return false; } Object this$reasonCode = getReasonCode(); Object other$reasonCode = other.getReasonCode(); if (this$reasonCode == null) { if (other$reasonCode != null) { return false; } } else if (!this$reasonCode.equals(other$reasonCode)) { return false; } Object this$reasonName = getReasonName(); Object other$reasonName = other.getReasonName(); return this$reasonName == null ? other$reasonName == null : this$reasonName.equals(other$reasonName); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof AndonRecordReasonVO; } public int hashCode() { Object $recordId = getRecordId(); int result = (1 * 59) + ($recordId == null ? 43 : $recordId.hashCode()); Object $reasonId = getReasonId(); int result2 = (result * 59) + ($reasonId == null ? 43 : $reasonId.hashCode()); Object $id = getId(); int result3 = (result2 * 59) + ($id == null ? 43 : $id.hashCode()); Object $reasonCode = getReasonCode(); int result4 = (result3 * 59) + ($reasonCode == null ? 43 : $reasonCode.hashCode()); Object $reasonName = getReasonName(); return (result4 * 59) + ($reasonName == null ? 43 : $reasonName.hashCode()); } public String toString() { return "AndonRecordReasonVO(recordId=" + getRecordId() + ", reasonId=" + getReasonId() + ", reasonCode=" + getReasonCode() + ", reasonName=" + getReasonName() + ", id=" + getId() + ")"; } public Long getRecordId() { return this.recordId; } public Long getReasonId() { return this.reasonId; } public String getReasonCode() { return this.reasonCode; } public String getReasonName() { return this.reasonName; } public Long getId() { return this.id; } }