dbMap !== null); } /** * Gets the databasemap this map builder built. * * @return the databasemap */ public function getDatabaseMap() { return $this->dbMap; } /** * The doBuild() method builds the DatabaseMap * * @return void * @throws PropelException */ public function doBuild() { $this->dbMap = Propel::getDatabaseMap('propel'); $tMap = $this->dbMap->addTable('st_delivery_sections'); $tMap->setPhpName('DeliverySections'); $tMap->setUseIdGenerator(true); $tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null); $tMap->addForeignKey('DELIVERY_ID', 'DeliveryId', 'int', CreoleTypes::INTEGER, 'st_delivery', 'ID', true, null); $tMap->addColumn('VALUE_FROM', 'ValueFrom', 'double', CreoleTypes::DECIMAL, false, 10); $tMap->addColumn('AMOUNT', 'Amount', 'double', CreoleTypes::DECIMAL, false, 10); $tMap->addColumn('AMOUNT_BRUTTO', 'AmountBrutto', 'double', CreoleTypes::DECIMAL, false, 10); } // doBuild() } // DeliverySectionsMapBuilder