package de.ivu.elect.business.system.entity;

import java.io.Serializable;

public class SystemLogStoreEntry implements Serializable {

  private static final long serialVersionUID = 1L;

  private final SystemLogStoreEntryType type;
  private final String messageKey;
  private final Object[] params;

  public SystemLogStoreEntry(SystemLogStoreEntryType type, String messageKey, Object... params) {
    this.type = type;
    this.messageKey = messageKey;
    this.params = params;
  }

  public SystemLogStoreEntryType getType() {
    return type;
  }

  public String getMessageKey() {
    return messageKey;
  }

  public Object[] getParams() {
    return params;
  }
}
