pro.jk.ejoker.queue.domainEvent.EventStreamMessage Maven / Gradle / Ivy
package pro.jk.ejoker.queue.domainEvent;
import java.util.Map;
public class EventStreamMessage {
private String id;
private String aggregateRootId;
private String aggregateRootTypeName;
private long version;
private long timestamp;
private String commandId;
private Map events;
private Map items;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getAggregateRootId() {
return aggregateRootId;
}
public void setAggregateRootId(String aggregateRootId) {
this.aggregateRootId = aggregateRootId;
}
public String getAggregateRootTypeName() {
return aggregateRootTypeName;
}
public void setAggregateRootTypeName(String aggregateRootTypeName) {
this.aggregateRootTypeName = aggregateRootTypeName;
}
public long getVersion() {
return version;
}
public void setVersion(long version) {
this.version = version;
}
public long getTimestamp() {
return timestamp;
}
public void setTimestamp(long timestamp) {
this.timestamp = timestamp;
}
public String getCommandId() {
return commandId;
}
public void setCommandId(String commandId) {
this.commandId = commandId;
}
public Map getEvents() {
return events;
}
public void setEvents(Map events) {
this.events = events;
}
public Map getItems() {
return items;
}
public void setItems(Map items) {
this.items = items;
}
}