<?php
// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('INTERCEROS', 'doctrine');

/**
 * BaseINTERCEROS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_mae_ter
 * @property integer $id_nat_jur
 * @property integer $id_tip_ter
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $codigo
 * @property string $razon_soc
 * @property string $cam_com
 * @property string $pnombre
 * @property string $snombre
 * @property integer $estado_ter
 * @property timestamp $fecha_doc
 * @property string $papellido
 * @property string $sapellido
 * @property string $nmatricula
 * @property string $nmatriculamer
 * @property string $profesion
 * @property integer $dv
 * @property string $objetivo
 * @property INTERCER_TIP $INTERCER_TIP
 * @property TIPO_IDENTIFICACION $TIPO_IDENTIFICACION
 * @property TS_NAT_JUR $TS_NAT_JUR
 * @property Doctrine_Collection $TS_SALDOS_ACR
 * @property Doctrine_Collection $TS_REG_ACH_DISTRI
 * @property Doctrine_Collection $TS_REG_ACH
 * @property Doctrine_Collection $TS_RC_DEDUCCIONES
 * @property Doctrine_Collection $TS_RC
 * @property Doctrine_Collection $TS_OBLIGA_ACREE_DISTRI
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES
 * @property Doctrine_Collection $TS_NOT_TESO
 * @property Doctrine_Collection $TS_NOT_DEDUCCIONES
 * @property Doctrine_Collection $TS_MOV_BANC
 * @property Doctrine_Collection $TS_MB_DEDUCCIONES
 * @property Doctrine_Collection $TS_EMISION_PAGO
 * @property Doctrine_Collection $TS_ACT_BEN_REG
 * @property Doctrine_Collection $TS_ACT_BEN_REG_5
 * @property Doctrine_Collection $TR_DIS_VAL
 * @property Doctrine_Collection $RH_SS_FON
 * @property Doctrine_Collection $RH_NP_CON_NOM
 * @property Doctrine_Collection $RE_TERCEROS
 * @property Doctrine_Collection $RE_RECAUDO
 * @property Doctrine_Collection $RE_OBL_DETALLE
 * @property Doctrine_Collection $RE_OBLIGACION
 * @property Doctrine_Collection $RE_LOG
 * @property Doctrine_Collection $RE_DES_PAGO
 * @property Doctrine_Collection $RE_DES_PAGO_2
 * @property Doctrine_Collection $RE_DESCUENTOS
 * @property Doctrine_Collection $RE_BENE_AUTORIZA
 * @property Doctrine_Collection $PR_RP
 * @property Doctrine_Collection $PR_PG
 * @property Doctrine_Collection $PR_AVANCES_COMISIONES
 * @property Doctrine_Collection $NO_LOG
 * @property Doctrine_Collection $NO_DED_NOLEY
 * @property Doctrine_Collection $NO_CONCEP_NOMINA
 * @property Doctrine_Collection $IN_SOLI_COMPRA
 * @property Doctrine_Collection $IN_SALDO_INVENTARIO_DV
 * @property Doctrine_Collection $IN_SALDO_INVENTARIO_CON
 * @property Doctrine_Collection $IN_PROV_CALIF
 * @property Doctrine_Collection $IN_MOVIMIENTOS_DV
 * @property Doctrine_Collection $IN_MOVIMIENTOS_DV_7
 * @property Doctrine_Collection $IN_MOVIMIENTOS_DV_8
 * @property Doctrine_Collection $IN_MOVIMIENTOS_CON
 * @property Doctrine_Collection $IN_MOVIMIENTOS_CON_4
 * @property Doctrine_Collection $IN_MOVIMIENTOS_CON_5
 * @property Doctrine_Collection $IN_LOG
 * @property Doctrine_Collection $IN_INVENTARIO_DV
 * @property Doctrine_Collection $IN_INVENTARIO_CON
 * @property Doctrine_Collection $IN_FIRMA_CONTRATO
 * @property Doctrine_Collection $IN_FIRMA
 * @property Doctrine_Collection $IN_COTIZACION
 * @property Doctrine_Collection $IN_CONTRATO
 * @property Doctrine_Collection $IN_ASIGNACION_TOMA
 * @property Doctrine_Collection $IN_ALMACENISTA
 * @property Doctrine_Collection $INTERCER_REG
 * @property Doctrine_Collection $INTERCER_DU
 * @property Doctrine_Collection $INTERCER_DT
 * @property Doctrine_Collection $INTERCER_DG_JUR
 * @property Doctrine_Collection $INTERCER_DG_JUR_2
 * @property Doctrine_Collection $INTERCER_CON
 * @property Doctrine_Collection $INTERCER_CON_2
 * @property Doctrine_Collection $DATOS_COMPANIA
 * @property Doctrine_Collection $CM_SALDOS_ACR
 * @property Doctrine_Collection $CM_MOV_BANC
 * @property Doctrine_Collection $CM_EMISION_PAGO
 * @property Doctrine_Collection $CA_REPARTO
 * @property Doctrine_Collection $CA_LOG
 * @property Doctrine_Collection $CA_FACTURA_POS
 * @property Doctrine_Collection $CA_EJECUTIVO_CUENTA
 * @property Doctrine_Collection $CA_DEBITO
 * @property Doctrine_Collection $CA_DEBITO_5
 * @property Doctrine_Collection $CA_CREDITO
 * @property Doctrine_Collection $TS_ACT_BEN_REG_4
 * @property Doctrine_Collection $INTERCER_DG_JUR_8
 * @property Doctrine_Collection $CA_RADICADO_PROCESO
 * @property Doctrine_Collection $IN_MOVIMIENTOS_DV_2
 * @property Doctrine_Collection $IN_MOVIMIENTOS_DV_4
 * @property Doctrine_Collection $IN_MOVIMIENTOS_DV_5
 * @property Doctrine_Collection $IN_INVENTARIO_CONSUMO
 * @property Doctrine_Collection $IN_MOVIMIENTOS_DV_6
 * 
 * @method integer             getIdMaeTer()                Returns the current record's "id_mae_ter" value
 * @method integer             getIdNatJur()                Returns the current record's "id_nat_jur" value
 * @method integer             getIdTipTer()                Returns the current record's "id_tip_ter" value
 * @method integer             getIdTipoDoc()               Returns the current record's "id_tipo_doc" value
 * @method string              getNumDoc()                  Returns the current record's "num_doc" value
 * @method integer             getCodigo()                  Returns the current record's "codigo" value
 * @method string              getRazonSoc()                Returns the current record's "razon_soc" value
 * @method string              getCamCom()                  Returns the current record's "cam_com" value
 * @method string              getPnombre()                 Returns the current record's "pnombre" value
 * @method string              getSnombre()                 Returns the current record's "snombre" value
 * @method integer             getEstadoTer()               Returns the current record's "estado_ter" value
 * @method timestamp           getFechaDoc()                Returns the current record's "fecha_doc" value
 * @method string              getPapellido()               Returns the current record's "papellido" value
 * @method string              getSapellido()               Returns the current record's "sapellido" value
 * @method string              getNmatricula()              Returns the current record's "nmatricula" value
 * @method string              getNmatriculamer()           Returns the current record's "nmatriculamer" value
 * @method string              getProfesion()               Returns the current record's "profesion" value
 * @method integer             getDv()                      Returns the current record's "dv" value
 * @method string              getObjetivo()                Returns the current record's "objetivo" value
 * @method INTERCER_TIP        getINTERCERTIP()             Returns the current record's "INTERCER_TIP" value
 * @method TIPO_IDENTIFICACION getTIPOIDENTIFICACION()      Returns the current record's "TIPO_IDENTIFICACION" value
 * @method TS_NAT_JUR          getTSNATJUR()                Returns the current record's "TS_NAT_JUR" value
 * @method Doctrine_Collection getTSSALDOSACR()             Returns the current record's "TS_SALDOS_ACR" collection
 * @method Doctrine_Collection getTSREGACHDISTRI()          Returns the current record's "TS_REG_ACH_DISTRI" collection
 * @method Doctrine_Collection getTSREGACH()                Returns the current record's "TS_REG_ACH" collection
 * @method Doctrine_Collection getTSRCDEDUCCIONES()         Returns the current record's "TS_RC_DEDUCCIONES" collection
 * @method Doctrine_Collection getTSRC()                    Returns the current record's "TS_RC" collection
 * @method Doctrine_Collection getTSOBLIGAACREEDISTRI()     Returns the current record's "TS_OBLIGA_ACREE_DISTRI" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES()     Returns the current record's "TS_OBLIGACION_APORTES" collection
 * @method Doctrine_Collection getTSNOTTESO()               Returns the current record's "TS_NOT_TESO" collection
 * @method Doctrine_Collection getTSNOTDEDUCCIONES()        Returns the current record's "TS_NOT_DEDUCCIONES" collection
 * @method Doctrine_Collection getTSMOVBANC()               Returns the current record's "TS_MOV_BANC" collection
 * @method Doctrine_Collection getTSMBDEDUCCIONES()         Returns the current record's "TS_MB_DEDUCCIONES" collection
 * @method Doctrine_Collection getTSEMISIONPAGO()           Returns the current record's "TS_EMISION_PAGO" collection
 * @method Doctrine_Collection getTSACTBENREG()             Returns the current record's "TS_ACT_BEN_REG" collection
 * @method Doctrine_Collection getTSACTBENREG5()            Returns the current record's "TS_ACT_BEN_REG_5" collection
 * @method Doctrine_Collection getTRDISVAL()                Returns the current record's "TR_DIS_VAL" collection
 * @method Doctrine_Collection getRHSSFON()                 Returns the current record's "RH_SS_FON" collection
 * @method Doctrine_Collection getRHNPCONNOM()              Returns the current record's "RH_NP_CON_NOM" collection
 * @method Doctrine_Collection getRETERCEROS()              Returns the current record's "RE_TERCEROS" collection
 * @method Doctrine_Collection getRERECAUDO()               Returns the current record's "RE_RECAUDO" collection
 * @method Doctrine_Collection getREOBLDETALLE()            Returns the current record's "RE_OBL_DETALLE" collection
 * @method Doctrine_Collection getREOBLIGACION()            Returns the current record's "RE_OBLIGACION" collection
 * @method Doctrine_Collection getRELOG()                   Returns the current record's "RE_LOG" collection
 * @method Doctrine_Collection getREDESPAGO()               Returns the current record's "RE_DES_PAGO" collection
 * @method Doctrine_Collection getREDESPAGO2()              Returns the current record's "RE_DES_PAGO_2" collection
 * @method Doctrine_Collection getREDESCUENTOS()            Returns the current record's "RE_DESCUENTOS" collection
 * @method Doctrine_Collection getREBENEAUTORIZA()          Returns the current record's "RE_BENE_AUTORIZA" collection
 * @method Doctrine_Collection getPRRP()                    Returns the current record's "PR_RP" collection
 * @method Doctrine_Collection getPRPG()                    Returns the current record's "PR_PG" collection
 * @method Doctrine_Collection getPRAVANCESCOMISIONES()     Returns the current record's "PR_AVANCES_COMISIONES" collection
 * @method Doctrine_Collection getNOLOG()                   Returns the current record's "NO_LOG" collection
 * @method Doctrine_Collection getNODEDNOLEY()              Returns the current record's "NO_DED_NOLEY" collection
 * @method Doctrine_Collection getNOCONCEPNOMINA()          Returns the current record's "NO_CONCEP_NOMINA" collection
 * @method Doctrine_Collection getINSOLICOMPRA()            Returns the current record's "IN_SOLI_COMPRA" collection
 * @method Doctrine_Collection getINSALDOINVENTARIODV()     Returns the current record's "IN_SALDO_INVENTARIO_DV" collection
 * @method Doctrine_Collection getINSALDOINVENTARIOCON()    Returns the current record's "IN_SALDO_INVENTARIO_CON" collection
 * @method Doctrine_Collection getINPROVCALIF()             Returns the current record's "IN_PROV_CALIF" collection
 * @method Doctrine_Collection getINMOVIMIENTOSDV()         Returns the current record's "IN_MOVIMIENTOS_DV" collection
 * @method Doctrine_Collection getINMOVIMIENTOSDV7()        Returns the current record's "IN_MOVIMIENTOS_DV_7" collection
 * @method Doctrine_Collection getINMOVIMIENTOSDV8()        Returns the current record's "IN_MOVIMIENTOS_DV_8" collection
 * @method Doctrine_Collection getINMOVIMIENTOSCON()        Returns the current record's "IN_MOVIMIENTOS_CON" collection
 * @method Doctrine_Collection getINMOVIMIENTOSCON4()       Returns the current record's "IN_MOVIMIENTOS_CON_4" collection
 * @method Doctrine_Collection getINMOVIMIENTOSCON5()       Returns the current record's "IN_MOVIMIENTOS_CON_5" collection
 * @method Doctrine_Collection getINLOG()                   Returns the current record's "IN_LOG" collection
 * @method Doctrine_Collection getININVENTARIODV()          Returns the current record's "IN_INVENTARIO_DV" collection
 * @method Doctrine_Collection getININVENTARIOCON()         Returns the current record's "IN_INVENTARIO_CON" collection
 * @method Doctrine_Collection getINFIRMACONTRATO()         Returns the current record's "IN_FIRMA_CONTRATO" collection
 * @method Doctrine_Collection getINFIRMA()                 Returns the current record's "IN_FIRMA" collection
 * @method Doctrine_Collection getINCOTIZACION()            Returns the current record's "IN_COTIZACION" collection
 * @method Doctrine_Collection getINCONTRATO()              Returns the current record's "IN_CONTRATO" collection
 * @method Doctrine_Collection getINASIGNACIONTOMA()        Returns the current record's "IN_ASIGNACION_TOMA" collection
 * @method Doctrine_Collection getINALMACENISTA()           Returns the current record's "IN_ALMACENISTA" collection
 * @method Doctrine_Collection getINTERCERREG()             Returns the current record's "INTERCER_REG" collection
 * @method Doctrine_Collection getINTERCERDU()              Returns the current record's "INTERCER_DU" collection
 * @method Doctrine_Collection getINTERCERDT()              Returns the current record's "INTERCER_DT" collection
 * @method Doctrine_Collection getINTERCERDGJUR()           Returns the current record's "INTERCER_DG_JUR" collection
 * @method Doctrine_Collection getINTERCERDGJUR2()          Returns the current record's "INTERCER_DG_JUR_2" collection
 * @method Doctrine_Collection getINTERCERCON()             Returns the current record's "INTERCER_CON" collection
 * @method Doctrine_Collection getINTERCERCON2()            Returns the current record's "INTERCER_CON_2" collection
 * @method Doctrine_Collection getDATOSCOMPANIA()           Returns the current record's "DATOS_COMPANIA" collection
 * @method Doctrine_Collection getCMSALDOSACR()             Returns the current record's "CM_SALDOS_ACR" collection
 * @method Doctrine_Collection getCMMOVBANC()               Returns the current record's "CM_MOV_BANC" collection
 * @method Doctrine_Collection getCMEMISIONPAGO()           Returns the current record's "CM_EMISION_PAGO" collection
 * @method Doctrine_Collection getCAREPARTO()               Returns the current record's "CA_REPARTO" collection
 * @method Doctrine_Collection getCALOG()                   Returns the current record's "CA_LOG" collection
 * @method Doctrine_Collection getCAFACTURAPOS()            Returns the current record's "CA_FACTURA_POS" collection
 * @method Doctrine_Collection getCAEJECUTIVOCUENTA()       Returns the current record's "CA_EJECUTIVO_CUENTA" collection
 * @method Doctrine_Collection getCADEBITO()                Returns the current record's "CA_DEBITO" collection
 * @method Doctrine_Collection getCADEBITO5()               Returns the current record's "CA_DEBITO_5" collection
 * @method Doctrine_Collection getCACREDITO()               Returns the current record's "CA_CREDITO" collection
 * @method Doctrine_Collection getTSACTBENREG4()            Returns the current record's "TS_ACT_BEN_REG_4" collection
 * @method Doctrine_Collection getINTERCERDGJUR8()          Returns the current record's "INTERCER_DG_JUR_8" collection
 * @method Doctrine_Collection getCARADICADOPROCESO()       Returns the current record's "CA_RADICADO_PROCESO" collection
 * @method Doctrine_Collection getINMOVIMIENTOSDV2()        Returns the current record's "IN_MOVIMIENTOS_DV_2" collection
 * @method Doctrine_Collection getINMOVIMIENTOSDV4()        Returns the current record's "IN_MOVIMIENTOS_DV_4" collection
 * @method Doctrine_Collection getINMOVIMIENTOSDV5()        Returns the current record's "IN_MOVIMIENTOS_DV_5" collection
 * @method Doctrine_Collection getININVENTARIOCONSUMO()     Returns the current record's "IN_INVENTARIO_CONSUMO" collection
 * @method Doctrine_Collection getINMOVIMIENTOSDV6()        Returns the current record's "IN_MOVIMIENTOS_DV_6" collection
 * @method INTERCEROS          setIdMaeTer()                Sets the current record's "id_mae_ter" value
 * @method INTERCEROS          setIdNatJur()                Sets the current record's "id_nat_jur" value
 * @method INTERCEROS          setIdTipTer()                Sets the current record's "id_tip_ter" value
 * @method INTERCEROS          setIdTipoDoc()               Sets the current record's "id_tipo_doc" value
 * @method INTERCEROS          setNumDoc()                  Sets the current record's "num_doc" value
 * @method INTERCEROS          setCodigo()                  Sets the current record's "codigo" value
 * @method INTERCEROS          setRazonSoc()                Sets the current record's "razon_soc" value
 * @method INTERCEROS          setCamCom()                  Sets the current record's "cam_com" value
 * @method INTERCEROS          setPnombre()                 Sets the current record's "pnombre" value
 * @method INTERCEROS          setSnombre()                 Sets the current record's "snombre" value
 * @method INTERCEROS          setEstadoTer()               Sets the current record's "estado_ter" value
 * @method INTERCEROS          setFechaDoc()                Sets the current record's "fecha_doc" value
 * @method INTERCEROS          setPapellido()               Sets the current record's "papellido" value
 * @method INTERCEROS          setSapellido()               Sets the current record's "sapellido" value
 * @method INTERCEROS          setNmatricula()              Sets the current record's "nmatricula" value
 * @method INTERCEROS          setNmatriculamer()           Sets the current record's "nmatriculamer" value
 * @method INTERCEROS          setProfesion()               Sets the current record's "profesion" value
 * @method INTERCEROS          setDv()                      Sets the current record's "dv" value
 * @method INTERCEROS          setObjetivo()                Sets the current record's "objetivo" value
 * @method INTERCEROS          setINTERCERTIP()             Sets the current record's "INTERCER_TIP" value
 * @method INTERCEROS          setTIPOIDENTIFICACION()      Sets the current record's "TIPO_IDENTIFICACION" value
 * @method INTERCEROS          setTSNATJUR()                Sets the current record's "TS_NAT_JUR" value
 * @method INTERCEROS          setTSSALDOSACR()             Sets the current record's "TS_SALDOS_ACR" collection
 * @method INTERCEROS          setTSREGACHDISTRI()          Sets the current record's "TS_REG_ACH_DISTRI" collection
 * @method INTERCEROS          setTSREGACH()                Sets the current record's "TS_REG_ACH" collection
 * @method INTERCEROS          setTSRCDEDUCCIONES()         Sets the current record's "TS_RC_DEDUCCIONES" collection
 * @method INTERCEROS          setTSRC()                    Sets the current record's "TS_RC" collection
 * @method INTERCEROS          setTSOBLIGAACREEDISTRI()     Sets the current record's "TS_OBLIGA_ACREE_DISTRI" collection
 * @method INTERCEROS          setTSOBLIGACIONAPORTES()     Sets the current record's "TS_OBLIGACION_APORTES" collection
 * @method INTERCEROS          setTSNOTTESO()               Sets the current record's "TS_NOT_TESO" collection
 * @method INTERCEROS          setTSNOTDEDUCCIONES()        Sets the current record's "TS_NOT_DEDUCCIONES" collection
 * @method INTERCEROS          setTSMOVBANC()               Sets the current record's "TS_MOV_BANC" collection
 * @method INTERCEROS          setTSMBDEDUCCIONES()         Sets the current record's "TS_MB_DEDUCCIONES" collection
 * @method INTERCEROS          setTSEMISIONPAGO()           Sets the current record's "TS_EMISION_PAGO" collection
 * @method INTERCEROS          setTSACTBENREG()             Sets the current record's "TS_ACT_BEN_REG" collection
 * @method INTERCEROS          setTSACTBENREG5()            Sets the current record's "TS_ACT_BEN_REG_5" collection
 * @method INTERCEROS          setTRDISVAL()                Sets the current record's "TR_DIS_VAL" collection
 * @method INTERCEROS          setRHSSFON()                 Sets the current record's "RH_SS_FON" collection
 * @method INTERCEROS          setRHNPCONNOM()              Sets the current record's "RH_NP_CON_NOM" collection
 * @method INTERCEROS          setRETERCEROS()              Sets the current record's "RE_TERCEROS" collection
 * @method INTERCEROS          setRERECAUDO()               Sets the current record's "RE_RECAUDO" collection
 * @method INTERCEROS          setREOBLDETALLE()            Sets the current record's "RE_OBL_DETALLE" collection
 * @method INTERCEROS          setREOBLIGACION()            Sets the current record's "RE_OBLIGACION" collection
 * @method INTERCEROS          setRELOG()                   Sets the current record's "RE_LOG" collection
 * @method INTERCEROS          setREDESPAGO()               Sets the current record's "RE_DES_PAGO" collection
 * @method INTERCEROS          setREDESPAGO2()              Sets the current record's "RE_DES_PAGO_2" collection
 * @method INTERCEROS          setREDESCUENTOS()            Sets the current record's "RE_DESCUENTOS" collection
 * @method INTERCEROS          setREBENEAUTORIZA()          Sets the current record's "RE_BENE_AUTORIZA" collection
 * @method INTERCEROS          setPRRP()                    Sets the current record's "PR_RP" collection
 * @method INTERCEROS          setPRPG()                    Sets the current record's "PR_PG" collection
 * @method INTERCEROS          setPRAVANCESCOMISIONES()     Sets the current record's "PR_AVANCES_COMISIONES" collection
 * @method INTERCEROS          setNOLOG()                   Sets the current record's "NO_LOG" collection
 * @method INTERCEROS          setNODEDNOLEY()              Sets the current record's "NO_DED_NOLEY" collection
 * @method INTERCEROS          setNOCONCEPNOMINA()          Sets the current record's "NO_CONCEP_NOMINA" collection
 * @method INTERCEROS          setINSOLICOMPRA()            Sets the current record's "IN_SOLI_COMPRA" collection
 * @method INTERCEROS          setINSALDOINVENTARIODV()     Sets the current record's "IN_SALDO_INVENTARIO_DV" collection
 * @method INTERCEROS          setINSALDOINVENTARIOCON()    Sets the current record's "IN_SALDO_INVENTARIO_CON" collection
 * @method INTERCEROS          setINPROVCALIF()             Sets the current record's "IN_PROV_CALIF" collection
 * @method INTERCEROS          setINMOVIMIENTOSDV()         Sets the current record's "IN_MOVIMIENTOS_DV" collection
 * @method INTERCEROS          setINMOVIMIENTOSDV7()        Sets the current record's "IN_MOVIMIENTOS_DV_7" collection
 * @method INTERCEROS          setINMOVIMIENTOSDV8()        Sets the current record's "IN_MOVIMIENTOS_DV_8" collection
 * @method INTERCEROS          setINMOVIMIENTOSCON()        Sets the current record's "IN_MOVIMIENTOS_CON" collection
 * @method INTERCEROS          setINMOVIMIENTOSCON4()       Sets the current record's "IN_MOVIMIENTOS_CON_4" collection
 * @method INTERCEROS          setINMOVIMIENTOSCON5()       Sets the current record's "IN_MOVIMIENTOS_CON_5" collection
 * @method INTERCEROS          setINLOG()                   Sets the current record's "IN_LOG" collection
 * @method INTERCEROS          setININVENTARIODV()          Sets the current record's "IN_INVENTARIO_DV" collection
 * @method INTERCEROS          setININVENTARIOCON()         Sets the current record's "IN_INVENTARIO_CON" collection
 * @method INTERCEROS          setINFIRMACONTRATO()         Sets the current record's "IN_FIRMA_CONTRATO" collection
 * @method INTERCEROS          setINFIRMA()                 Sets the current record's "IN_FIRMA" collection
 * @method INTERCEROS          setINCOTIZACION()            Sets the current record's "IN_COTIZACION" collection
 * @method INTERCEROS          setINCONTRATO()              Sets the current record's "IN_CONTRATO" collection
 * @method INTERCEROS          setINASIGNACIONTOMA()        Sets the current record's "IN_ASIGNACION_TOMA" collection
 * @method INTERCEROS          setINALMACENISTA()           Sets the current record's "IN_ALMACENISTA" collection
 * @method INTERCEROS          setINTERCERREG()             Sets the current record's "INTERCER_REG" collection
 * @method INTERCEROS          setINTERCERDU()              Sets the current record's "INTERCER_DU" collection
 * @method INTERCEROS          setINTERCERDT()              Sets the current record's "INTERCER_DT" collection
 * @method INTERCEROS          setINTERCERDGJUR()           Sets the current record's "INTERCER_DG_JUR" collection
 * @method INTERCEROS          setINTERCERDGJUR2()          Sets the current record's "INTERCER_DG_JUR_2" collection
 * @method INTERCEROS          setINTERCERCON()             Sets the current record's "INTERCER_CON" collection
 * @method INTERCEROS          setINTERCERCON2()            Sets the current record's "INTERCER_CON_2" collection
 * @method INTERCEROS          setDATOSCOMPANIA()           Sets the current record's "DATOS_COMPANIA" collection
 * @method INTERCEROS          setCMSALDOSACR()             Sets the current record's "CM_SALDOS_ACR" collection
 * @method INTERCEROS          setCMMOVBANC()               Sets the current record's "CM_MOV_BANC" collection
 * @method INTERCEROS          setCMEMISIONPAGO()           Sets the current record's "CM_EMISION_PAGO" collection
 * @method INTERCEROS          setCAREPARTO()               Sets the current record's "CA_REPARTO" collection
 * @method INTERCEROS          setCALOG()                   Sets the current record's "CA_LOG" collection
 * @method INTERCEROS          setCAFACTURAPOS()            Sets the current record's "CA_FACTURA_POS" collection
 * @method INTERCEROS          setCAEJECUTIVOCUENTA()       Sets the current record's "CA_EJECUTIVO_CUENTA" collection
 * @method INTERCEROS          setCADEBITO()                Sets the current record's "CA_DEBITO" collection
 * @method INTERCEROS          setCADEBITO5()               Sets the current record's "CA_DEBITO_5" collection
 * @method INTERCEROS          setCACREDITO()               Sets the current record's "CA_CREDITO" collection
 * @method INTERCEROS          setTSACTBENREG4()            Sets the current record's "TS_ACT_BEN_REG_4" collection
 * @method INTERCEROS          setINTERCERDGJUR8()          Sets the current record's "INTERCER_DG_JUR_8" collection
 * @method INTERCEROS          setCARADICADOPROCESO()       Sets the current record's "CA_RADICADO_PROCESO" collection
 * @method INTERCEROS          setINMOVIMIENTOSDV2()        Sets the current record's "IN_MOVIMIENTOS_DV_2" collection
 * @method INTERCEROS          setINMOVIMIENTOSDV4()        Sets the current record's "IN_MOVIMIENTOS_DV_4" collection
 * @method INTERCEROS          setINMOVIMIENTOSDV5()        Sets the current record's "IN_MOVIMIENTOS_DV_5" collection
 * @method INTERCEROS          setININVENTARIOCONSUMO()     Sets the current record's "IN_INVENTARIO_CONSUMO" collection
 * @method INTERCEROS          setINMOVIMIENTOSDV6()        Sets the current record's "IN_MOVIMIENTOS_DV_6" collection
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseINTERCEROS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('INTERCEROS');
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_nat_jur', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tip_ter', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('codigo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('razon_soc', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('cam_com', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('pnombre', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('snombre', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('estado_ter', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_doc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('papellido', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('sapellido', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('nmatricula', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nmatriculamer', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('profesion', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('dv', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('objetivo', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasOne('INTERCER_TIP', array(
             'local' => 'id_tip_ter',
             'foreign' => 'id_tip_ter'));

        $this->hasOne('TIPO_IDENTIFICACION', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'id_tipo_identificacion'));

        $this->hasOne('TS_NAT_JUR', array(
             'local' => 'id_nat_jur',
             'foreign' => 'id_nat_jur'));

        $this->hasMany('TS_SALDOS_ACR', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_tercero'));

        $this->hasMany('TS_REG_ACH_DISTRI', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_tercero'));

        $this->hasMany('TS_REG_ACH', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_tercero'));

        $this->hasMany('TS_RC_DEDUCCIONES', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('TS_RC', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_tercero'));

        $this->hasMany('TS_OBLIGA_ACREE_DISTRI', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_tercero'));

        $this->hasMany('TS_OBLIGACION_APORTES', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_tercero'));

        $this->hasMany('TS_NOT_TESO', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_tercero'));

        $this->hasMany('TS_NOT_DEDUCCIONES', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('TS_MOV_BANC', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('TS_MB_DEDUCCIONES', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('TS_EMISION_PAGO', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('TS_ACT_BEN_REG', array(
             'local' => 'id_mae_ter',
             'foreign' => 'dueno_cuenta'));

        $this->hasMany('TS_ACT_BEN_REG as TS_ACT_BEN_REG_5', array(
             'local' => 'id_mae_ter',
             'foreign' => 'dueno_cuenta'));

        $this->hasMany('TR_DIS_VAL', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('RH_SS_FON', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('RH_NP_CON_NOM', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('RE_TERCEROS', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('RE_RECAUDO', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('RE_OBL_DETALLE', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('RE_OBLIGACION', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('RE_LOG', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('RE_DES_PAGO', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('RE_DES_PAGO as RE_DES_PAGO_2', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter_acree'));

        $this->hasMany('RE_DESCUENTOS', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('RE_BENE_AUTORIZA', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('PR_RP', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_tercero'));

        $this->hasMany('PR_PG', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_tercero'));

        $this->hasMany('PR_AVANCES_COMISIONES', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('NO_LOG', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('NO_DED_NOLEY', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('NO_CONCEP_NOMINA', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_acreedor'));

        $this->hasMany('IN_SOLI_COMPRA', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('IN_SALDO_INVENTARIO_DV', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('IN_SALDO_INVENTARIO_CON', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('IN_PROV_CALIF', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('IN_MOVIMIENTOS_DV', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter_ini'));

        $this->hasMany('IN_MOVIMIENTOS_DV as IN_MOVIMIENTOS_DV_7', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter_fin'));

        $this->hasMany('IN_MOVIMIENTOS_DV as IN_MOVIMIENTOS_DV_8', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_usuario_anu'));

        $this->hasMany('IN_MOVIMIENTOS_CON', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter_ini'));

        $this->hasMany('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_4', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter_fin'));

        $this->hasMany('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_5', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_usuario_anu'));

        $this->hasMany('IN_LOG', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('IN_INVENTARIO_DV', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('IN_INVENTARIO_CON', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('IN_FIRMA_CONTRATO', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('IN_FIRMA', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('IN_COTIZACION', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('IN_CONTRATO', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('IN_ASIGNACION_TOMA', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('IN_ALMACENISTA', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('INTERCER_REG', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('INTERCER_DU', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('INTERCER_DT', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('INTERCER_DG_JUR', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter_jur'));

        $this->hasMany('INTERCER_DG_JUR as INTERCER_DG_JUR_2', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter_jur'));

        $this->hasMany('INTERCER_CON', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter_con'));

        $this->hasMany('INTERCER_CON as INTERCER_CON_2', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('DATOS_COMPANIA', array(
             'local' => 'id_mae_ter',
             'foreign' => 'jefe_financiero'));

        $this->hasMany('CM_SALDOS_ACR', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_tercero'));

        $this->hasMany('CM_MOV_BANC', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('CM_EMISION_PAGO', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('CA_REPARTO', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('CA_LOG', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('CA_FACTURA_POS', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('CA_EJECUTIVO_CUENTA', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('CA_DEBITO', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('CA_DEBITO as CA_DEBITO_5', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter_ven'));

        $this->hasMany('CA_CREDITO', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('TS_ACT_BEN_REG as TS_ACT_BEN_REG_4', array(
             'local' => 'id_mae_ter',
             'foreign' => 'identificacion'));

        $this->hasMany('INTERCER_DG_JUR as INTERCER_DG_JUR_8', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('CA_RADICADO_PROCESO', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('IN_MOVIMIENTOS_DV as IN_MOVIMIENTOS_DV_2', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter_fin'));

        $this->hasMany('IN_MOVIMIENTOS_DV as IN_MOVIMIENTOS_DV_4', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter_fin'));

        $this->hasMany('IN_MOVIMIENTOS_DV as IN_MOVIMIENTOS_DV_5', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter_ini'));

        $this->hasMany('IN_INVENTARIO_CONSUMO', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasMany('IN_MOVIMIENTOS_DV as IN_MOVIMIENTOS_DV_6', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter_ini'));
    }
}