setName('alm_evt_dscr'); $this->setPhpName('AlarmEventDescriptor'); $this->setClassname('AlarmEventDescriptor'); $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('evt_spec_sel', 'EvtSpecSel', 'INTEGER', true, null, null); $this->addColumn('evt_spec_val', 'EvtSpecVal', 'VARCHAR', true, 255, null); // validators } // initialize() /** * Build the RelationMap objects for this table relationships */ public function buildRelations() { $this->addRelation('Cac', 'CurrentAlarmCondition', RelationMap::ONE_TO_MANY, array('id' => 'aed_id', ), null, null, 'Cacs'); $this->addRelation('Aes', 'AssignmentEventSelector', RelationMap::ONE_TO_MANY, array('id' => 'aed_id', ), null, null, 'Aess'); $this->addRelation('Tasar', 'ThresholdAlarmSeverityAssignmentRule', RelationMap::ONE_TO_MANY, array('id' => 'aed_id', ), null, null, 'Tasars'); $this->addRelation('Bes', 'BalancingEventSelector', RelationMap::ONE_TO_MANY, array('id' => 'aed_id', ), null, null, 'Bess'); $this->addRelation('Fes', 'ForwardingEventSelector', RelationMap::ONE_TO_MANY, array('id' => 'aed_id', ), null, null, 'Fess'); } // buildRelations() } // AlarmEventDescriptorTableMap