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_basic_price_unit_measure'); $tMap->setPhpName('BasicPriceUnitMeasure'); $tMap->setUseIdGenerator(true); $tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null); $tMap->addColumn('IS_DEFAULT', 'IsDefault', 'boolean', CreoleTypes::BOOLEAN, false, null); $tMap->addColumn('IS_SYSTEM', 'IsSystem', 'boolean', CreoleTypes::BOOLEAN, false, null); $tMap->addColumn('UNIT_NAME', 'UnitName', 'string', CreoleTypes::VARCHAR, false, 32); $tMap->addColumn('UNIT_SYMBOL', 'UnitSymbol', 'string', CreoleTypes::VARCHAR, true, 10); $tMap->addColumn('UNIT_GROUP', 'UnitGroup', 'string', CreoleTypes::VARCHAR, true, 10); $tMap->addColumn('MULTIPLIER', 'Multiplier', 'double', CreoleTypes::DECIMAL, false, 12); } // doBuild() } // BasicPriceUnitMeasureMapBuilder