<?php
class QuestionnairesService extends AppModel {
	var $name = 'QuestionnairesService';
	//The Associations below have been created with all possible keys, those that are not needed can be removed

	var $belongsTo = array(
		'Questionnaire' => array(
			'className' => 'Questionnaire',
			'foreignKey' => 'questionnaire_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Service' => array(
			'className' => 'Service',
			'foreignKey' => 'service_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);
	
/*	
	var $validate = array(
	       'questionnaire_id' => array(
				 'rule' => 'notEmpty',
				 'message' => 'Please select a Questionnaire'			 
			)			
	);
*/
	
}
?>