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


class FeedBackGedruckt extends Datamodul
{
  public $nr;
  public $typ;
  public $knr;
  public $bogenid;
  public $druckdatum;
  public $bearbeiter;
  public $bearbdatum;
  public $erfasstvon;
  public $erfasstam;
  public $dnr;

  public function getTyp($pFieldName)
  {
    switch ($pFieldName) {
      default:
        return parent::getTyp($pFieldName);
      case 'nr':
      case 'bogenid':
      case 'dnr':
        return \DatamodulVarType::TYPE_INT;
      case 'druckdatum':
      case 'bearbdatum':
      case 'erfasstam':
        return \DatamodulVarType::TYPE_DATETIME;
    }
  }
}