Skip to content

Commit

Permalink
Txn wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
ar committed Sep 9, 2024
1 parent 976a848 commit 4cac03e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions jpos/src/main/java/org/jpos/log/evt/Txn.java
Original file line number Diff line number Diff line change
@@ -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 {
}

0 comments on commit 4cac03e

Please sign in to comment.