package com.qianwen.smartman.modules.smis.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.List; public class DeviceCheckSubmitVO implements Serializable { private static final long serialVersionUID = -8404971522000084627L; @ApiModelProperty(name = "设备类型", dataType = "java.lang.String") private Long deviceTypeId; @ApiModelProperty(name = "点检项目Id") private List checkProjectId; @ApiModelProperty("点检周期") private Integer intervalTime; public void setDeviceTypeId(final Long deviceTypeId) { this.deviceTypeId = deviceTypeId; } public void setCheckProjectId(final List checkProjectId) { this.checkProjectId = checkProjectId; } public void setIntervalTime(final Integer intervalTime) { this.intervalTime = intervalTime; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof DeviceCheckSubmitVO) { DeviceCheckSubmitVO other = (DeviceCheckSubmitVO) o; if (other.canEqual(this)) { Object this$deviceTypeId = getDeviceTypeId(); Object other$deviceTypeId = other.getDeviceTypeId(); if (this$deviceTypeId == null) { if (other$deviceTypeId != null) { return false; } } else if (!this$deviceTypeId.equals(other$deviceTypeId)) { return false; } Object this$intervalTime = getIntervalTime(); Object other$intervalTime = other.getIntervalTime(); if (this$intervalTime == null) { if (other$intervalTime != null) { return false; } } else if (!this$intervalTime.equals(other$intervalTime)) { return false; } Object this$checkProjectId = getCheckProjectId(); Object other$checkProjectId = other.getCheckProjectId(); return this$checkProjectId == null ? other$checkProjectId == null : this$checkProjectId.equals(other$checkProjectId); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof DeviceCheckSubmitVO; } public int hashCode() { Object $deviceTypeId = getDeviceTypeId(); int result = (1 * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode()); Object $intervalTime = getIntervalTime(); int result2 = (result * 59) + ($intervalTime == null ? 43 : $intervalTime.hashCode()); Object $checkProjectId = getCheckProjectId(); return (result2 * 59) + ($checkProjectId == null ? 43 : $checkProjectId.hashCode()); } public String toString() { return "DeviceCheckSubmitVO(deviceTypeId=" + getDeviceTypeId() + ", checkProjectId=" + getCheckProjectId() + ", intervalTime=" + getIntervalTime() + ")"; } public Long getDeviceTypeId() { return this.deviceTypeId; } public List getCheckProjectId() { return this.checkProjectId; } public Integer getIntervalTime() { return this.intervalTime; } }