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

namespace Kufer\KuferTools\Basis\Kursdetails\DetailsReiter\Termine\TerminDialog;

abstract class TerminDialogView extends \Kufer\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;
}