<?php 
class MarketMainCategory extends AppModel{
	var $name='MarketMainCategory';
	var $useTable='market_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!'
    )
);


	
	
}

?>