public function relations()
{
// NOTE: you may need to adjust the relation name and the related
// class name for the relations automatically generated below.
return array('contact' => array(self::BELONGS_TO, 'Contact', 'contact_id'), 'type' => array(self::BELONGS_TO, 'CommissioningBodyServiceType', 'commissioning_body_service_type_id'), 'commissioning_body' => array(self::BELONGS_TO, 'CommissioningBody', 'commissioning_body_id'));
}