diff --git a/src/main/java/com/meituan/lyrebird/client/api/EventDetail.java b/src/main/java/com/meituan/lyrebird/client/api/EventDetail.java index 0115f56..f22450f 100644 --- a/src/main/java/com/meituan/lyrebird/client/api/EventDetail.java +++ b/src/main/java/com/meituan/lyrebird/client/api/EventDetail.java @@ -10,7 +10,7 @@ public class EventDetail { @JsonProperty("event_id") private String eventID; private String id; - private double timestamp; + private long timestamp; public String getChannel() { return channel; @@ -44,11 +44,11 @@ public void setId(String id) { this.id = id; } - public double getTimestamp() { + public long getTimestamp() { return timestamp; } - public void setTimestamp(double timestamp) { + public void setTimestamp(long timestamp) { this.timestamp = timestamp; } } \ No newline at end of file