<?php
/**
 * @copyright (c) Kufer Software GmbH, Oderstraße 7, D-84453 Mühldorf
 */

namespace Kufer\Web\KuferTools\Basis\Kursdetails\Detailsreiter\Termine\TerminDialog;

abstract class TerminDialogView extends \Kufer\Web\KuferTools\Basis\View\ViewSight
{
  protected function getDefaultDataModulArray()
  {
    $this->viewModel->kurstag->belid = $this->viewModel->belegId;
    $this->viewModel->kurstag->knr = $this->viewModel->knr;
    $this->viewModel->kurstag->toolId = $this->viewModel->toolId;

    return array($this->viewModel->kurstag);
  }
}

class TerminDialogViewModel
{
  public $kurstag;
  public $belegId;
  public $knr;
  public $toolId;
}