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


class HLStdPlanKurszeit extends Datamodul
{
  public $masterid = '';
  public $von = '';
  public $bis = '';
  public $hoehe;
  public $pause = '';

  public function getTyp($pFieldName)
  {
    switch ($pFieldName) {
        default:
          return parent::getTyp($pFieldName);
       case 'von':
       case 'bis':
         return \DatamodulVarType::TYPE_TIME;
      case 'hoehe':
        return \DatamodulVarType::TYPE_INT;
      case 'pause':
        return \DatamodulVarType::TYPE_BOOL_JN;
    }
  }
}