mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-02-27 17:52:13 +01: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.Nullable;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
|
||||
/**
|
||||
* Represents an event that occurred and that is logged.
|
||||
* <br/>
|
||||
@ -16,8 +18,11 @@ import org.eclipse.jdt.annotation.Nullable;
|
||||
* @author Poslovitch
|
||||
*/
|
||||
public class LogEntry {
|
||||
@Expose
|
||||
private final long timestamp;
|
||||
@Expose
|
||||
private final String type;
|
||||
@Expose
|
||||
private final Map<String, String> data;
|
||||
|
||||
private LogEntry(@NonNull Builder builder) {
|
||||
|
Loading…
Reference in New Issue
Block a user