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

/**
 * BaseCM_OBLIGACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_obligacion
 * @property integer $secuencia
 * @property integer $id_vigencia
 * @property string $vigencia
 * @property integer $id_rp
 * @property integer $id_clase_cxp
 * @property timestamp $fecha_proceso
 * @property string $observaciones
 * @property integer $estado
 * @property string $usuariolog
 * @property timestamp $fechalog
 * @property integer $id_caja_menor
 * @property string $num_soporte
 * @property integer $tipo_soporte
 * @property timestamp $fecha_soporte
 * @property integer $id_mae_ter
 * @property Doctrine_Collection $CM_OBLIGACION_IVA
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_2
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_3
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_4
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_5
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_6
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_7
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_8
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_9
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_10
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_11
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_12
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_13
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_14
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_15
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_16
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_17
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_18
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_19
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_20
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_21
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_22
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_23
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_24
 * @property Doctrine_Collection $CM_OBLIGACION_IVA_25
 * @property Doctrine_Collection $CM_OBLIGACION_VAL
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_2
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_3
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_4
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_5
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_6
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_7
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_8
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_9
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_10
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_11
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_12
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_13
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_14
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_15
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_16
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_17
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_18
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_19
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_20
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_21
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_22
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_23
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_24
 * @property Doctrine_Collection $CM_OBLIGACION_VAL_25
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_2
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_3
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_4
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_5
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_6
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_7
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_8
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_9
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_10
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_11
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_12
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_13
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_14
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_15
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_16
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_17
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_18
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_19
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_20
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_21
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_22
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_23
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_24
 * @property Doctrine_Collection $CM_OBLIGA_DEDUCCIONES_25
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_2
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_3
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_4
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_5
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_6
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_7
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_8
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_9
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_10
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_11
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_12
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_13
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_14
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_15
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_16
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_17
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_18
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_19
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_20
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_21
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_22
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_23
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_24
 * @property Doctrine_Collection $CM_ANUL_OBLIGACION_25
 * 
 * @method integer             getIdObligacion()             Returns the current record's "id_obligacion" value
 * @method integer             getSecuencia()                Returns the current record's "secuencia" value
 * @method integer             getIdVigencia()               Returns the current record's "id_vigencia" value
 * @method string              getVigencia()                 Returns the current record's "vigencia" value
 * @method integer             getIdRp()                     Returns the current record's "id_rp" value
 * @method integer             getIdClaseCxp()               Returns the current record's "id_clase_cxp" value
 * @method timestamp           getFechaProceso()             Returns the current record's "fecha_proceso" value
 * @method string              getObservaciones()            Returns the current record's "observaciones" value
 * @method integer             getEstado()                   Returns the current record's "estado" value
 * @method string              getUsuariolog()               Returns the current record's "usuariolog" value
 * @method timestamp           getFechalog()                 Returns the current record's "fechalog" value
 * @method integer             getIdCajaMenor()              Returns the current record's "id_caja_menor" value
 * @method string              getNumSoporte()               Returns the current record's "num_soporte" value
 * @method integer             getTipoSoporte()              Returns the current record's "tipo_soporte" value
 * @method timestamp           getFechaSoporte()             Returns the current record's "fecha_soporte" value
 * @method integer             getIdMaeTer()                 Returns the current record's "id_mae_ter" value
 * @method Doctrine_Collection getCMOBLIGACIONIVA()          Returns the current record's "CM_OBLIGACION_IVA" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA2()         Returns the current record's "CM_OBLIGACION_IVA_2" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA3()         Returns the current record's "CM_OBLIGACION_IVA_3" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA4()         Returns the current record's "CM_OBLIGACION_IVA_4" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA5()         Returns the current record's "CM_OBLIGACION_IVA_5" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA6()         Returns the current record's "CM_OBLIGACION_IVA_6" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA7()         Returns the current record's "CM_OBLIGACION_IVA_7" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA8()         Returns the current record's "CM_OBLIGACION_IVA_8" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA9()         Returns the current record's "CM_OBLIGACION_IVA_9" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA10()        Returns the current record's "CM_OBLIGACION_IVA_10" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA11()        Returns the current record's "CM_OBLIGACION_IVA_11" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA12()        Returns the current record's "CM_OBLIGACION_IVA_12" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA13()        Returns the current record's "CM_OBLIGACION_IVA_13" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA14()        Returns the current record's "CM_OBLIGACION_IVA_14" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA15()        Returns the current record's "CM_OBLIGACION_IVA_15" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA16()        Returns the current record's "CM_OBLIGACION_IVA_16" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA17()        Returns the current record's "CM_OBLIGACION_IVA_17" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA18()        Returns the current record's "CM_OBLIGACION_IVA_18" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA19()        Returns the current record's "CM_OBLIGACION_IVA_19" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA20()        Returns the current record's "CM_OBLIGACION_IVA_20" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA21()        Returns the current record's "CM_OBLIGACION_IVA_21" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA22()        Returns the current record's "CM_OBLIGACION_IVA_22" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA23()        Returns the current record's "CM_OBLIGACION_IVA_23" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA24()        Returns the current record's "CM_OBLIGACION_IVA_24" collection
 * @method Doctrine_Collection getCMOBLIGACIONIVA25()        Returns the current record's "CM_OBLIGACION_IVA_25" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL()          Returns the current record's "CM_OBLIGACION_VAL" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL2()         Returns the current record's "CM_OBLIGACION_VAL_2" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL3()         Returns the current record's "CM_OBLIGACION_VAL_3" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL4()         Returns the current record's "CM_OBLIGACION_VAL_4" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL5()         Returns the current record's "CM_OBLIGACION_VAL_5" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL6()         Returns the current record's "CM_OBLIGACION_VAL_6" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL7()         Returns the current record's "CM_OBLIGACION_VAL_7" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL8()         Returns the current record's "CM_OBLIGACION_VAL_8" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL9()         Returns the current record's "CM_OBLIGACION_VAL_9" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL10()        Returns the current record's "CM_OBLIGACION_VAL_10" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL11()        Returns the current record's "CM_OBLIGACION_VAL_11" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL12()        Returns the current record's "CM_OBLIGACION_VAL_12" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL13()        Returns the current record's "CM_OBLIGACION_VAL_13" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL14()        Returns the current record's "CM_OBLIGACION_VAL_14" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL15()        Returns the current record's "CM_OBLIGACION_VAL_15" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL16()        Returns the current record's "CM_OBLIGACION_VAL_16" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL17()        Returns the current record's "CM_OBLIGACION_VAL_17" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL18()        Returns the current record's "CM_OBLIGACION_VAL_18" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL19()        Returns the current record's "CM_OBLIGACION_VAL_19" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL20()        Returns the current record's "CM_OBLIGACION_VAL_20" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL21()        Returns the current record's "CM_OBLIGACION_VAL_21" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL22()        Returns the current record's "CM_OBLIGACION_VAL_22" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL23()        Returns the current record's "CM_OBLIGACION_VAL_23" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL24()        Returns the current record's "CM_OBLIGACION_VAL_24" collection
 * @method Doctrine_Collection getCMOBLIGACIONVAL25()        Returns the current record's "CM_OBLIGACION_VAL_25" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES()      Returns the current record's "CM_OBLIGA_DEDUCCIONES" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES2()     Returns the current record's "CM_OBLIGA_DEDUCCIONES_2" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES3()     Returns the current record's "CM_OBLIGA_DEDUCCIONES_3" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES4()     Returns the current record's "CM_OBLIGA_DEDUCCIONES_4" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES5()     Returns the current record's "CM_OBLIGA_DEDUCCIONES_5" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES6()     Returns the current record's "CM_OBLIGA_DEDUCCIONES_6" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES7()     Returns the current record's "CM_OBLIGA_DEDUCCIONES_7" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES8()     Returns the current record's "CM_OBLIGA_DEDUCCIONES_8" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES9()     Returns the current record's "CM_OBLIGA_DEDUCCIONES_9" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES10()    Returns the current record's "CM_OBLIGA_DEDUCCIONES_10" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES11()    Returns the current record's "CM_OBLIGA_DEDUCCIONES_11" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES12()    Returns the current record's "CM_OBLIGA_DEDUCCIONES_12" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES13()    Returns the current record's "CM_OBLIGA_DEDUCCIONES_13" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES14()    Returns the current record's "CM_OBLIGA_DEDUCCIONES_14" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES15()    Returns the current record's "CM_OBLIGA_DEDUCCIONES_15" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES16()    Returns the current record's "CM_OBLIGA_DEDUCCIONES_16" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES17()    Returns the current record's "CM_OBLIGA_DEDUCCIONES_17" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES18()    Returns the current record's "CM_OBLIGA_DEDUCCIONES_18" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES19()    Returns the current record's "CM_OBLIGA_DEDUCCIONES_19" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES20()    Returns the current record's "CM_OBLIGA_DEDUCCIONES_20" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES21()    Returns the current record's "CM_OBLIGA_DEDUCCIONES_21" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES22()    Returns the current record's "CM_OBLIGA_DEDUCCIONES_22" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES23()    Returns the current record's "CM_OBLIGA_DEDUCCIONES_23" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES24()    Returns the current record's "CM_OBLIGA_DEDUCCIONES_24" collection
 * @method Doctrine_Collection getCMOBLIGADEDUCCIONES25()    Returns the current record's "CM_OBLIGA_DEDUCCIONES_25" collection
 * @method Doctrine_Collection getCMANULOBLIGACION()         Returns the current record's "CM_ANUL_OBLIGACION" collection
 * @method Doctrine_Collection getCMANULOBLIGACION2()        Returns the current record's "CM_ANUL_OBLIGACION_2" collection
 * @method Doctrine_Collection getCMANULOBLIGACION3()        Returns the current record's "CM_ANUL_OBLIGACION_3" collection
 * @method Doctrine_Collection getCMANULOBLIGACION4()        Returns the current record's "CM_ANUL_OBLIGACION_4" collection
 * @method Doctrine_Collection getCMANULOBLIGACION5()        Returns the current record's "CM_ANUL_OBLIGACION_5" collection
 * @method Doctrine_Collection getCMANULOBLIGACION6()        Returns the current record's "CM_ANUL_OBLIGACION_6" collection
 * @method Doctrine_Collection getCMANULOBLIGACION7()        Returns the current record's "CM_ANUL_OBLIGACION_7" collection
 * @method Doctrine_Collection getCMANULOBLIGACION8()        Returns the current record's "CM_ANUL_OBLIGACION_8" collection
 * @method Doctrine_Collection getCMANULOBLIGACION9()        Returns the current record's "CM_ANUL_OBLIGACION_9" collection
 * @method Doctrine_Collection getCMANULOBLIGACION10()       Returns the current record's "CM_ANUL_OBLIGACION_10" collection
 * @method Doctrine_Collection getCMANULOBLIGACION11()       Returns the current record's "CM_ANUL_OBLIGACION_11" collection
 * @method Doctrine_Collection getCMANULOBLIGACION12()       Returns the current record's "CM_ANUL_OBLIGACION_12" collection
 * @method Doctrine_Collection getCMANULOBLIGACION13()       Returns the current record's "CM_ANUL_OBLIGACION_13" collection
 * @method Doctrine_Collection getCMANULOBLIGACION14()       Returns the current record's "CM_ANUL_OBLIGACION_14" collection
 * @method Doctrine_Collection getCMANULOBLIGACION15()       Returns the current record's "CM_ANUL_OBLIGACION_15" collection
 * @method Doctrine_Collection getCMANULOBLIGACION16()       Returns the current record's "CM_ANUL_OBLIGACION_16" collection
 * @method Doctrine_Collection getCMANULOBLIGACION17()       Returns the current record's "CM_ANUL_OBLIGACION_17" collection
 * @method Doctrine_Collection getCMANULOBLIGACION18()       Returns the current record's "CM_ANUL_OBLIGACION_18" collection
 * @method Doctrine_Collection getCMANULOBLIGACION19()       Returns the current record's "CM_ANUL_OBLIGACION_19" collection
 * @method Doctrine_Collection getCMANULOBLIGACION20()       Returns the current record's "CM_ANUL_OBLIGACION_20" collection
 * @method Doctrine_Collection getCMANULOBLIGACION21()       Returns the current record's "CM_ANUL_OBLIGACION_21" collection
 * @method Doctrine_Collection getCMANULOBLIGACION22()       Returns the current record's "CM_ANUL_OBLIGACION_22" collection
 * @method Doctrine_Collection getCMANULOBLIGACION23()       Returns the current record's "CM_ANUL_OBLIGACION_23" collection
 * @method Doctrine_Collection getCMANULOBLIGACION24()       Returns the current record's "CM_ANUL_OBLIGACION_24" collection
 * @method Doctrine_Collection getCMANULOBLIGACION25()       Returns the current record's "CM_ANUL_OBLIGACION_25" collection
 * @method CM_OBLIGACION       setIdObligacion()             Sets the current record's "id_obligacion" value
 * @method CM_OBLIGACION       setSecuencia()                Sets the current record's "secuencia" value
 * @method CM_OBLIGACION       setIdVigencia()               Sets the current record's "id_vigencia" value
 * @method CM_OBLIGACION       setVigencia()                 Sets the current record's "vigencia" value
 * @method CM_OBLIGACION       setIdRp()                     Sets the current record's "id_rp" value
 * @method CM_OBLIGACION       setIdClaseCxp()               Sets the current record's "id_clase_cxp" value
 * @method CM_OBLIGACION       setFechaProceso()             Sets the current record's "fecha_proceso" value
 * @method CM_OBLIGACION       setObservaciones()            Sets the current record's "observaciones" value
 * @method CM_OBLIGACION       setEstado()                   Sets the current record's "estado" value
 * @method CM_OBLIGACION       setUsuariolog()               Sets the current record's "usuariolog" value
 * @method CM_OBLIGACION       setFechalog()                 Sets the current record's "fechalog" value
 * @method CM_OBLIGACION       setIdCajaMenor()              Sets the current record's "id_caja_menor" value
 * @method CM_OBLIGACION       setNumSoporte()               Sets the current record's "num_soporte" value
 * @method CM_OBLIGACION       setTipoSoporte()              Sets the current record's "tipo_soporte" value
 * @method CM_OBLIGACION       setFechaSoporte()             Sets the current record's "fecha_soporte" value
 * @method CM_OBLIGACION       setIdMaeTer()                 Sets the current record's "id_mae_ter" value
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA()          Sets the current record's "CM_OBLIGACION_IVA" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA2()         Sets the current record's "CM_OBLIGACION_IVA_2" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA3()         Sets the current record's "CM_OBLIGACION_IVA_3" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA4()         Sets the current record's "CM_OBLIGACION_IVA_4" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA5()         Sets the current record's "CM_OBLIGACION_IVA_5" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA6()         Sets the current record's "CM_OBLIGACION_IVA_6" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA7()         Sets the current record's "CM_OBLIGACION_IVA_7" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA8()         Sets the current record's "CM_OBLIGACION_IVA_8" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA9()         Sets the current record's "CM_OBLIGACION_IVA_9" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA10()        Sets the current record's "CM_OBLIGACION_IVA_10" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA11()        Sets the current record's "CM_OBLIGACION_IVA_11" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA12()        Sets the current record's "CM_OBLIGACION_IVA_12" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA13()        Sets the current record's "CM_OBLIGACION_IVA_13" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA14()        Sets the current record's "CM_OBLIGACION_IVA_14" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA15()        Sets the current record's "CM_OBLIGACION_IVA_15" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA16()        Sets the current record's "CM_OBLIGACION_IVA_16" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA17()        Sets the current record's "CM_OBLIGACION_IVA_17" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA18()        Sets the current record's "CM_OBLIGACION_IVA_18" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA19()        Sets the current record's "CM_OBLIGACION_IVA_19" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA20()        Sets the current record's "CM_OBLIGACION_IVA_20" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA21()        Sets the current record's "CM_OBLIGACION_IVA_21" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA22()        Sets the current record's "CM_OBLIGACION_IVA_22" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA23()        Sets the current record's "CM_OBLIGACION_IVA_23" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA24()        Sets the current record's "CM_OBLIGACION_IVA_24" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONIVA25()        Sets the current record's "CM_OBLIGACION_IVA_25" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL()          Sets the current record's "CM_OBLIGACION_VAL" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL2()         Sets the current record's "CM_OBLIGACION_VAL_2" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL3()         Sets the current record's "CM_OBLIGACION_VAL_3" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL4()         Sets the current record's "CM_OBLIGACION_VAL_4" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL5()         Sets the current record's "CM_OBLIGACION_VAL_5" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL6()         Sets the current record's "CM_OBLIGACION_VAL_6" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL7()         Sets the current record's "CM_OBLIGACION_VAL_7" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL8()         Sets the current record's "CM_OBLIGACION_VAL_8" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL9()         Sets the current record's "CM_OBLIGACION_VAL_9" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL10()        Sets the current record's "CM_OBLIGACION_VAL_10" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL11()        Sets the current record's "CM_OBLIGACION_VAL_11" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL12()        Sets the current record's "CM_OBLIGACION_VAL_12" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL13()        Sets the current record's "CM_OBLIGACION_VAL_13" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL14()        Sets the current record's "CM_OBLIGACION_VAL_14" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL15()        Sets the current record's "CM_OBLIGACION_VAL_15" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL16()        Sets the current record's "CM_OBLIGACION_VAL_16" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL17()        Sets the current record's "CM_OBLIGACION_VAL_17" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL18()        Sets the current record's "CM_OBLIGACION_VAL_18" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL19()        Sets the current record's "CM_OBLIGACION_VAL_19" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL20()        Sets the current record's "CM_OBLIGACION_VAL_20" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL21()        Sets the current record's "CM_OBLIGACION_VAL_21" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL22()        Sets the current record's "CM_OBLIGACION_VAL_22" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL23()        Sets the current record's "CM_OBLIGACION_VAL_23" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL24()        Sets the current record's "CM_OBLIGACION_VAL_24" collection
 * @method CM_OBLIGACION       setCMOBLIGACIONVAL25()        Sets the current record's "CM_OBLIGACION_VAL_25" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES()      Sets the current record's "CM_OBLIGA_DEDUCCIONES" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES2()     Sets the current record's "CM_OBLIGA_DEDUCCIONES_2" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES3()     Sets the current record's "CM_OBLIGA_DEDUCCIONES_3" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES4()     Sets the current record's "CM_OBLIGA_DEDUCCIONES_4" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES5()     Sets the current record's "CM_OBLIGA_DEDUCCIONES_5" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES6()     Sets the current record's "CM_OBLIGA_DEDUCCIONES_6" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES7()     Sets the current record's "CM_OBLIGA_DEDUCCIONES_7" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES8()     Sets the current record's "CM_OBLIGA_DEDUCCIONES_8" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES9()     Sets the current record's "CM_OBLIGA_DEDUCCIONES_9" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES10()    Sets the current record's "CM_OBLIGA_DEDUCCIONES_10" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES11()    Sets the current record's "CM_OBLIGA_DEDUCCIONES_11" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES12()    Sets the current record's "CM_OBLIGA_DEDUCCIONES_12" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES13()    Sets the current record's "CM_OBLIGA_DEDUCCIONES_13" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES14()    Sets the current record's "CM_OBLIGA_DEDUCCIONES_14" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES15()    Sets the current record's "CM_OBLIGA_DEDUCCIONES_15" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES16()    Sets the current record's "CM_OBLIGA_DEDUCCIONES_16" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES17()    Sets the current record's "CM_OBLIGA_DEDUCCIONES_17" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES18()    Sets the current record's "CM_OBLIGA_DEDUCCIONES_18" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES19()    Sets the current record's "CM_OBLIGA_DEDUCCIONES_19" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES20()    Sets the current record's "CM_OBLIGA_DEDUCCIONES_20" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES21()    Sets the current record's "CM_OBLIGA_DEDUCCIONES_21" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES22()    Sets the current record's "CM_OBLIGA_DEDUCCIONES_22" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES23()    Sets the current record's "CM_OBLIGA_DEDUCCIONES_23" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES24()    Sets the current record's "CM_OBLIGA_DEDUCCIONES_24" collection
 * @method CM_OBLIGACION       setCMOBLIGADEDUCCIONES25()    Sets the current record's "CM_OBLIGA_DEDUCCIONES_25" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION()         Sets the current record's "CM_ANUL_OBLIGACION" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION2()        Sets the current record's "CM_ANUL_OBLIGACION_2" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION3()        Sets the current record's "CM_ANUL_OBLIGACION_3" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION4()        Sets the current record's "CM_ANUL_OBLIGACION_4" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION5()        Sets the current record's "CM_ANUL_OBLIGACION_5" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION6()        Sets the current record's "CM_ANUL_OBLIGACION_6" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION7()        Sets the current record's "CM_ANUL_OBLIGACION_7" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION8()        Sets the current record's "CM_ANUL_OBLIGACION_8" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION9()        Sets the current record's "CM_ANUL_OBLIGACION_9" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION10()       Sets the current record's "CM_ANUL_OBLIGACION_10" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION11()       Sets the current record's "CM_ANUL_OBLIGACION_11" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION12()       Sets the current record's "CM_ANUL_OBLIGACION_12" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION13()       Sets the current record's "CM_ANUL_OBLIGACION_13" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION14()       Sets the current record's "CM_ANUL_OBLIGACION_14" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION15()       Sets the current record's "CM_ANUL_OBLIGACION_15" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION16()       Sets the current record's "CM_ANUL_OBLIGACION_16" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION17()       Sets the current record's "CM_ANUL_OBLIGACION_17" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION18()       Sets the current record's "CM_ANUL_OBLIGACION_18" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION19()       Sets the current record's "CM_ANUL_OBLIGACION_19" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION20()       Sets the current record's "CM_ANUL_OBLIGACION_20" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION21()       Sets the current record's "CM_ANUL_OBLIGACION_21" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION22()       Sets the current record's "CM_ANUL_OBLIGACION_22" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION23()       Sets the current record's "CM_ANUL_OBLIGACION_23" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION24()       Sets the current record's "CM_ANUL_OBLIGACION_24" collection
 * @method CM_OBLIGACION       setCMANULOBLIGACION25()       Sets the current record's "CM_ANUL_OBLIGACION_25" collection
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCM_OBLIGACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CM_OBLIGACION');
        $this->hasColumn('id_obligacion', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('secuencia', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'type' => 'string',
             '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_clase_cxp', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('estado', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fechalog', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_caja_menor', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('num_soporte', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo_soporte', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_soporte', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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

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

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

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

        $this->hasMany('CM_OBLIGACION_IVA as CM_OBLIGACION_IVA_5', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_caja_menor'));

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

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

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

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

        $this->hasMany('CM_OBLIGACION_IVA as CM_OBLIGACION_IVA_10', array(
             'local' => 'secuencia',
             'foreign' => 'id_caja_menor'));

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

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

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

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

        $this->hasMany('CM_OBLIGACION_IVA as CM_OBLIGACION_IVA_15', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_caja_menor'));

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

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

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

        $this->hasMany('CM_OBLIGACION_IVA as CM_OBLIGACION_IVA_19', array(
             'local' => 'vigencia',
             'foreign' => 'vigencia'));

        $this->hasMany('CM_OBLIGACION_IVA as CM_OBLIGACION_IVA_20', array(
             'local' => 'vigencia',
             'foreign' => 'id_caja_menor'));

        $this->hasMany('CM_OBLIGACION_IVA as CM_OBLIGACION_IVA_21', array(
             'local' => 'id_caja_menor',
             'foreign' => 'id_obligacion'));

        $this->hasMany('CM_OBLIGACION_IVA as CM_OBLIGACION_IVA_22', array(
             'local' => 'id_caja_menor',
             'foreign' => 'secuencia'));

        $this->hasMany('CM_OBLIGACION_IVA as CM_OBLIGACION_IVA_23', array(
             'local' => 'id_caja_menor',
             'foreign' => 'id_vigencia'));

        $this->hasMany('CM_OBLIGACION_IVA as CM_OBLIGACION_IVA_24', array(
             'local' => 'id_caja_menor',
             'foreign' => 'vigencia'));

        $this->hasMany('CM_OBLIGACION_IVA as CM_OBLIGACION_IVA_25', array(
             'local' => 'id_caja_menor',
             'foreign' => 'id_caja_menor'));

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

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

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

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

        $this->hasMany('CM_OBLIGACION_VAL as CM_OBLIGACION_VAL_5', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_caja_menor'));

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

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

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

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

        $this->hasMany('CM_OBLIGACION_VAL as CM_OBLIGACION_VAL_10', array(
             'local' => 'secuencia',
             'foreign' => 'id_caja_menor'));

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

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

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

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

        $this->hasMany('CM_OBLIGACION_VAL as CM_OBLIGACION_VAL_15', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_caja_menor'));

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

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

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

        $this->hasMany('CM_OBLIGACION_VAL as CM_OBLIGACION_VAL_19', array(
             'local' => 'vigencia',
             'foreign' => 'vigencia'));

        $this->hasMany('CM_OBLIGACION_VAL as CM_OBLIGACION_VAL_20', array(
             'local' => 'vigencia',
             'foreign' => 'id_caja_menor'));

        $this->hasMany('CM_OBLIGACION_VAL as CM_OBLIGACION_VAL_21', array(
             'local' => 'id_caja_menor',
             'foreign' => 'id_obligacion'));

        $this->hasMany('CM_OBLIGACION_VAL as CM_OBLIGACION_VAL_22', array(
             'local' => 'id_caja_menor',
             'foreign' => 'secuencia'));

        $this->hasMany('CM_OBLIGACION_VAL as CM_OBLIGACION_VAL_23', array(
             'local' => 'id_caja_menor',
             'foreign' => 'id_vigencia'));

        $this->hasMany('CM_OBLIGACION_VAL as CM_OBLIGACION_VAL_24', array(
             'local' => 'id_caja_menor',
             'foreign' => 'vigencia'));

        $this->hasMany('CM_OBLIGACION_VAL as CM_OBLIGACION_VAL_25', array(
             'local' => 'id_caja_menor',
             'foreign' => 'id_caja_menor'));

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

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

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

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

        $this->hasMany('CM_OBLIGA_DEDUCCIONES as CM_OBLIGA_DEDUCCIONES_5', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_caja_menor'));

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

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

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

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

        $this->hasMany('CM_OBLIGA_DEDUCCIONES as CM_OBLIGA_DEDUCCIONES_10', array(
             'local' => 'secuencia',
             'foreign' => 'id_caja_menor'));

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

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

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

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

        $this->hasMany('CM_OBLIGA_DEDUCCIONES as CM_OBLIGA_DEDUCCIONES_15', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_caja_menor'));

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

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

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

        $this->hasMany('CM_OBLIGA_DEDUCCIONES as CM_OBLIGA_DEDUCCIONES_19', array(
             'local' => 'vigencia',
             'foreign' => 'vigencia'));

        $this->hasMany('CM_OBLIGA_DEDUCCIONES as CM_OBLIGA_DEDUCCIONES_20', array(
             'local' => 'vigencia',
             'foreign' => 'id_caja_menor'));

        $this->hasMany('CM_OBLIGA_DEDUCCIONES as CM_OBLIGA_DEDUCCIONES_21', array(
             'local' => 'id_caja_menor',
             'foreign' => 'id_obligacion'));

        $this->hasMany('CM_OBLIGA_DEDUCCIONES as CM_OBLIGA_DEDUCCIONES_22', array(
             'local' => 'id_caja_menor',
             'foreign' => 'secuencia'));

        $this->hasMany('CM_OBLIGA_DEDUCCIONES as CM_OBLIGA_DEDUCCIONES_23', array(
             'local' => 'id_caja_menor',
             'foreign' => 'id_vigencia'));

        $this->hasMany('CM_OBLIGA_DEDUCCIONES as CM_OBLIGA_DEDUCCIONES_24', array(
             'local' => 'id_caja_menor',
             'foreign' => 'vigencia'));

        $this->hasMany('CM_OBLIGA_DEDUCCIONES as CM_OBLIGA_DEDUCCIONES_25', array(
             'local' => 'id_caja_menor',
             'foreign' => 'id_caja_menor'));

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

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

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

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

        $this->hasMany('CM_ANUL_OBLIGACION as CM_ANUL_OBLIGACION_5', array(
             'local' => 'id_obligacion',
             'foreign' => 'id_caja_menor'));

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

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

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

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

        $this->hasMany('CM_ANUL_OBLIGACION as CM_ANUL_OBLIGACION_10', array(
             'local' => 'secuencia',
             'foreign' => 'id_caja_menor'));

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

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

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

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

        $this->hasMany('CM_ANUL_OBLIGACION as CM_ANUL_OBLIGACION_15', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_caja_menor'));

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

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

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

        $this->hasMany('CM_ANUL_OBLIGACION as CM_ANUL_OBLIGACION_19', array(
             'local' => 'vigencia',
             'foreign' => 'vigencia'));

        $this->hasMany('CM_ANUL_OBLIGACION as CM_ANUL_OBLIGACION_20', array(
             'local' => 'vigencia',
             'foreign' => 'id_caja_menor'));

        $this->hasMany('CM_ANUL_OBLIGACION as CM_ANUL_OBLIGACION_21', array(
             'local' => 'id_caja_menor',
             'foreign' => 'id_obligacion'));

        $this->hasMany('CM_ANUL_OBLIGACION as CM_ANUL_OBLIGACION_22', array(
             'local' => 'id_caja_menor',
             'foreign' => 'secuencia'));

        $this->hasMany('CM_ANUL_OBLIGACION as CM_ANUL_OBLIGACION_23', array(
             'local' => 'id_caja_menor',
             'foreign' => 'id_vigencia'));

        $this->hasMany('CM_ANUL_OBLIGACION as CM_ANUL_OBLIGACION_24', array(
             'local' => 'id_caja_menor',
             'foreign' => 'vigencia'));

        $this->hasMany('CM_ANUL_OBLIGACION as CM_ANUL_OBLIGACION_25', array(
             'local' => 'id_caja_menor',
             'foreign' => 'id_caja_menor'));
    }
}