<?php
class leadslogs extends AppModel
{
  public $validationDomain = 'validation';
  public $useTable = "leadslogs";
  
    public $belongsTo=array('statuses'=>array('foreignKey'=>false,'type'=>'LEFT','conditions'=> array('statuses.id=leadslogs.status_id'))
                          );
    
     //array('table'=>'statuses','alias'=>'Status','type'=>'LEFT','conditions'=>array('leadslogs.status_id=Status.id'))),
  //public $actsAs = array('search-master.Searchable');
  //public $filterArgs = array('keyword' => array('type' => 'like','field'=>'leadslogs.remarks'));
  //public $validate = array('remarks' => array('alphaNumeric' => array('rule' => 'alphaNumericCustom','required' => true,'allowEmpty' => false,'message' => 'Only letters and numbers allowed')),
  //                         );
}
?>