yangys
2024-03-28 23a939ed820ee32f9a4309f9c81b7bab5a566f30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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;
    }
}