<?php
class Stock extends AppModel{
    var $name = 'Stock';
	var $primaryKey = 'id';
	
	var $validate = array(
		'name' => array(
			'rule' => 'notEmpty',
			'message' => 'Enter a name, This field can not be empty.'
		),
		'vol' => array(
			'rule' => 'notEmpty',
			'message' => 'Enter Volume, This field can not be empty.'
		),
		'traed' => array(
			'rule' => 'notEmpty',
			'message' => 'Enter Traded, This field can not be empty.'
		)
	);

	
}
?>