/*
 * Decompiled with CFR 0.152.
 *
 * Could not load the following classes:
 *  org.jeecg.common.base.BaseMap
 */
package org.jeecg.boot.starter.rabbitmq.event;

import lombok.Getter;
import org.jeecg.common.base.BaseMap;

import java.io.Serializable;
import java.util.Objects;

@Getter
public class EventObj implements Serializable {
    private BaseMap baseMap;
    private String handlerName;

    public void setBaseMap(BaseMap baseMap) {
        this.baseMap = baseMap;
    }

    public void setHandlerName(String handlerName) {
        this.handlerName = handlerName;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof EventObj)) {
            return false;
        }
        EventObj other = (EventObj) o;
        if (!other.canEqual(this)) {
            return false;
        }
        BaseMap this$baseMap = this.getBaseMap();
        BaseMap other$baseMap = other.getBaseMap();
        if (!Objects.equals(this$baseMap, other$baseMap)) {
            return false;
        }
        String this$handlerName = this.getHandlerName();
        String other$handlerName = other.getHandlerName();
        return Objects.equals(this$handlerName, other$handlerName);
    }

    protected boolean canEqual(Object other) {
        return other instanceof EventObj;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        BaseMap $baseMap = this.getBaseMap();
        result = result * 59 + ($baseMap == null ? 43 : $baseMap.hashCode());
        String $handlerName = this.getHandlerName();
        result = result * 59 + ($handlerName == null ? 43 : $handlerName.hashCode());
        return result;
    }

    public String toString() {
        return "EventObj(baseMap=" + this.getBaseMap() + ", handlerName=" + this.getHandlerName() + ")";
    }
}