relations relations = array('Bank_Wallet' => array('relate_to' => array('User_Account')), 'Bank_Transfer' => array('relate_to' => array('User_Account', 'Bank_Wallet', 'Bank_Receipt')), 'Bank_Receipt' => array('relate_to' => array('Bank_Backend')))