setName('alm_bal_mon'); $this->setPhpName('AlarmBalanceMonitor'); $this->setClassname('AlarmBalanceMonitor'); $this->setPackage('propel'); $this->setUseIdGenerator(true); // columns $this->addPrimaryKey('id', 'Id', 'INTEGER', true, null, null); $this->addColumn('mod', 'Mod', 'INTEGER', true, null, null); $this->addColumn('name', 'Name', 'VARCHAR', true, 255, null); $this->addColumn('uncfd_asta_bal', 'UncfdAstaBal', 'INTEGER', true, null, 0); $this->addColumn('cfd_asta_bal', 'CfdAstaBal', 'INTEGER', true, null, 0); $this->addColumn('evt_sel_mode', 'EvtSelMode', 'INTEGER', true, null, null); $this->addColumn('bal_evt_sel', 'BalEvtSel', 'INTEGER', true, null, 0); $this->addColumn('esc_host_sel', 'EscHostSel', 'INTEGER', true, null, 0); // validators } // initialize() /** * Build the RelationMap objects for this table relationships */ public function buildRelations() { $this->addRelation('Bes', 'BalancingEventSelector', RelationMap::ONE_TO_MANY, array('id' => 'abm_id', ), null, null, 'Bess'); $this->addRelation('Ehs', 'EscalationHostSelector', RelationMap::ONE_TO_MANY, array('id' => 'abm_id', ), null, null, 'Ehss'); } // buildRelations() } // AlarmBalanceMonitorTableMap