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


class PreisKatUebern extends Datamodul
{
  public $klasse;
  public $beschreibung;
  public $preis_ez;
  public $preis_dz;
  public $preis_3z;
  public $preis_4z;
  public $bearbdatum;
  public $gueltig_ab;

  public function getTyp($pFieldName)
  {
    switch ($pFieldName) {
      default:
        return parent::getTyp($pFieldName);
      case 'klasse':
        return \DatamodulVarType::TYPE_INT;
      case 'preis_ez':
      case 'preis_dz':
      case 'preis_3z':
      case 'preis_4z':
        return \DatamodulVarType::TYPE_FLOAT;
      case 'bearbdatum':
      case 'gueltig_ab':
        return \DatamodulVarType::TYPE_DATE;
    }
  }
}