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_auction_has_order'); $tMap->setPhpName('AllegroAuctionHasOrder'); $tMap->setUseIdGenerator(false); $tMap->addPrimaryKey('TRANS_ID', 'TransId', 'string', CreoleTypes::BIGINT, true, null); $tMap->addPrimaryKey('ALLEGRO_AUCTION_ID', 'AllegroAuctionId', 'string', CreoleTypes::BIGINT, true, null); $tMap->addForeignPrimaryKey('ORDER_ID', 'OrderId', 'int' , CreoleTypes::INTEGER, 'st_order', 'ID', true, null); $tMap->addColumn('ALLEGRO_USER_ID', 'AllegroUserId', 'string', CreoleTypes::BIGINT, true, null); } // doBuild() } // AllegroAuctionHasOrderMapBuilder