diff --git a/jpos/src/main/java/org/jpos/log/evt/Txn.java b/jpos/src/main/java/org/jpos/log/evt/Txn.java new file mode 100644 index 0000000000..61b116c4bd --- /dev/null +++ b/jpos/src/main/java/org/jpos/log/evt/Txn.java @@ -0,0 +1,11 @@ +package org.jpos.log.evt; + +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; +import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; +import org.jpos.log.AuditLogEvent; + +@JacksonXmlRootElement(localName = "txn") +public record Txn( + @JacksonXmlProperty(isAttribute = true) String name, + @JacksonXmlProperty(isAttribute = true) long id) implements AuditLogEvent { +}