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

import de.ivu.elect.business.mandant.entity.EntityMitMandant;
import de.ivu.elect.util.FileUtil;

public abstract class AbstractInternetSeite implements InternetSeiteBase, EntityMitMandant {

  private static final long serialVersionUID = 1L;

  public String getHtmlFileName() {
    return FileUtil.normalizeFileName(getTitel()) + ".html";
  }

  @Override
  public EntityMitMandant getParent() {
    return getWahl();
  }
}
