package de.ivu.elect.business.system.control.status;

import java.io.Serializable;

import de.ivu.elect.business.mandant.entity.Mandant;
import de.ivu.elect.jee.presentation.status.StatusOption;
import de.ivu.elect.jee.presentation.status.StatusOptionType;

public class SystemStatusOption extends StatusOption {

  private static final long serialVersionUID = 1L;

  private final Mandant mandant;

  public SystemStatusOption(StatusOptionType type, Mandant mandant) {
    super(type);
    this.mandant = mandant;
  }

  public SystemStatusOption(StatusOptionType type, Serializable payload, Mandant mandant) {
    super(type, payload);
    this.mandant = mandant;
  }

  public Mandant getMandant() {
    return mandant;
  }
}
