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);
|
}
|
}
|