yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
package com.qianwen.smartman.modules.notify.vo;
 
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/vo/BusinessNotifyStateData.class */
public class BusinessNotifyStateData {
    private String businessKey;
    private List<Long> businessIds = new ArrayList();
    private Map<Long, BusinessNotifyStateVO> itemVOMap = new HashMap();
 
    public void setBusinessKey(final String businessKey) {
        this.businessKey = businessKey;
    }
 
    public void setBusinessIds(final List<Long> businessIds) {
        this.businessIds = businessIds;
    }
 
    public void setItemVOMap(final Map<Long, BusinessNotifyStateVO> itemVOMap) {
        this.itemVOMap = itemVOMap;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof BusinessNotifyStateData) {
            BusinessNotifyStateData other = (BusinessNotifyStateData) o;
            if (other.canEqual(this)) {
                Object this$businessKey = getBusinessKey();
                Object other$businessKey = other.getBusinessKey();
                if (this$businessKey == null) {
                    if (other$businessKey != null) {
                        return false;
                    }
                } else if (!this$businessKey.equals(other$businessKey)) {
                    return false;
                }
                Object this$businessIds = getBusinessIds();
                Object other$businessIds = other.getBusinessIds();
                if (this$businessIds == null) {
                    if (other$businessIds != null) {
                        return false;
                    }
                } else if (!this$businessIds.equals(other$businessIds)) {
                    return false;
                }
                Object this$itemVOMap = getItemVOMap();
                Object other$itemVOMap = other.getItemVOMap();
                return this$itemVOMap == null ? other$itemVOMap == null : this$itemVOMap.equals(other$itemVOMap);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof BusinessNotifyStateData;
    }
 
    public int hashCode() {
        Object $businessKey = getBusinessKey();
        int result = (1 * 59) + ($businessKey == null ? 43 : $businessKey.hashCode());
        Object $businessIds = getBusinessIds();
        int result2 = (result * 59) + ($businessIds == null ? 43 : $businessIds.hashCode());
        Object $itemVOMap = getItemVOMap();
        return (result2 * 59) + ($itemVOMap == null ? 43 : $itemVOMap.hashCode());
    }
 
    public String toString() {
        return "BusinessNotifyStateData(businessKey=" + getBusinessKey() + ", businessIds=" + getBusinessIds() + ", itemVOMap=" + getItemVOMap() + ")";
    }
 
    public String getBusinessKey() {
        return this.businessKey;
    }
 
    public List<Long> getBusinessIds() {
        return this.businessIds;
    }
 
    public Map<Long, BusinessNotifyStateVO> getItemVOMap() {
        return this.itemVOMap;
    }
 
    public void put(Long businessId, BusinessNotifyStateVO vo) {
        this.itemVOMap.put(businessId, vo);
        this.businessIds.add(businessId);
    }
}