<?php 
class CommunityMainCategory extends AppModel{
	var $name='CommunityMainCategory';
	var $useTable='community_main_categories';
	
var $validate = array(
    'title' => array(
        'rule' => 'notEmpty',  
        'message' => 'Enter title!'
    ),
	'image_caption' => array(
        'rule' => 'notEmpty',
        'message' => 'Maximum characters exceeded!'
    ),
	'summary' => array(
        'rule' => 'notEmpty',
        'message' => 'Enter Summary!'
    )
);


	
	
}

?>