package com.qianwen.smartman.modules.cps.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/TrayEasyVO.class */ public class TrayEasyVO implements Serializable { private static final long serialVersionUID = -4455024214141544330L; @ApiModelProperty(value = "主键id", dataType = "java.lang.String") private Long id; @ApiModelProperty("托盘编号") private String code; @ApiModelProperty("托盘名称") private String name; @ApiModelProperty("托盘状态 1 - 空载 0 - 负载") private Integer trayStatus; @ApiModelProperty("可用状态 1-激活 0-冻结") private Integer availability; public void setId(final Long id) { this.id = id; } public void setCode(final String code) { this.code = code; } public void setName(final String name) { this.name = name; } public void setTrayStatus(final Integer trayStatus) { this.trayStatus = trayStatus; } public void setAvailability(final Integer availability) { this.availability = availability; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof TrayEasyVO) { TrayEasyVO other = (TrayEasyVO) o; if (other.canEqual(this)) { 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$trayStatus = getTrayStatus(); Object other$trayStatus = other.getTrayStatus(); if (this$trayStatus == null) { if (other$trayStatus != null) { return false; } } else if (!this$trayStatus.equals(other$trayStatus)) { return false; } Object this$availability = getAvailability(); Object other$availability = other.getAvailability(); if (this$availability == null) { if (other$availability != null) { return false; } } else if (!this$availability.equals(other$availability)) { return false; } Object this$code = getCode(); Object other$code = other.getCode(); if (this$code == null) { if (other$code != null) { return false; } } else if (!this$code.equals(other$code)) { return false; } Object this$name = getName(); Object other$name = other.getName(); return this$name == null ? other$name == null : this$name.equals(other$name); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof TrayEasyVO; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $trayStatus = getTrayStatus(); int result2 = (result * 59) + ($trayStatus == null ? 43 : $trayStatus.hashCode()); Object $availability = getAvailability(); int result3 = (result2 * 59) + ($availability == null ? 43 : $availability.hashCode()); Object $code = getCode(); int result4 = (result3 * 59) + ($code == null ? 43 : $code.hashCode()); Object $name = getName(); return (result4 * 59) + ($name == null ? 43 : $name.hashCode()); } public String toString() { return "TrayEasyVO(id=" + getId() + ", code=" + getCode() + ", name=" + getName() + ", trayStatus=" + getTrayStatus() + ", availability=" + getAvailability() + ")"; } public Long getId() { return this.id; } public String getCode() { return this.code; } public String getName() { return this.name; } public Integer getTrayStatus() { return this.trayStatus; } public Integer getAvailability() { return this.availability; } }