@Override
        public int hashCode() {
            int result = eventType.hashCode();
            result = 31 * result + (event != null ? event.hashCode() : 0);
            result = 31 * result + (state != null ? state.hashCode() : 0);
            return result;
        }