<?php
/***
 * Devuelve el listado de clientes de Profit
 */
class ProfitStatusDoc extends ActiveRecord\Model {
   // static $connection = 'profit';
   static $table_name = 'status_docs';
   static $primary_key = 'status';
   //put your code here
   static $has_many = array(
     array('cotiz_c', 'foreign_key' => 'status', 'class_name' => 'ProfitCot')
	 ,array('pedidos', 'foreign_key' => 'status', 'class_name' => 'ProfitPed')
   );
}