CommissioningBodyPatientAssignment::relations PHP Method

relations() public method

public relations ( ) : array
return array relational rules.
    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('commissioning_body' => array(self::BELONGS_TO, 'CommissioningBody', 'commissioning_body_id'), 'patient' => array(self::BELONGS_TO, 'Patient', 'patient_id'));
    }