mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-10-02 08:37:35 +02:00
Fixes history log in databases.
Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1624
This commit is contained in:
parent
385345f493
commit
e5485dcbbc
@ -7,6 +7,8 @@ import java.util.Map;
|
|||||||
import org.eclipse.jdt.annotation.NonNull;
|
import org.eclipse.jdt.annotation.NonNull;
|
||||||
import org.eclipse.jdt.annotation.Nullable;
|
import org.eclipse.jdt.annotation.Nullable;
|
||||||
|
|
||||||
|
import com.google.gson.annotations.Expose;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents an event that occurred and that is logged.
|
* Represents an event that occurred and that is logged.
|
||||||
* <br/>
|
* <br/>
|
||||||
@ -16,8 +18,11 @@ import org.eclipse.jdt.annotation.Nullable;
|
|||||||
* @author Poslovitch
|
* @author Poslovitch
|
||||||
*/
|
*/
|
||||||
public class LogEntry {
|
public class LogEntry {
|
||||||
|
@Expose
|
||||||
private final long timestamp;
|
private final long timestamp;
|
||||||
|
@Expose
|
||||||
private final String type;
|
private final String type;
|
||||||
|
@Expose
|
||||||
private final Map<String, String> data;
|
private final Map<String, String> data;
|
||||||
|
|
||||||
private LogEntry(@NonNull Builder builder) {
|
private LogEntry(@NonNull Builder builder) {
|
||||||
|
Loading…
Reference in New Issue
Block a user