<?php
/**
 * @copyright (c) Kufer Software GmbH, Loisachstrasse 4, D-84453 Mühldorf
 */

namespace Kufer\KuferTools\Mitarbeiter\AdressInfo\AdressUebersicht\FilterAdressUebersicht;

class FilterAdressUebersichtView extends \Kufer\KuferTools\Basis\View\ViewSight
{
  public function getTemplatePathRelative()
  {
    return 'mitarbeiter/adressinfo/filter_adressuebersicht.sgt';
  }

  protected function getDefaultDataModulArray()
  {
    $dm = new \Datamodul();
    foreach (get_object_vars($this->viewModel) as $key => $value) {
      $dm->{$key} = $value;
    }

    return array($dm);
  }
}

class FilterAdressUebersichtViewModel
{
  public $name;
  public $vorname;
  public $strasse;
  public $ort;
  public $adrId;
}