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


class KursErmaessigung extends Datamodul
{
  public $id;
  public $knr;
  public $art;
  public $nr_art;
  public $erlaubt;

  public function getTyp($pFieldName)
  {
    switch ($pFieldName) {
      default:
        return parent::getTyp($pFieldName);
      case 'nr_art':
        return \DatamodulVarType::TYPE_INT;
      case 'erlaubt':
        return \DatamodulVarType::TYPE_BOOL_WF;
    }
  }
}