<?php
//profit
class ProfitRengCobros extends ActiveRecord\Model {
   // static $connection = 'profit';
	static $table_name = 'reng_cob';
	static $primary_key = array('cob_num','reng_num');
	static $campos = array('cob_num','reng_num','tp_doc_cob','doc_num','neto','neto_tmp','dppago','dppago_tmp','reng_ncr','co_ven','comis1','comis2','comis3','comis4','sign_aju_c','porc_aju_c','por_cob','comi_cob','mont_cob','sino_pago','sino_reten','monto_dppago','monto_reten','imp_pago','monto_obj','isv','nro_fact','moneda','tasa','numcon','sustraen','rowguid','co_islr','fec_emis','fec_venc','comis5','comis6','fact_iva','ret_iva','porc_retn','porc_desc','aux01','aux02','prov_ter','reng_ter','fec_com');
       static $belongs_to = array(
      array('cobros', 'foreign_key' => 'cob_num', 'class_name' => 'ProfitCobros')
    );
}
