<?php
App::uses('AppModel', 'Model');
/**
 * PeerCall Model
 *
 * @property Peer $Peer
 */
class PeerCall extends AppModel {
/**
 * Display field
 *
 * @var string
 */
	public $displayField = 'uniqueid';

	//The Associations below have been created with all possible keys, those that are not needed can be removed

/**
 * belongsTo associations
 *
 * @var array
 */
	public $belongsTo = array(
		'Peer' => array(
			'className' => 'Peer',
			'foreignKey' => 'peer_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
	
// 		'OfflineCall' => array(
// 			'className' => 'OfflineCalls',
// 			'foreignKey' => 'offline_calls_id',
// 			'conditions' => '',
// 			'fields' => '',
// 		)				
	);
	
	public $hasMany = array(
			'OfflineCall'
			);
	
}
