package com.usky.sas.service.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(
        ignoreUnknown = true
)
public class SnapEventInfoResult {
    private SnapEventInfo eventInfo;

    public SnapEventInfoResult() {
    }

    public SnapEventInfo getEventInfo() {
        return this.eventInfo;
    }

    public SnapEventInfoResult setEventInfo(SnapEventInfo eventInfo) {
        this.eventInfo = eventInfo;
        return this;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof SnapEventInfoResult)) {
            return false;
        } else {
            SnapEventInfoResult other = (SnapEventInfoResult)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$eventInfo = this.getEventInfo();
                Object other$eventInfo = other.getEventInfo();
                if (this$eventInfo == null) {
                    if (other$eventInfo != null) {
                        return false;
                    }
                } else if (!this$eventInfo.equals(other$eventInfo)) {
                    return false;
                }

                return true;
            }
        }
    }

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

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $eventInfo = this.getEventInfo();
        result = result * 59 + ($eventInfo == null ? 43 : $eventInfo.hashCode());
        return result;
    }

    public String toString() {
        return "SnapEventInfoResult(eventInfo=" + this.getEventInfo() + ")";
    }
}
