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

import java.io.Serializable;
import java.util.Date;

/**
 *  on 08.06.2017.
 */
public class WahlResetStatusEntry implements Serializable {

  private final Date timestamp;

  private final String msgKey;

  private final Serializable[] params;

  public WahlResetStatusEntry(String msgKey, Serializable... params) {
    this.timestamp = new Date();
    this.msgKey = msgKey;
    this.params = params;
  }

  public Date getTimestamp() {
    return timestamp;
  }

  public String getMsgKey() {
    return msgKey;
  }

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