<?php
class EmailParameter extends AppModel {
	var $name = 'EmailParameter';
	
	  var $validate = array(				 				 		   
	       'status_id' => array(
				'required' => 'notEmpty'
	       ),		   
	       'nb_days' => array(
	             'minLength' => array(
	             'rule' => array('minLength', 1),
	             'allowEmpty' => false	             
	            )
	       )		   
		);		
	
	//The Associations below have been created with all possible keys, those that are not needed can be removed

	public $belongsTo = array(
		'Status' => array(
			'className' => 'Status',
			'foreignKey' => 'status_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);
	


}
?>