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

/**
 * BaseTS_OBLIGACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_obligacion
 * @property integer $id_rp
 * @property integer $id_asign
 * @property integer $id_cpx
 * @property integer $secuencia
 * @property integer $id_clase_cxp
 * @property decimal $valor_obligacion
 * @property timestamp $fecha_proceso
 * @property timestamp $fecha_sistema
 * @property string $usuario
 * @property string $observaciones
 * @property integer $id_pagos_obliga
 * @property integer $id_vigencia
 * @property string $ano_fiscal
 * @property integer $tipo_obligacion
 * @property integer $estado
 * @property integer $bloqueo_pago
 * @property Doctrine_Collection $PR_PAGOS_OBLIGA
 * @property Doctrine_Collection $PR_PAGOS_OBLIGA_2
 * @property Doctrine_Collection $PR_PAGOS_OBLIGA_3
 * @property Doctrine_Collection $PR_PAGOS_OBLIGA_4
 * @property Doctrine_Collection $PR_PAGOS_OBLIGA_5
 * @property Doctrine_Collection $PR_PAGOS_OBLIGA_6
 * @property Doctrine_Collection $PR_PAGOS_OBLIGA_7
 * @property Doctrine_Collection $PR_PAGOS_OBLIGA_8
 * @property Doctrine_Collection $PR_PAGOS_OBLIGA_9
 * @property Doctrine_Collection $PR_PAGOS_OBLIGA_10
 * @property Doctrine_Collection $PR_PAGOS_OBLIGA_11
 * @property Doctrine_Collection $PR_PAGOS_OBLIGA_12
 * @property Doctrine_Collection $PR_PAGOS_OBLIGA_13
 * @property Doctrine_Collection $PR_PAGOS_OBLIGA_14
 * @property Doctrine_Collection $PR_PAGOS_OBLIGA_15
 * @property Doctrine_Collection $PR_PAGOS_OBLIGA_16
 * @property Doctrine_Collection $TSDC_SAFI
 * @property Doctrine_Collection $TSDC_SAFI_2
 * @property Doctrine_Collection $TSDC_SAFI_3
 * @property Doctrine_Collection $TSDC_SAFI_4
 * @property Doctrine_Collection $TSDC_SAFI_5
 * @property Doctrine_Collection $TSDC_SAFI_6
 * @property Doctrine_Collection $TSDC_SAFI_7
 * @property Doctrine_Collection $TSDC_SAFI_8
 * @property Doctrine_Collection $TSDC_SAFI_9
 * @property Doctrine_Collection $TSDC_SAFI_10
 * @property Doctrine_Collection $TSDC_SAFI_11
 * @property Doctrine_Collection $TSDC_SAFI_12
 * @property Doctrine_Collection $TSDC_SAFI_13
 * @property Doctrine_Collection $TSDC_SAFI_14
 * @property Doctrine_Collection $TSDC_SAFI_15
 * @property Doctrine_Collection $TSDC_SAFI_16
 * @property Doctrine_Collection $TS_DEDUCCIONES
 * @property Doctrine_Collection $TS_DEDUCCIONES_2
 * @property Doctrine_Collection $TS_DEDUCCIONES_3
 * @property Doctrine_Collection $TS_DEDUCCIONES_4
 * @property Doctrine_Collection $TS_DEDUCCIONES_5
 * @property Doctrine_Collection $TS_DEDUCCIONES_6
 * @property Doctrine_Collection $TS_DEDUCCIONES_7
 * @property Doctrine_Collection $TS_DEDUCCIONES_8
 * @property Doctrine_Collection $TS_DEDUCCIONES_9
 * @property Doctrine_Collection $TS_DEDUCCIONES_10
 * @property Doctrine_Collection $TS_DEDUCCIONES_11
 * @property Doctrine_Collection $TS_DEDUCCIONES_12
 * @property Doctrine_Collection $TS_DEDUCCIONES_13
 * @property Doctrine_Collection $TS_DEDUCCIONES_14
 * @property Doctrine_Collection $TS_DEDUCCIONES_15
 * @property Doctrine_Collection $TS_DEDUCCIONES_16
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES_3
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES_4
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES_5
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES_6
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES_7
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES_8
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES_9
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES_10
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES_11
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES_12
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES_13
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES_14
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES_15
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES_16
 * @property Doctrine_Collection $TS_OBLIGACION_APORTES_17
 * @property Doctrine_Collection $TS_OBLIGACION_IVA
 * @property Doctrine_Collection $TS_OBLIGACION_IVA_2
 * @property Doctrine_Collection $TS_OBLIGACION_IVA_3
 * @property Doctrine_Collection $TS_OBLIGACION_IVA_4
 * @property Doctrine_Collection $TS_OBLIGACION_IVA_5
 * @property Doctrine_Collection $TS_OBLIGACION_IVA_6
 * @property Doctrine_Collection $TS_OBLIGACION_IVA_7
 * @property Doctrine_Collection $TS_OBLIGACION_IVA_8
 * @property Doctrine_Collection $TS_OBLIGACION_IVA_9
 * @property Doctrine_Collection $TS_OBLIGACION_IVA_10
 * @property Doctrine_Collection $TS_OBLIGACION_IVA_11
 * @property Doctrine_Collection $TS_OBLIGACION_IVA_12
 * @property Doctrine_Collection $TS_OBLIGACION_IVA_13
 * @property Doctrine_Collection $TS_OBLIGACION_IVA_14
 * @property Doctrine_Collection $TS_OBLIGACION_IVA_15
 * @property Doctrine_Collection $TS_OBLIGACION_IVA_16
 * @property Doctrine_Collection $TS_OBLIGACION_VAL
 * @property Doctrine_Collection $TS_OBLIGACION_VAL_2
 * @property Doctrine_Collection $TS_OBLIGACION_VAL_3
 * @property Doctrine_Collection $TS_OBLIGACION_VAL_4
 * @property Doctrine_Collection $TS_OBLIGACION_VAL_5
 * @property Doctrine_Collection $TS_OBLIGACION_VAL_6
 * @property Doctrine_Collection $TS_OBLIGACION_VAL_7
 * @property Doctrine_Collection $TS_OBLIGACION_VAL_8
 * @property Doctrine_Collection $TS_OBLIGACION_VAL_9
 * @property Doctrine_Collection $TS_OBLIGACION_VAL_10
 * @property Doctrine_Collection $TS_OBLIGACION_VAL_11
 * @property Doctrine_Collection $TS_OBLIGACION_VAL_12
 * @property Doctrine_Collection $TS_OBLIGACION_VAL_13
 * @property Doctrine_Collection $TS_OBLIGACION_VAL_14
 * @property Doctrine_Collection $TS_OBLIGACION_VAL_15
 * @property Doctrine_Collection $TS_OBLIGACION_VAL_16
 * @property Doctrine_Collection $TS_OBLIGA_EQUIVA
 * @property Doctrine_Collection $TS_OBLIGA_EQUIVA_2
 * @property Doctrine_Collection $TS_OBLIGA_EQUIVA_3
 * @property Doctrine_Collection $TS_OBLIGA_EQUIVA_4
 * @property Doctrine_Collection $TS_OBLIGA_EQUIVA_5
 * @property Doctrine_Collection $TS_OBLIGA_EQUIVA_6
 * @property Doctrine_Collection $TS_OBLIGA_EQUIVA_7
 * @property Doctrine_Collection $TS_OBLIGA_EQUIVA_8
 * @property Doctrine_Collection $TS_OBLIGA_EQUIVA_9
 * @property Doctrine_Collection $TS_OBLIGA_EQUIVA_10
 * @property Doctrine_Collection $TS_OBLIGA_EQUIVA_11
 * @property Doctrine_Collection $TS_OBLIGA_EQUIVA_12
 * @property Doctrine_Collection $TS_OBLIGA_EQUIVA_13
 * @property Doctrine_Collection $TS_OBLIGA_EQUIVA_14
 * @property Doctrine_Collection $TS_OBLIGA_EQUIVA_15
 * @property Doctrine_Collection $TS_OBLIGA_EQUIVA_16
 * 
 * @method integer             getIdObligacion()             Returns the current record's "id_obligacion" value
 * @method integer             getIdRp()                     Returns the current record's "id_rp" value
 * @method integer             getIdAsign()                  Returns the current record's "id_asign" value
 * @method integer             getIdCpx()                    Returns the current record's "id_cpx" value
 * @method integer             getSecuencia()                Returns the current record's "secuencia" value
 * @method integer             getIdClaseCxp()               Returns the current record's "id_clase_cxp" value
 * @method decimal             getValorObligacion()          Returns the current record's "valor_obligacion" value
 * @method timestamp           getFechaProceso()             Returns the current record's "fecha_proceso" value
 * @method timestamp           getFechaSistema()             Returns the current record's "fecha_sistema" value
 * @method string              getUsuario()                  Returns the current record's "usuario" value
 * @method string              getObservaciones()            Returns the current record's "observaciones" value
 * @method integer             getIdPagosObliga()            Returns the current record's "id_pagos_obliga" value
 * @method integer             getIdVigencia()               Returns the current record's "id_vigencia" value
 * @method string              getAnoFiscal()                Returns the current record's "ano_fiscal" value
 * @method integer             getTipoObligacion()           Returns the current record's "tipo_obligacion" value
 * @method integer             getEstado()                   Returns the current record's "estado" value
 * @method integer             getBloqueoPago()              Returns the current record's "bloqueo_pago" value
 * @method Doctrine_Collection getPRPAGOSOBLIGA()            Returns the current record's "PR_PAGOS_OBLIGA" collection
 * @method Doctrine_Collection getPRPAGOSOBLIGA2()           Returns the current record's "PR_PAGOS_OBLIGA_2" collection
 * @method Doctrine_Collection getPRPAGOSOBLIGA3()           Returns the current record's "PR_PAGOS_OBLIGA_3" collection
 * @method Doctrine_Collection getPRPAGOSOBLIGA4()           Returns the current record's "PR_PAGOS_OBLIGA_4" collection
 * @method Doctrine_Collection getPRPAGOSOBLIGA5()           Returns the current record's "PR_PAGOS_OBLIGA_5" collection
 * @method Doctrine_Collection getPRPAGOSOBLIGA6()           Returns the current record's "PR_PAGOS_OBLIGA_6" collection
 * @method Doctrine_Collection getPRPAGOSOBLIGA7()           Returns the current record's "PR_PAGOS_OBLIGA_7" collection
 * @method Doctrine_Collection getPRPAGOSOBLIGA8()           Returns the current record's "PR_PAGOS_OBLIGA_8" collection
 * @method Doctrine_Collection getPRPAGOSOBLIGA9()           Returns the current record's "PR_PAGOS_OBLIGA_9" collection
 * @method Doctrine_Collection getPRPAGOSOBLIGA10()          Returns the current record's "PR_PAGOS_OBLIGA_10" collection
 * @method Doctrine_Collection getPRPAGOSOBLIGA11()          Returns the current record's "PR_PAGOS_OBLIGA_11" collection
 * @method Doctrine_Collection getPRPAGOSOBLIGA12()          Returns the current record's "PR_PAGOS_OBLIGA_12" collection
 * @method Doctrine_Collection getPRPAGOSOBLIGA13()          Returns the current record's "PR_PAGOS_OBLIGA_13" collection
 * @method Doctrine_Collection getPRPAGOSOBLIGA14()          Returns the current record's "PR_PAGOS_OBLIGA_14" collection
 * @method Doctrine_Collection getPRPAGOSOBLIGA15()          Returns the current record's "PR_PAGOS_OBLIGA_15" collection
 * @method Doctrine_Collection getPRPAGOSOBLIGA16()          Returns the current record's "PR_PAGOS_OBLIGA_16" collection
 * @method Doctrine_Collection getTSDCSAFI()                 Returns the current record's "TSDC_SAFI" collection
 * @method Doctrine_Collection getTSDCSAFI2()                Returns the current record's "TSDC_SAFI_2" collection
 * @method Doctrine_Collection getTSDCSAFI3()                Returns the current record's "TSDC_SAFI_3" collection
 * @method Doctrine_Collection getTSDCSAFI4()                Returns the current record's "TSDC_SAFI_4" collection
 * @method Doctrine_Collection getTSDCSAFI5()                Returns the current record's "TSDC_SAFI_5" collection
 * @method Doctrine_Collection getTSDCSAFI6()                Returns the current record's "TSDC_SAFI_6" collection
 * @method Doctrine_Collection getTSDCSAFI7()                Returns the current record's "TSDC_SAFI_7" collection
 * @method Doctrine_Collection getTSDCSAFI8()                Returns the current record's "TSDC_SAFI_8" collection
 * @method Doctrine_Collection getTSDCSAFI9()                Returns the current record's "TSDC_SAFI_9" collection
 * @method Doctrine_Collection getTSDCSAFI10()               Returns the current record's "TSDC_SAFI_10" collection
 * @method Doctrine_Collection getTSDCSAFI11()               Returns the current record's "TSDC_SAFI_11" collection
 * @method Doctrine_Collection getTSDCSAFI12()               Returns the current record's "TSDC_SAFI_12" collection
 * @method Doctrine_Collection getTSDCSAFI13()               Returns the current record's "TSDC_SAFI_13" collection
 * @method Doctrine_Collection getTSDCSAFI14()               Returns the current record's "TSDC_SAFI_14" collection
 * @method Doctrine_Collection getTSDCSAFI15()               Returns the current record's "TSDC_SAFI_15" collection
 * @method Doctrine_Collection getTSDCSAFI16()               Returns the current record's "TSDC_SAFI_16" collection
 * @method Doctrine_Collection getTSDEDUCCIONES()            Returns the current record's "TS_DEDUCCIONES" collection
 * @method Doctrine_Collection getTSDEDUCCIONES2()           Returns the current record's "TS_DEDUCCIONES_2" collection
 * @method Doctrine_Collection getTSDEDUCCIONES3()           Returns the current record's "TS_DEDUCCIONES_3" collection
 * @method Doctrine_Collection getTSDEDUCCIONES4()           Returns the current record's "TS_DEDUCCIONES_4" collection
 * @method Doctrine_Collection getTSDEDUCCIONES5()           Returns the current record's "TS_DEDUCCIONES_5" collection
 * @method Doctrine_Collection getTSDEDUCCIONES6()           Returns the current record's "TS_DEDUCCIONES_6" collection
 * @method Doctrine_Collection getTSDEDUCCIONES7()           Returns the current record's "TS_DEDUCCIONES_7" collection
 * @method Doctrine_Collection getTSDEDUCCIONES8()           Returns the current record's "TS_DEDUCCIONES_8" collection
 * @method Doctrine_Collection getTSDEDUCCIONES9()           Returns the current record's "TS_DEDUCCIONES_9" collection
 * @method Doctrine_Collection getTSDEDUCCIONES10()          Returns the current record's "TS_DEDUCCIONES_10" collection
 * @method Doctrine_Collection getTSDEDUCCIONES11()          Returns the current record's "TS_DEDUCCIONES_11" collection
 * @method Doctrine_Collection getTSDEDUCCIONES12()          Returns the current record's "TS_DEDUCCIONES_12" collection
 * @method Doctrine_Collection getTSDEDUCCIONES13()          Returns the current record's "TS_DEDUCCIONES_13" collection
 * @method Doctrine_Collection getTSDEDUCCIONES14()          Returns the current record's "TS_DEDUCCIONES_14" collection
 * @method Doctrine_Collection getTSDEDUCCIONES15()          Returns the current record's "TS_DEDUCCIONES_15" collection
 * @method Doctrine_Collection getTSDEDUCCIONES16()          Returns the current record's "TS_DEDUCCIONES_16" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES()      Returns the current record's "TS_OBLIGACION_APORTES" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES3()     Returns the current record's "TS_OBLIGACION_APORTES_3" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES4()     Returns the current record's "TS_OBLIGACION_APORTES_4" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES5()     Returns the current record's "TS_OBLIGACION_APORTES_5" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES6()     Returns the current record's "TS_OBLIGACION_APORTES_6" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES7()     Returns the current record's "TS_OBLIGACION_APORTES_7" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES8()     Returns the current record's "TS_OBLIGACION_APORTES_8" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES9()     Returns the current record's "TS_OBLIGACION_APORTES_9" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES10()    Returns the current record's "TS_OBLIGACION_APORTES_10" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES11()    Returns the current record's "TS_OBLIGACION_APORTES_11" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES12()    Returns the current record's "TS_OBLIGACION_APORTES_12" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES13()    Returns the current record's "TS_OBLIGACION_APORTES_13" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES14()    Returns the current record's "TS_OBLIGACION_APORTES_14" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES15()    Returns the current record's "TS_OBLIGACION_APORTES_15" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES16()    Returns the current record's "TS_OBLIGACION_APORTES_16" collection
 * @method Doctrine_Collection getTSOBLIGACIONAPORTES17()    Returns the current record's "TS_OBLIGACION_APORTES_17" collection
 * @method Doctrine_Collection getTSOBLIGACIONIVA()          Returns the current record's "TS_OBLIGACION_IVA" collection
 * @method Doctrine_Collection getTSOBLIGACIONIVA2()         Returns the current record's "TS_OBLIGACION_IVA_2" collection
 * @method Doctrine_Collection getTSOBLIGACIONIVA3()         Returns the current record's "TS_OBLIGACION_IVA_3" collection
 * @method Doctrine_Collection getTSOBLIGACIONIVA4()         Returns the current record's "TS_OBLIGACION_IVA_4" collection
 * @method Doctrine_Collection getTSOBLIGACIONIVA5()         Returns the current record's "TS_OBLIGACION_IVA_5" collection
 * @method Doctrine_Collection getTSOBLIGACIONIVA6()         Returns the current record's "TS_OBLIGACION_IVA_6" collection
 * @method Doctrine_Collection getTSOBLIGACIONIVA7()         Returns the current record's "TS_OBLIGACION_IVA_7" collection
 * @method Doctrine_Collection getTSOBLIGACIONIVA8()         Returns the current record's "TS_OBLIGACION_IVA_8" collection
 * @method Doctrine_Collection getTSOBLIGACIONIVA9()         Returns the current record's "TS_OBLIGACION_IVA_9" collection
 * @method Doctrine_Collection getTSOBLIGACIONIVA10()        Returns the current record's "TS_OBLIGACION_IVA_10" collection
 * @method Doctrine_Collection getTSOBLIGACIONIVA11()        Returns the current record's "TS_OBLIGACION_IVA_11" collection
 * @method Doctrine_Collection getTSOBLIGACIONIVA12()        Returns the current record's "TS_OBLIGACION_IVA_12" collection
 * @method Doctrine_Collection getTSOBLIGACIONIVA13()        Returns the current record's "TS_OBLIGACION_IVA_13" collection
 * @method Doctrine_Collection getTSOBLIGACIONIVA14()        Returns the current record's "TS_OBLIGACION_IVA_14" collection
 * @method Doctrine_Collection getTSOBLIGACIONIVA15()        Returns the current record's "TS_OBLIGACION_IVA_15" collection
 * @method Doctrine_Collection getTSOBLIGACIONIVA16()        Returns the current record's "TS_OBLIGACION_IVA_16" collection
 * @method Doctrine_Collection getTSOBLIGACIONVAL()          Returns the current record's "TS_OBLIGACION_VAL" collection
 * @method Doctrine_Collection getTSOBLIGACIONVAL2()         Returns the current record's "TS_OBLIGACION_VAL_2" collection
 * @method Doctrine_Collection getTSOBLIGACIONVAL3()         Returns the current record's "TS_OBLIGACION_VAL_3" collection
 * @method Doctrine_Collection getTSOBLIGACIONVAL4()         Returns the current record's "TS_OBLIGACION_VAL_4" collection
 * @method Doctrine_Collection getTSOBLIGACIONVAL5()         Returns the current record's "TS_OBLIGACION_VAL_5" collection
 * @method Doctrine_Collection getTSOBLIGACIONVAL6()         Returns the current record's "TS_OBLIGACION_VAL_6" collection
 * @method Doctrine_Collection getTSOBLIGACIONVAL7()         Returns the current record's "TS_OBLIGACION_VAL_7" collection
 * @method Doctrine_Collection getTSOBLIGACIONVAL8()         Returns the current record's "TS_OBLIGACION_VAL_8" collection
 * @method Doctrine_Collection getTSOBLIGACIONVAL9()         Returns the current record's "TS_OBLIGACION_VAL_9" collection
 * @method Doctrine_Collection getTSOBLIGACIONVAL10()        Returns the current record's "TS_OBLIGACION_VAL_10" collection
 * @method Doctrine_Collection getTSOBLIGACIONVAL11()        Returns the current record's "TS_OBLIGACION_VAL_11" collection
 * @method Doctrine_Collection getTSOBLIGACIONVAL12()        Returns the current record's "TS_OBLIGACION_VAL_12" collection
 * @method Doctrine_Collection getTSOBLIGACIONVAL13()        Returns the current record's "TS_OBLIGACION_VAL_13" collection
 * @method Doctrine_Collection getTSOBLIGACIONVAL14()        Returns the current record's "TS_OBLIGACION_VAL_14" collection
 * @method Doctrine_Collection getTSOBLIGACIONVAL15()        Returns the current record's "TS_OBLIGACION_VAL_15" collection
 * @method Doctrine_Collection getTSOBLIGACIONVAL16()        Returns the current record's "TS_OBLIGACION_VAL_16" collection
 * @method Doctrine_Collection getTSOBLIGAEQUIVA()           Returns the current record's "TS_OBLIGA_EQUIVA" collection
 * @method Doctrine_Collection getTSOBLIGAEQUIVA2()          Returns the current record's "TS_OBLIGA_EQUIVA_2" collection
 * @method Doctrine_Collection getTSOBLIGAEQUIVA3()          Returns the current record's "TS_OBLIGA_EQUIVA_3" collection
 * @method Doctrine_Collection getTSOBLIGAEQUIVA4()          Returns the current record's "TS_OBLIGA_EQUIVA_4" collection
 * @method Doctrine_Collection getTSOBLIGAEQUIVA5()          Returns the current record's "TS_OBLIGA_EQUIVA_5" collection
 * @method Doctrine_Collection getTSOBLIGAEQUIVA6()          Returns the current record's "TS_OBLIGA_EQUIVA_6" collection
 * @method Doctrine_Collection getTSOBLIGAEQUIVA7()          Returns the current record's "TS_OBLIGA_EQUIVA_7" collection
 * @method Doctrine_Collection getTSOBLIGAEQUIVA8()          Returns the current record's "TS_OBLIGA_EQUIVA_8" collection
 * @method Doctrine_Collection getTSOBLIGAEQUIVA9()          Returns the current record's "TS_OBLIGA_EQUIVA_9" collection
 * @method Doctrine_Collection getTSOBLIGAEQUIVA10()         Returns the current record's "TS_OBLIGA_EQUIVA_10" collection
 * @method Doctrine_Collection getTSOBLIGAEQUIVA11()         Returns the current record's "TS_OBLIGA_EQUIVA_11" collection
 * @method Doctrine_Collection getTSOBLIGAEQUIVA12()         Returns the current record's "TS_OBLIGA_EQUIVA_12" collection
 * @method Doctrine_Collection getTSOBLIGAEQUIVA13()         Returns the current record's "TS_OBLIGA_EQUIVA_13" collection
 * @method Doctrine_Collection getTSOBLIGAEQUIVA14()         Returns the current record's "TS_OBLIGA_EQUIVA_14" collection
 * @method Doctrine_Collection getTSOBLIGAEQUIVA15()         Returns the current record's "TS_OBLIGA_EQUIVA_15" collection
 * @method Doctrine_Collection getTSOBLIGAEQUIVA16()         Returns the current record's "TS_OBLIGA_EQUIVA_16" collection
 * @method TS_OBLIGACION       setIdObligacion()             Sets the current record's "id_obligacion" value
 * @method TS_OBLIGACION       setIdRp()                     Sets the current record's "id_rp" value
 * @method TS_OBLIGACION       setIdAsign()                  Sets the current record's "id_asign" value
 * @method TS_OBLIGACION       setIdCpx()                    Sets the current record's "id_cpx" value
 * @method TS_OBLIGACION       setSecuencia()                Sets the current record's "secuencia" value
 * @method TS_OBLIGACION       setIdClaseCxp()               Sets the current record's "id_clase_cxp" value
 * @method TS_OBLIGACION       setValorObligacion()          Sets the current record's "valor_obligacion" value
 * @method TS_OBLIGACION       setFechaProceso()             Sets the current record's "fecha_proceso" value
 * @method TS_OBLIGACION       setFechaSistema()             Sets the current record's "fecha_sistema" value
 * @method TS_OBLIGACION       setUsuario()                  Sets the current record's "usuario" value
 * @method TS_OBLIGACION       setObservaciones()            Sets the current record's "observaciones" value
 * @method TS_OBLIGACION       setIdPagosObliga()            Sets the current record's "id_pagos_obliga" value
 * @method TS_OBLIGACION       setIdVigencia()               Sets the current record's "id_vigencia" value
 * @method TS_OBLIGACION       setAnoFiscal()                Sets the current record's "ano_fiscal" value
 * @method TS_OBLIGACION       setTipoObligacion()           Sets the current record's "tipo_obligacion" value
 * @method TS_OBLIGACION       setEstado()                   Sets the current record's "estado" value
 * @method TS_OBLIGACION       setBloqueoPago()              Sets the current record's "bloqueo_pago" value
 * @method TS_OBLIGACION       setPRPAGOSOBLIGA()            Sets the current record's "PR_PAGOS_OBLIGA" collection
 * @method TS_OBLIGACION       setPRPAGOSOBLIGA2()           Sets the current record's "PR_PAGOS_OBLIGA_2" collection
 * @method TS_OBLIGACION       setPRPAGOSOBLIGA3()           Sets the current record's "PR_PAGOS_OBLIGA_3" collection
 * @method TS_OBLIGACION       setPRPAGOSOBLIGA4()           Sets the current record's "PR_PAGOS_OBLIGA_4" collection
 * @method TS_OBLIGACION       setPRPAGOSOBLIGA5()           Sets the current record's "PR_PAGOS_OBLIGA_5" collection
 * @method TS_OBLIGACION       setPRPAGOSOBLIGA6()           Sets the current record's "PR_PAGOS_OBLIGA_6" collection
 * @method TS_OBLIGACION       setPRPAGOSOBLIGA7()           Sets the current record's "PR_PAGOS_OBLIGA_7" collection
 * @method TS_OBLIGACION       setPRPAGOSOBLIGA8()           Sets the current record's "PR_PAGOS_OBLIGA_8" collection
 * @method TS_OBLIGACION       setPRPAGOSOBLIGA9()           Sets the current record's "PR_PAGOS_OBLIGA_9" collection
 * @method TS_OBLIGACION       setPRPAGOSOBLIGA10()          Sets the current record's "PR_PAGOS_OBLIGA_10" collection
 * @method TS_OBLIGACION       setPRPAGOSOBLIGA11()          Sets the current record's "PR_PAGOS_OBLIGA_11" collection
 * @method TS_OBLIGACION       setPRPAGOSOBLIGA12()          Sets the current record's "PR_PAGOS_OBLIGA_12" collection
 * @method TS_OBLIGACION       setPRPAGOSOBLIGA13()          Sets the current record's "PR_PAGOS_OBLIGA_13" collection
 * @method TS_OBLIGACION       setPRPAGOSOBLIGA14()          Sets the current record's "PR_PAGOS_OBLIGA_14" collection
 * @method TS_OBLIGACION       setPRPAGOSOBLIGA15()          Sets the current record's "PR_PAGOS_OBLIGA_15" collection
 * @method TS_OBLIGACION       setPRPAGOSOBLIGA16()          Sets the current record's "PR_PAGOS_OBLIGA_16" collection
 * @method TS_OBLIGACION       setTSDCSAFI()                 Sets the current record's "TSDC_SAFI" collection
 * @method TS_OBLIGACION       setTSDCSAFI2()                Sets the current record's "TSDC_SAFI_2" collection
 * @method TS_OBLIGACION       setTSDCSAFI3()                Sets the current record's "TSDC_SAFI_3" collection
 * @method TS_OBLIGACION       setTSDCSAFI4()                Sets the current record's "TSDC_SAFI_4" collection
 * @method TS_OBLIGACION       setTSDCSAFI5()                Sets the current record's "TSDC_SAFI_5" collection
 * @method TS_OBLIGACION       setTSDCSAFI6()                Sets the current record's "TSDC_SAFI_6" collection
 * @method TS_OBLIGACION       setTSDCSAFI7()                Sets the current record's "TSDC_SAFI_7" collection
 * @method TS_OBLIGACION       setTSDCSAFI8()                Sets the current record's "TSDC_SAFI_8" collection
 * @method TS_OBLIGACION       setTSDCSAFI9()                Sets the current record's "TSDC_SAFI_9" collection
 * @method TS_OBLIGACION       setTSDCSAFI10()               Sets the current record's "TSDC_SAFI_10" collection
 * @method TS_OBLIGACION       setTSDCSAFI11()               Sets the current record's "TSDC_SAFI_11" collection
 * @method TS_OBLIGACION       setTSDCSAFI12()               Sets the current record's "TSDC_SAFI_12" collection
 * @method TS_OBLIGACION       setTSDCSAFI13()               Sets the current record's "TSDC_SAFI_13" collection
 * @method TS_OBLIGACION       setTSDCSAFI14()               Sets the current record's "TSDC_SAFI_14" collection
 * @method TS_OBLIGACION       setTSDCSAFI15()               Sets the current record's "TSDC_SAFI_15" collection
 * @method TS_OBLIGACION       setTSDCSAFI16()               Sets the current record's "TSDC_SAFI_16" collection
 * @method TS_OBLIGACION       setTSDEDUCCIONES()            Sets the current record's "TS_DEDUCCIONES" collection
 * @method TS_OBLIGACION       setTSDEDUCCIONES2()           Sets the current record's "TS_DEDUCCIONES_2" collection
 * @method TS_OBLIGACION       setTSDEDUCCIONES3()           Sets the current record's "TS_DEDUCCIONES_3" collection
 * @method TS_OBLIGACION       setTSDEDUCCIONES4()           Sets the current record's "TS_DEDUCCIONES_4" collection
 * @method TS_OBLIGACION       setTSDEDUCCIONES5()           Sets the current record's "TS_DEDUCCIONES_5" collection
 * @method TS_OBLIGACION       setTSDEDUCCIONES6()           Sets the current record's "TS_DEDUCCIONES_6" collection
 * @method TS_OBLIGACION       setTSDEDUCCIONES7()           Sets the current record's "TS_DEDUCCIONES_7" collection
 * @method TS_OBLIGACION       setTSDEDUCCIONES8()           Sets the current record's "TS_DEDUCCIONES_8" collection
 * @method TS_OBLIGACION       setTSDEDUCCIONES9()           Sets the current record's "TS_DEDUCCIONES_9" collection
 * @method TS_OBLIGACION       setTSDEDUCCIONES10()          Sets the current record's "TS_DEDUCCIONES_10" collection
 * @method TS_OBLIGACION       setTSDEDUCCIONES11()          Sets the current record's "TS_DEDUCCIONES_11" collection
 * @method TS_OBLIGACION       setTSDEDUCCIONES12()          Sets the current record's "TS_DEDUCCIONES_12" collection
 * @method TS_OBLIGACION       setTSDEDUCCIONES13()          Sets the current record's "TS_DEDUCCIONES_13" collection
 * @method TS_OBLIGACION       setTSDEDUCCIONES14()          Sets the current record's "TS_DEDUCCIONES_14" collection
 * @method TS_OBLIGACION       setTSDEDUCCIONES15()          Sets the current record's "TS_DEDUCCIONES_15" collection
 * @method TS_OBLIGACION       setTSDEDUCCIONES16()          Sets the current record's "TS_DEDUCCIONES_16" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONAPORTES()      Sets the current record's "TS_OBLIGACION_APORTES" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONAPORTES3()     Sets the current record's "TS_OBLIGACION_APORTES_3" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONAPORTES4()     Sets the current record's "TS_OBLIGACION_APORTES_4" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONAPORTES5()     Sets the current record's "TS_OBLIGACION_APORTES_5" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONAPORTES6()     Sets the current record's "TS_OBLIGACION_APORTES_6" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONAPORTES7()     Sets the current record's "TS_OBLIGACION_APORTES_7" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONAPORTES8()     Sets the current record's "TS_OBLIGACION_APORTES_8" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONAPORTES9()     Sets the current record's "TS_OBLIGACION_APORTES_9" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONAPORTES10()    Sets the current record's "TS_OBLIGACION_APORTES_10" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONAPORTES11()    Sets the current record's "TS_OBLIGACION_APORTES_11" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONAPORTES12()    Sets the current record's "TS_OBLIGACION_APORTES_12" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONAPORTES13()    Sets the current record's "TS_OBLIGACION_APORTES_13" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONAPORTES14()    Sets the current record's "TS_OBLIGACION_APORTES_14" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONAPORTES15()    Sets the current record's "TS_OBLIGACION_APORTES_15" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONAPORTES16()    Sets the current record's "TS_OBLIGACION_APORTES_16" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONAPORTES17()    Sets the current record's "TS_OBLIGACION_APORTES_17" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONIVA()          Sets the current record's "TS_OBLIGACION_IVA" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONIVA2()         Sets the current record's "TS_OBLIGACION_IVA_2" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONIVA3()         Sets the current record's "TS_OBLIGACION_IVA_3" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONIVA4()         Sets the current record's "TS_OBLIGACION_IVA_4" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONIVA5()         Sets the current record's "TS_OBLIGACION_IVA_5" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONIVA6()         Sets the current record's "TS_OBLIGACION_IVA_6" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONIVA7()         Sets the current record's "TS_OBLIGACION_IVA_7" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONIVA8()         Sets the current record's "TS_OBLIGACION_IVA_8" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONIVA9()         Sets the current record's "TS_OBLIGACION_IVA_9" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONIVA10()        Sets the current record's "TS_OBLIGACION_IVA_10" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONIVA11()        Sets the current record's "TS_OBLIGACION_IVA_11" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONIVA12()        Sets the current record's "TS_OBLIGACION_IVA_12" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONIVA13()        Sets the current record's "TS_OBLIGACION_IVA_13" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONIVA14()        Sets the current record's "TS_OBLIGACION_IVA_14" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONIVA15()        Sets the current record's "TS_OBLIGACION_IVA_15" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONIVA16()        Sets the current record's "TS_OBLIGACION_IVA_16" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONVAL()          Sets the current record's "TS_OBLIGACION_VAL" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONVAL2()         Sets the current record's "TS_OBLIGACION_VAL_2" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONVAL3()         Sets the current record's "TS_OBLIGACION_VAL_3" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONVAL4()         Sets the current record's "TS_OBLIGACION_VAL_4" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONVAL5()         Sets the current record's "TS_OBLIGACION_VAL_5" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONVAL6()         Sets the current record's "TS_OBLIGACION_VAL_6" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONVAL7()         Sets the current record's "TS_OBLIGACION_VAL_7" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONVAL8()         Sets the current record's "TS_OBLIGACION_VAL_8" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONVAL9()         Sets the current record's "TS_OBLIGACION_VAL_9" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONVAL10()        Sets the current record's "TS_OBLIGACION_VAL_10" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONVAL11()        Sets the current record's "TS_OBLIGACION_VAL_11" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONVAL12()        Sets the current record's "TS_OBLIGACION_VAL_12" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONVAL13()        Sets the current record's "TS_OBLIGACION_VAL_13" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONVAL14()        Sets the current record's "TS_OBLIGACION_VAL_14" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONVAL15()        Sets the current record's "TS_OBLIGACION_VAL_15" collection
 * @method TS_OBLIGACION       setTSOBLIGACIONVAL16()        Sets the current record's "TS_OBLIGACION_VAL_16" collection
 * @method TS_OBLIGACION       setTSOBLIGAEQUIVA()           Sets the current record's "TS_OBLIGA_EQUIVA" collection
 * @method TS_OBLIGACION       setTSOBLIGAEQUIVA2()          Sets the current record's "TS_OBLIGA_EQUIVA_2" collection
 * @method TS_OBLIGACION       setTSOBLIGAEQUIVA3()          Sets the current record's "TS_OBLIGA_EQUIVA_3" collection
 * @method TS_OBLIGACION       setTSOBLIGAEQUIVA4()          Sets the current record's "TS_OBLIGA_EQUIVA_4" collection
 * @method TS_OBLIGACION       setTSOBLIGAEQUIVA5()          Sets the current record's "TS_OBLIGA_EQUIVA_5" collection
 * @method TS_OBLIGACION       setTSOBLIGAEQUIVA6()          Sets the current record's "TS_OBLIGA_EQUIVA_6" collection
 * @method TS_OBLIGACION       setTSOBLIGAEQUIVA7()          Sets the current record's "TS_OBLIGA_EQUIVA_7" collection
 * @method TS_OBLIGACION       setTSOBLIGAEQUIVA8()          Sets the current record's "TS_OBLIGA_EQUIVA_8" collection
 * @method TS_OBLIGACION       setTSOBLIGAEQUIVA9()          Sets the current record's "TS_OBLIGA_EQUIVA_9" collection
 * @method TS_OBLIGACION       setTSOBLIGAEQUIVA10()         Sets the current record's "TS_OBLIGA_EQUIVA_10" collection
 * @method TS_OBLIGACION       setTSOBLIGAEQUIVA11()         Sets the current record's "TS_OBLIGA_EQUIVA_11" collection
 * @method TS_OBLIGACION       setTSOBLIGAEQUIVA12()         Sets the current record's "TS_OBLIGA_EQUIVA_12" collection
 * @method TS_OBLIGACION       setTSOBLIGAEQUIVA13()         Sets the current record's "TS_OBLIGA_EQUIVA_13" collection
 * @method TS_OBLIGACION       setTSOBLIGAEQUIVA14()         Sets the current record's "TS_OBLIGA_EQUIVA_14" collection
 * @method TS_OBLIGACION       setTSOBLIGAEQUIVA15()         Sets the current record's "TS_OBLIGA_EQUIVA_15" collection
 * @method TS_OBLIGACION       setTSOBLIGAEQUIVA16()         Sets the current record's "TS_OBLIGA_EQUIVA_16" collection
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_OBLIGACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_OBLIGACION');
        $this->hasColumn('id_obligacion', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_rp', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_asign', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cpx', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('secuencia', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_clase_cxp', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_obligacion', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_sistema', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('id_pagos_obliga', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('ano_fiscal', 'string', 4, array(
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 4,
             ));
        $this->hasColumn('tipo_obligacion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('bloqueo_pago', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasMany('PR_PAGOS_OBLIGA', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_obligacion'));

        $this->hasMany('PR_PAGOS_OBLIGA as PR_PAGOS_OBLIGA_2', array(
             'local' => 'id_obligacion',
             'foreign' => 'secuencia'));

        $this->hasMany('PR_PAGOS_OBLIGA as PR_PAGOS_OBLIGA_3', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_PAGOS_OBLIGA as PR_PAGOS_OBLIGA_4', array(
             'local' => 'id_obligacion',
             'foreign' => 'vigencia'));

        $this->hasMany('PR_PAGOS_OBLIGA as PR_PAGOS_OBLIGA_5', array(
             'local' => 'secuencia',
             'foreign' => 'id_obligacion'));

        $this->hasMany('PR_PAGOS_OBLIGA as PR_PAGOS_OBLIGA_6', array(
             'local' => 'secuencia',
             'foreign' => 'secuencia'));

        $this->hasMany('PR_PAGOS_OBLIGA as PR_PAGOS_OBLIGA_7', array(
             'local' => 'secuencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_PAGOS_OBLIGA as PR_PAGOS_OBLIGA_8', array(
             'local' => 'secuencia',
             'foreign' => 'vigencia'));

        $this->hasMany('PR_PAGOS_OBLIGA as PR_PAGOS_OBLIGA_9', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_obligacion'));

        $this->hasMany('PR_PAGOS_OBLIGA as PR_PAGOS_OBLIGA_10', array(
             'local' => 'id_vigencia',
             'foreign' => 'secuencia'));

        $this->hasMany('PR_PAGOS_OBLIGA as PR_PAGOS_OBLIGA_11', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_PAGOS_OBLIGA as PR_PAGOS_OBLIGA_12', array(
             'local' => 'id_vigencia',
             'foreign' => 'vigencia'));

        $this->hasMany('PR_PAGOS_OBLIGA as PR_PAGOS_OBLIGA_13', array(
             'local' => 'ano_fiscal',
             'foreign' => 'id_obligacion'));

        $this->hasMany('PR_PAGOS_OBLIGA as PR_PAGOS_OBLIGA_14', array(
             'local' => 'ano_fiscal',
             'foreign' => 'secuencia'));

        $this->hasMany('PR_PAGOS_OBLIGA as PR_PAGOS_OBLIGA_15', array(
             'local' => 'ano_fiscal',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_PAGOS_OBLIGA as PR_PAGOS_OBLIGA_16', array(
             'local' => 'ano_fiscal',
             'foreign' => 'vigencia'));

        $this->hasMany('TSDC_SAFI', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TSDC_SAFI as TSDC_SAFI_2', array(
             'local' => 'id_obligacion',
             'foreign' => 'secuencia'));

        $this->hasMany('TSDC_SAFI as TSDC_SAFI_3', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TSDC_SAFI as TSDC_SAFI_4', array(
             'local' => 'id_obligacion',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TSDC_SAFI as TSDC_SAFI_5', array(
             'local' => 'secuencia',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TSDC_SAFI as TSDC_SAFI_6', array(
             'local' => 'secuencia',
             'foreign' => 'secuencia'));

        $this->hasMany('TSDC_SAFI as TSDC_SAFI_7', array(
             'local' => 'secuencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TSDC_SAFI as TSDC_SAFI_8', array(
             'local' => 'secuencia',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TSDC_SAFI as TSDC_SAFI_9', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TSDC_SAFI as TSDC_SAFI_10', array(
             'local' => 'id_vigencia',
             'foreign' => 'secuencia'));

        $this->hasMany('TSDC_SAFI as TSDC_SAFI_11', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TSDC_SAFI as TSDC_SAFI_12', array(
             'local' => 'id_vigencia',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TSDC_SAFI as TSDC_SAFI_13', array(
             'local' => 'ano_fiscal',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TSDC_SAFI as TSDC_SAFI_14', array(
             'local' => 'ano_fiscal',
             'foreign' => 'secuencia'));

        $this->hasMany('TSDC_SAFI as TSDC_SAFI_15', array(
             'local' => 'ano_fiscal',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TSDC_SAFI as TSDC_SAFI_16', array(
             'local' => 'ano_fiscal',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_DEDUCCIONES', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_DEDUCCIONES as TS_DEDUCCIONES_2', array(
             'local' => 'id_obligacion',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_DEDUCCIONES as TS_DEDUCCIONES_3', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_DEDUCCIONES as TS_DEDUCCIONES_4', array(
             'local' => 'id_obligacion',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_DEDUCCIONES as TS_DEDUCCIONES_5', array(
             'local' => 'secuencia',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_DEDUCCIONES as TS_DEDUCCIONES_6', array(
             'local' => 'secuencia',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_DEDUCCIONES as TS_DEDUCCIONES_7', array(
             'local' => 'secuencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_DEDUCCIONES as TS_DEDUCCIONES_8', array(
             'local' => 'secuencia',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_DEDUCCIONES as TS_DEDUCCIONES_9', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_DEDUCCIONES as TS_DEDUCCIONES_10', array(
             'local' => 'id_vigencia',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_DEDUCCIONES as TS_DEDUCCIONES_11', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_DEDUCCIONES as TS_DEDUCCIONES_12', array(
             'local' => 'id_vigencia',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_DEDUCCIONES as TS_DEDUCCIONES_13', array(
             'local' => 'ano_fiscal',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_DEDUCCIONES as TS_DEDUCCIONES_14', array(
             'local' => 'ano_fiscal',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_DEDUCCIONES as TS_DEDUCCIONES_15', array(
             'local' => 'ano_fiscal',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_DEDUCCIONES as TS_DEDUCCIONES_16', array(
             'local' => 'ano_fiscal',
             'foreign' => 'ano_fiscal'));

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

        $this->hasMany('TS_OBLIGACION_APORTES as TS_OBLIGACION_APORTES_3', array(
             'local' => 'id_obligacion',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_OBLIGACION_APORTES as TS_OBLIGACION_APORTES_4', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_OBLIGACION_APORTES as TS_OBLIGACION_APORTES_5', array(
             'local' => 'id_obligacion',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_OBLIGACION_APORTES as TS_OBLIGACION_APORTES_6', array(
             'local' => 'secuencia',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_OBLIGACION_APORTES as TS_OBLIGACION_APORTES_7', array(
             'local' => 'secuencia',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_OBLIGACION_APORTES as TS_OBLIGACION_APORTES_8', array(
             'local' => 'secuencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_OBLIGACION_APORTES as TS_OBLIGACION_APORTES_9', array(
             'local' => 'secuencia',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_OBLIGACION_APORTES as TS_OBLIGACION_APORTES_10', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_OBLIGACION_APORTES as TS_OBLIGACION_APORTES_11', array(
             'local' => 'id_vigencia',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_OBLIGACION_APORTES as TS_OBLIGACION_APORTES_12', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_OBLIGACION_APORTES as TS_OBLIGACION_APORTES_13', array(
             'local' => 'id_vigencia',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_OBLIGACION_APORTES as TS_OBLIGACION_APORTES_14', array(
             'local' => 'ano_fiscal',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_OBLIGACION_APORTES as TS_OBLIGACION_APORTES_15', array(
             'local' => 'ano_fiscal',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_OBLIGACION_APORTES as TS_OBLIGACION_APORTES_16', array(
             'local' => 'ano_fiscal',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_OBLIGACION_APORTES as TS_OBLIGACION_APORTES_17', array(
             'local' => 'ano_fiscal',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_OBLIGACION_IVA', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_OBLIGACION_IVA as TS_OBLIGACION_IVA_2', array(
             'local' => 'id_obligacion',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_OBLIGACION_IVA as TS_OBLIGACION_IVA_3', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_OBLIGACION_IVA as TS_OBLIGACION_IVA_4', array(
             'local' => 'id_obligacion',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_OBLIGACION_IVA as TS_OBLIGACION_IVA_5', array(
             'local' => 'secuencia',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_OBLIGACION_IVA as TS_OBLIGACION_IVA_6', array(
             'local' => 'secuencia',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_OBLIGACION_IVA as TS_OBLIGACION_IVA_7', array(
             'local' => 'secuencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_OBLIGACION_IVA as TS_OBLIGACION_IVA_8', array(
             'local' => 'secuencia',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_OBLIGACION_IVA as TS_OBLIGACION_IVA_9', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_OBLIGACION_IVA as TS_OBLIGACION_IVA_10', array(
             'local' => 'id_vigencia',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_OBLIGACION_IVA as TS_OBLIGACION_IVA_11', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_OBLIGACION_IVA as TS_OBLIGACION_IVA_12', array(
             'local' => 'id_vigencia',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_OBLIGACION_IVA as TS_OBLIGACION_IVA_13', array(
             'local' => 'ano_fiscal',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_OBLIGACION_IVA as TS_OBLIGACION_IVA_14', array(
             'local' => 'ano_fiscal',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_OBLIGACION_IVA as TS_OBLIGACION_IVA_15', array(
             'local' => 'ano_fiscal',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_OBLIGACION_IVA as TS_OBLIGACION_IVA_16', array(
             'local' => 'ano_fiscal',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_OBLIGACION_VAL', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_OBLIGACION_VAL as TS_OBLIGACION_VAL_2', array(
             'local' => 'id_obligacion',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_OBLIGACION_VAL as TS_OBLIGACION_VAL_3', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_OBLIGACION_VAL as TS_OBLIGACION_VAL_4', array(
             'local' => 'id_obligacion',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_OBLIGACION_VAL as TS_OBLIGACION_VAL_5', array(
             'local' => 'secuencia',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_OBLIGACION_VAL as TS_OBLIGACION_VAL_6', array(
             'local' => 'secuencia',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_OBLIGACION_VAL as TS_OBLIGACION_VAL_7', array(
             'local' => 'secuencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_OBLIGACION_VAL as TS_OBLIGACION_VAL_8', array(
             'local' => 'secuencia',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_OBLIGACION_VAL as TS_OBLIGACION_VAL_9', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_OBLIGACION_VAL as TS_OBLIGACION_VAL_10', array(
             'local' => 'id_vigencia',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_OBLIGACION_VAL as TS_OBLIGACION_VAL_11', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_OBLIGACION_VAL as TS_OBLIGACION_VAL_12', array(
             'local' => 'id_vigencia',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_OBLIGACION_VAL as TS_OBLIGACION_VAL_13', array(
             'local' => 'ano_fiscal',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_OBLIGACION_VAL as TS_OBLIGACION_VAL_14', array(
             'local' => 'ano_fiscal',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_OBLIGACION_VAL as TS_OBLIGACION_VAL_15', array(
             'local' => 'ano_fiscal',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_OBLIGACION_VAL as TS_OBLIGACION_VAL_16', array(
             'local' => 'ano_fiscal',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_OBLIGA_EQUIVA', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_OBLIGA_EQUIVA as TS_OBLIGA_EQUIVA_2', array(
             'local' => 'id_obligacion',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_OBLIGA_EQUIVA as TS_OBLIGA_EQUIVA_3', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_OBLIGA_EQUIVA as TS_OBLIGA_EQUIVA_4', array(
             'local' => 'id_obligacion',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_OBLIGA_EQUIVA as TS_OBLIGA_EQUIVA_5', array(
             'local' => 'secuencia',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_OBLIGA_EQUIVA as TS_OBLIGA_EQUIVA_6', array(
             'local' => 'secuencia',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_OBLIGA_EQUIVA as TS_OBLIGA_EQUIVA_7', array(
             'local' => 'secuencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_OBLIGA_EQUIVA as TS_OBLIGA_EQUIVA_8', array(
             'local' => 'secuencia',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_OBLIGA_EQUIVA as TS_OBLIGA_EQUIVA_9', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_OBLIGA_EQUIVA as TS_OBLIGA_EQUIVA_10', array(
             'local' => 'id_vigencia',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_OBLIGA_EQUIVA as TS_OBLIGA_EQUIVA_11', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_OBLIGA_EQUIVA as TS_OBLIGA_EQUIVA_12', array(
             'local' => 'id_vigencia',
             'foreign' => 'ano_fiscal'));

        $this->hasMany('TS_OBLIGA_EQUIVA as TS_OBLIGA_EQUIVA_13', array(
             'local' => 'ano_fiscal',
             'foreign' => 'id_obligacion'));

        $this->hasMany('TS_OBLIGA_EQUIVA as TS_OBLIGA_EQUIVA_14', array(
             'local' => 'ano_fiscal',
             'foreign' => 'secuencia'));

        $this->hasMany('TS_OBLIGA_EQUIVA as TS_OBLIGA_EQUIVA_15', array(
             'local' => 'ano_fiscal',
             'foreign' => 'id_vigencia'));

        $this->hasMany('TS_OBLIGA_EQUIVA as TS_OBLIGA_EQUIVA_16', array(
             'local' => 'ano_fiscal',
             'foreign' => 'ano_fiscal'));
    }
}