<?php
class PhoneNum extends AppModel{
var $name='PhoneNum';
var $useTable='phone_numbers';
	
	var $validate = array(
			'name' => array( 
            	'notempty' => array(
 				'rule' => 'notEmpty',
				'message' => 'Enter Name'
 				)),
				'mobile_number' => array( 
            	'notempty' => array(
 				'rule' => 'notEmpty',
				'message' => 'Enter phone number'
 				))
				); 	

}
?>