setName('esc_host_sel'); $this->setPhpName('EscalationHostSelector'); $this->setClassname('EscalationHostSelector'); $this->setPackage('propel'); $this->setUseIdGenerator(true); // columns $this->addPrimaryKey('id', 'Id', 'INTEGER', true, null, null); $this->addForeignKey('abm_id', 'AbmId', 'INTEGER', 'alm_bal_mon', 'id', true, null, null); $this->addForeignKey('amh_id', 'AmhId', 'INTEGER', 'alm_mgmt_host', 'id', true, null, null); // validators } // initialize() /** * Build the RelationMap objects for this table relationships */ public function buildRelations() { $this->addRelation('AlarmBalanceMonitor', 'AlarmBalanceMonitor', RelationMap::MANY_TO_ONE, array('abm_id' => 'id', ), null, null); $this->addRelation('AlarmingManagementHost', 'AlarmingManagementHost', RelationMap::MANY_TO_ONE, array('amh_id' => 'id', ), null, null); } // buildRelations() } // EscalationHostSelectorTableMap