package com.qianwen.smartman.modules.cps.dto; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/ProductCountDTO.class */ public class ProductCountDTO { private Long productId; private Integer count; public void setProductId(final Long productId) { this.productId = productId; } public void setCount(final Integer count) { this.count = count; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof ProductCountDTO) { ProductCountDTO other = (ProductCountDTO) o; if (other.canEqual(this)) { Object this$productId = getProductId(); Object other$productId = other.getProductId(); if (this$productId == null) { if (other$productId != null) { return false; } } else if (!this$productId.equals(other$productId)) { return false; } Object this$count = getCount(); Object other$count = other.getCount(); return this$count == null ? other$count == null : this$count.equals(other$count); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof ProductCountDTO; } public int hashCode() { Object $productId = getProductId(); int result = (1 * 59) + ($productId == null ? 43 : $productId.hashCode()); Object $count = getCount(); return (result * 59) + ($count == null ? 43 : $count.hashCode()); } public String toString() { return "ProductCountDTO(productId=" + getProductId() + ", count=" + getCount() + ")"; } public Long getProductId() { return this.productId; } public Integer getCount() { return this.count; } }