// Path: eventstore-client/src/main/java/de/qyotta/eventstore/model/Entry.java
// @Getter
// @Setter
// @Builder(toBuilder = true)
// @ToString
// @EqualsAndHashCode
// @NoArgsConstructor(access = AccessLevel.PUBLIC)
// @AllArgsConstructor(access = AccessLevel.PUBLIC)
// public class Entry {
//    private String eventId;
//    private String eventType;
//    private Long eventNumber;
//    private String data;
//    private String metaData;
//    private String streamId;
//    private Boolean isLinkMetaData;
//    private Long positionEventNumber;
//    private String positionStreamId;
//    private String title;
//    private String id;
//    private String updated;
//    private Author author;
//    private String summary;
//    private List<Link> links;
// 
//    private Event content;
// }
// 
// Path: eventstore-client/src/main/java/de/qyotta/eventstore/model/EventResponse.java
// @Getter
// @Setter
// @Builder(toBuilder = true)
// @ToString
// @EqualsAndHashCode
// @NoArgsConstructor(access = AccessLevel.PUBLIC)
// @AllArgsConstructor(access = AccessLevel.PUBLIC)
// public class EventResponse {
//    private String title;
//    private String id;
//    private String updated;
//    private Author author;
//    private String summary;
// 
//    private Event content;
// }


import java.time.Instant;
import java.util.Date;
import de.qyotta.eventstore.model.Entry;
import de.qyotta.eventstore.model.EventResponse;
import lombok.experimental.UtilityClass;
package de.qyotta.eventstore.utils;



@UtilityClass
@SuppressWarnings("nls")
public class EsUtils {
   private static final String SEQUENCE_NUMBER_TITLE_SEPERATOR = "@";

// Path: eventstore-client/src/main/java/de/qyotta/eventstore/model/Entry.java
// @Getter
// @Setter
// @Builder(toBuilder = true)
// @ToString
// @EqualsAndHashCode
// @NoArgsConstructor(access = AccessLevel.PUBLIC)
// @AllArgsConstructor(access = AccessLevel.PUBLIC)
// public class Entry {
//    private String eventId;
//    private String eventType;
//    private Long eventNumber;
//    private String data;
//    private String metaData;
//    private String streamId;
//    private Boolean isLinkMetaData;
//    private Long positionEventNumber;
//    private String positionStreamId;
//    private String title;
//    private String id;
//    private String updated;
//    private Author author;
//    private String summary;
//    private List<Link> links;
// 
//    private Event content;
// }
// 
// Path: eventstore-client/src/main/java/de/qyotta/eventstore/model/EventResponse.java
// @Getter
// @Setter
// @Builder(toBuilder = true)
// @ToString
// @EqualsAndHashCode
// @NoArgsConstructor(access = AccessLevel.PUBLIC)
// @AllArgsConstructor(access = AccessLevel.PUBLIC)
// public class EventResponse {
//    private String title;
//    private String id;
//    private String updated;
//    private Author author;
//    private String summary;
// 
//    private Event content;
// }


// Path: eventstore-client/src/main/java/de/qyotta/eventstore/utils/EsUtils.java
import java.time.Instant;
import java.util.Date;
import de.qyotta.eventstore.model.Entry;
import de.qyotta.eventstore.model.EventResponse;
import lombok.experimental.UtilityClass;

package de.qyotta.eventstore.utils;



@UtilityClass
@SuppressWarnings("nls")
public class EsUtils {
   private static final String SEQUENCE_NUMBER_TITLE_SEPERATOR = "@";

   public static long getEventNumber(final Entry entry) {