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_PERMISSIONS'); $tMap->setPhpName('Permissions'); $tMap->setUseIdGenerator(false); $tMap->addPrimaryKey('PER_UID', 'PerUid', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addColumn('PER_CODE', 'PerCode', 'string', CreoleTypes::VARCHAR, true, 32); $tMap->addColumn('PER_CREATE_DATE', 'PerCreateDate', 'int', CreoleTypes::TIMESTAMP, false, null); $tMap->addColumn('PER_UPDATE_DATE', 'PerUpdateDate', 'int', CreoleTypes::TIMESTAMP, false, null); $tMap->addColumn('PER_STATUS', 'PerStatus', 'int', CreoleTypes::INTEGER, true, null); $tMap->addColumn('PER_SYSTEM', 'PerSystem', 'string', CreoleTypes::VARCHAR, true, 32); } // doBuild() } // PermissionsMapBuilder