<?php

class Criterium extends AppModel {
	
	var $useTable = 'criterium';
	var $id = 'id';
	var $primaryKey = 'id';
	
	var $hasMany = array(
		'ProfileCriterium'=>array(
			'className' => 'ProfileCriterium',
			'foreignKey'    => 'criterium',
		),
		
		'CriteriumValue'=>array(
			'className' => 'CriteriumValue',
			'foreignKey' => 'criterium',
		)		
	);
	
	
}

?>