public function relationships() { return array('TestRel' => TestRelationship::belongsTo('testrelid')); }