setName('alm_forw_inst'); $this->setPhpName('AlarmForwardingInstruction'); $this->setClassname('AlarmForwardingInstruction'); $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('admin_state', 'AdminState', 'INTEGER', true, null, null); $this->addColumn('evt_sel_mode', 'EvtSelMode', 'INTEGER', true, null, null); $this->addColumn('forw_evt_sel', 'ForwEvtSel', 'INTEGER', true, null, 0); $this->addColumn('dest_host_sel', 'DestHostSel', 'INTEGER', true, null, 0); // validators } // initialize() /** * Build the RelationMap objects for this table relationships */ public function buildRelations() { $this->addRelation('Fes', 'ForwardingEventSelector', RelationMap::ONE_TO_MANY, array('id' => 'afi_id', ), null, null, 'Fess'); $this->addRelation('Dhs', 'DestinationHostSelector', RelationMap::ONE_TO_MANY, array('id' => 'afi_id', ), null, null, 'Dhss'); } // buildRelations() } // AlarmForwardingInstructionTableMap