@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof Event)) return false;

        Event event = (Event) o;

        if (id != event.id) return false;
        if (!address.equals(event.address)) return false;
        if (!date.equals(event.date)) return false;
        if (description != null ? !description.equals(event.description) : event.description != null) return false;
        if (!name.equals(event.name)) return false;
        if (!owner.equals(event.owner)) return false;

        return true;
    }