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_allegro_api_shipping_rate'); $tMap->setPhpName('AllegroApiShippingRate'); $tMap->addPrimaryKey('ID', 'Id', 'string', CreoleTypes::CHAR, true, 38); $tMap->addColumn('NAME', 'Name', 'string', CreoleTypes::VARCHAR, true, 255); $tMap->addColumn('LAST_MODIFIED', 'LastModified', 'int', CreoleTypes::TIMESTAMP); } // doBuild() }