<?php 
class ProductMainCategory extends AppModel{
	var $name='ProductMainCategory';
	var $useTable='product_categories';
	
var $validate = array(
    'name' => array(
        'rule' => array('maxLength', 30),  
        'message' => 'Maximum characters for exceeded!'
    ),
	'image_caption' => array(
        'rule' => array('maxLength', 30),  
        'message' => 'Maximum characters exceeded!'
    ),
	'description' => array(
        'rule' => array('maxLength', 150),  
        'message' => 'Maximum characters exceeded!'
    )
);


	
	
}

?>