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('rbac'); $tMap = $this->dbMap->addTable('RBAC_SYSTEMS'); $tMap->setPhpName('Systems'); $tMap->setUseIdGenerator(false); $tMap->addPrimaryKey('SYS_UID', 'SysUid', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addColumn('SYS_CODE', 'SysCode', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addColumn('SYS_CREATE_DATE', 'SysCreateDate', 'int', CreoleTypes::TIMESTAMP, false, null); $tMap->addColumn('SYS_UPDATE_DATE', 'SysUpdateDate', 'int', CreoleTypes::TIMESTAMP, false, null); $tMap->addColumn('SYS_STATUS', 'SysStatus', 'int', CreoleTypes::INTEGER, true, null); } // doBuild() } // SystemsMapBuilder