<?php
/**
 * @copyright (c) Kufer Software GmbH, Oderstraße 7, D-84453 Mühldorf
 */

if (!defined('BASEDIR')) {
  include_once '..' . DIRECTORY_SEPARATOR . 'constants.php';
}


class DBWorkBestellungXmlPos extends DBWorkGenerated
{
  public function __construct($pDBTyp = 1, $pNewInstance = false)
  {
    parent::__construct($pDBTyp, $pNewInstance);
    $this->select = 'id, bestellungxml_id, objekt_id, anzahl';
    $this->_dataModulFields = array('bestellungxml_id', 'objekt_id', 'anzahl', 'id');
  }

  
  public function getNewObject()
  {
    return new BestellungXmlPos();
  }

  public function getTableName(): string
  {
    return 'bestellungxml_pos';
  }
}