setName('probable_cause'); $this->setPhpName('ProbableCause'); $this->setClassname('ProbableCause'); $this->setPackage('propel'); $this->setUseIdGenerator(true); // columns $this->addPrimaryKey('ID', 'Id', 'INTEGER', true, null, null); $this->addColumn('SELECTOR', 'Selector', 'VARCHAR', true, 10, null); $this->addColumn('VALUE', 'Value', 'VARCHAR', true, 255, null); // validators } // initialize() /** * Build the RelationMap objects for this table relationships */ public function buildRelations() { $this->addRelation('ProbCause', 'CurrentAlarmCondition', RelationMap::ONE_TO_MANY, array('id' => 'pc_id', ), null, null); } // buildRelations() } // ProbableCauseTableMap