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

/**
 * BaseVIGENCIA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_vigencia
 * @property string $descripcion
 * @property string $abreviatura
 * @property Doctrine_Collection $TS_RC_DEDUCCIONES
 * @property Doctrine_Collection $TS_NOT_TESO
 * @property Doctrine_Collection $TS_NOT_DEDUCCIONES
 * @property Doctrine_Collection $TS_MB_DEDUCCIONES
 * @property Doctrine_Collection $PR_SOLIC_CDP_DETA
 * @property Doctrine_Collection $PR_RP_COMPROMISO
 * @property Doctrine_Collection $PR_RP_COMIS
 * @property Doctrine_Collection $PR_RP
 * @property Doctrine_Collection $PR_RESOL_COMIS
 * @property Doctrine_Collection $PR_PROYECTO_SALDOS
 * @property Doctrine_Collection $PR_PO_SALDOS
 * @property Doctrine_Collection $PR_PG
 * @property Doctrine_Collection $PR_PAGOS
 * @property Doctrine_Collection $PR_NOV_APO
 * @property Doctrine_Collection $PR_NOVEDAD_RP_VAL
 * @property Doctrine_Collection $PR_NOVEDAD_RP
 * @property Doctrine_Collection $PR_NOVEDAD_PLAN_PAGOS
 * @property Doctrine_Collection $PR_NOVEDAD_CDP_VAL
 * @property Doctrine_Collection $PR_NOVEDAD_CDP
 * @property Doctrine_Collection $PR_NOVEDAD_APROPIACION
 * @property Doctrine_Collection $PR_HISTORIAL_RP
 * @property Doctrine_Collection $PR_HISTORIAL_PLAN_PAGOS
 * @property Doctrine_Collection $PR_HISTORIAL_CDP
 * @property Doctrine_Collection $PR_CPO_ASIGN
 * @property Doctrine_Collection $PR_CDP_CPO
 * @property Doctrine_Collection $PR_CDP_COMIS
 * @property Doctrine_Collection $PR_CDP
 * @property Doctrine_Collection $PR_ASIG_PRESUP
 * @property Doctrine_Collection $PR_ASIGNA_OBJ_GASTO
 * @property Doctrine_Collection $PR_ASIGNACION_SALDOS
 * @property Doctrine_Collection $PR_APROP_NOVEDAD
 * @property Doctrine_Collection $PR_APROPIACION
 * @property Doctrine_Collection $PR_APO
 * 
 * @method integer             getIdVigencia()              Returns the current record's "id_vigencia" value
 * @method string              getDescripcion()             Returns the current record's "descripcion" value
 * @method string              getAbreviatura()             Returns the current record's "abreviatura" value
 * @method Doctrine_Collection getTSRCDEDUCCIONES()         Returns the current record's "TS_RC_DEDUCCIONES" collection
 * @method Doctrine_Collection getTSNOTTESO()               Returns the current record's "TS_NOT_TESO" collection
 * @method Doctrine_Collection getTSNOTDEDUCCIONES()        Returns the current record's "TS_NOT_DEDUCCIONES" collection
 * @method Doctrine_Collection getTSMBDEDUCCIONES()         Returns the current record's "TS_MB_DEDUCCIONES" collection
 * @method Doctrine_Collection getPRSOLICCDPDETA()          Returns the current record's "PR_SOLIC_CDP_DETA" collection
 * @method Doctrine_Collection getPRRPCOMPROMISO()          Returns the current record's "PR_RP_COMPROMISO" collection
 * @method Doctrine_Collection getPRRPCOMIS()               Returns the current record's "PR_RP_COMIS" collection
 * @method Doctrine_Collection getPRRP()                    Returns the current record's "PR_RP" collection
 * @method Doctrine_Collection getPRRESOLCOMIS()            Returns the current record's "PR_RESOL_COMIS" collection
 * @method Doctrine_Collection getPRPROYECTOSALDOS()        Returns the current record's "PR_PROYECTO_SALDOS" collection
 * @method Doctrine_Collection getPRPOSALDOS()              Returns the current record's "PR_PO_SALDOS" collection
 * @method Doctrine_Collection getPRPG()                    Returns the current record's "PR_PG" collection
 * @method Doctrine_Collection getPRPAGOS()                 Returns the current record's "PR_PAGOS" collection
 * @method Doctrine_Collection getPRNOVAPO()                Returns the current record's "PR_NOV_APO" collection
 * @method Doctrine_Collection getPRNOVEDADRPVAL()          Returns the current record's "PR_NOVEDAD_RP_VAL" collection
 * @method Doctrine_Collection getPRNOVEDADRP()             Returns the current record's "PR_NOVEDAD_RP" collection
 * @method Doctrine_Collection getPRNOVEDADPLANPAGOS()      Returns the current record's "PR_NOVEDAD_PLAN_PAGOS" collection
 * @method Doctrine_Collection getPRNOVEDADCDPVAL()         Returns the current record's "PR_NOVEDAD_CDP_VAL" collection
 * @method Doctrine_Collection getPRNOVEDADCDP()            Returns the current record's "PR_NOVEDAD_CDP" collection
 * @method Doctrine_Collection getPRNOVEDADAPROPIACION()    Returns the current record's "PR_NOVEDAD_APROPIACION" collection
 * @method Doctrine_Collection getPRHISTORIALRP()           Returns the current record's "PR_HISTORIAL_RP" collection
 * @method Doctrine_Collection getPRHISTORIALPLANPAGOS()    Returns the current record's "PR_HISTORIAL_PLAN_PAGOS" collection
 * @method Doctrine_Collection getPRHISTORIALCDP()          Returns the current record's "PR_HISTORIAL_CDP" collection
 * @method Doctrine_Collection getPRCPOASIGN()              Returns the current record's "PR_CPO_ASIGN" collection
 * @method Doctrine_Collection getPRCDPCPO()                Returns the current record's "PR_CDP_CPO" collection
 * @method Doctrine_Collection getPRCDPCOMIS()              Returns the current record's "PR_CDP_COMIS" collection
 * @method Doctrine_Collection getPRCDP()                   Returns the current record's "PR_CDP" collection
 * @method Doctrine_Collection getPRASIGPRESUP()            Returns the current record's "PR_ASIG_PRESUP" collection
 * @method Doctrine_Collection getPRASIGNAOBJGASTO()        Returns the current record's "PR_ASIGNA_OBJ_GASTO" collection
 * @method Doctrine_Collection getPRASIGNACIONSALDOS()      Returns the current record's "PR_ASIGNACION_SALDOS" collection
 * @method Doctrine_Collection getPRAPROPNOVEDAD()          Returns the current record's "PR_APROP_NOVEDAD" collection
 * @method Doctrine_Collection getPRAPROPIACION()           Returns the current record's "PR_APROPIACION" collection
 * @method Doctrine_Collection getPRAPONPO()                Returns the current record's "PR_APO_NPO" collection
 * @method Doctrine_Collection getPRAPO()                   Returns the current record's "PR_APO" collection
 * @method VIGENCIA            setIdVigencia()              Sets the current record's "id_vigencia" value
 * @method VIGENCIA            setDescripcion()             Sets the current record's "descripcion" value
 * @method VIGENCIA            setAbreviatura()             Sets the current record's "abreviatura" value
 * @method VIGENCIA            setTSRCDEDUCCIONES()         Sets the current record's "TS_RC_DEDUCCIONES" collection
 * @method VIGENCIA            setTSNOTTESO()               Sets the current record's "TS_NOT_TESO" collection
 * @method VIGENCIA            setTSNOTDEDUCCIONES()        Sets the current record's "TS_NOT_DEDUCCIONES" collection
 * @method VIGENCIA            setTSMBDEDUCCIONES()         Sets the current record's "TS_MB_DEDUCCIONES" collection
 * @method VIGENCIA            setPRSOLICCDPDETA()          Sets the current record's "PR_SOLIC_CDP_DETA" collection
 * @method VIGENCIA            setPRRPCOMPROMISO()          Sets the current record's "PR_RP_COMPROMISO" collection
 * @method VIGENCIA            setPRRPCOMIS()               Sets the current record's "PR_RP_COMIS" collection
 * @method VIGENCIA            setPRRP()                    Sets the current record's "PR_RP" collection
 * @method VIGENCIA            setPRRESOLCOMIS()            Sets the current record's "PR_RESOL_COMIS" collection
 * @method VIGENCIA            setPRPROYECTOSALDOS()        Sets the current record's "PR_PROYECTO_SALDOS" collection
 * @method VIGENCIA            setPRPOSALDOS()              Sets the current record's "PR_PO_SALDOS" collection
 * @method VIGENCIA            setPRPG()                    Sets the current record's "PR_PG" collection
 * @method VIGENCIA            setPRPAGOS()                 Sets the current record's "PR_PAGOS" collection
 * @method VIGENCIA            setPRNOVAPO()                Sets the current record's "PR_NOV_APO" collection
 * @method VIGENCIA            setPRNOVEDADRPVAL()          Sets the current record's "PR_NOVEDAD_RP_VAL" collection
 * @method VIGENCIA            setPRNOVEDADRP()             Sets the current record's "PR_NOVEDAD_RP" collection
 * @method VIGENCIA            setPRNOVEDADPLANPAGOS()      Sets the current record's "PR_NOVEDAD_PLAN_PAGOS" collection
 * @method VIGENCIA            setPRNOVEDADCDPVAL()         Sets the current record's "PR_NOVEDAD_CDP_VAL" collection
 * @method VIGENCIA            setPRNOVEDADCDP()            Sets the current record's "PR_NOVEDAD_CDP" collection
 * @method VIGENCIA            setPRNOVEDADAPROPIACION()    Sets the current record's "PR_NOVEDAD_APROPIACION" collection
 * @method VIGENCIA            setPRHISTORIALRP()           Sets the current record's "PR_HISTORIAL_RP" collection
 * @method VIGENCIA            setPRHISTORIALPLANPAGOS()    Sets the current record's "PR_HISTORIAL_PLAN_PAGOS" collection
 * @method VIGENCIA            setPRHISTORIALCDP()          Sets the current record's "PR_HISTORIAL_CDP" collection
 * @method VIGENCIA            setPRCPOASIGN()              Sets the current record's "PR_CPO_ASIGN" collection
 * @method VIGENCIA            setPRCDPCPO()                Sets the current record's "PR_CDP_CPO" collection
 * @method VIGENCIA            setPRCDPCOMIS()              Sets the current record's "PR_CDP_COMIS" collection
 * @method VIGENCIA            setPRCDP()                   Sets the current record's "PR_CDP" collection
 * @method VIGENCIA            setPRASIGPRESUP()            Sets the current record's "PR_ASIG_PRESUP" collection
 * @method VIGENCIA            setPRASIGNAOBJGASTO()        Sets the current record's "PR_ASIGNA_OBJ_GASTO" collection
 * @method VIGENCIA            setPRASIGNACIONSALDOS()      Sets the current record's "PR_ASIGNACION_SALDOS" collection
 * @method VIGENCIA            setPRAPROPNOVEDAD()          Sets the current record's "PR_APROP_NOVEDAD" collection
 * @method VIGENCIA            setPRAPROPIACION()           Sets the current record's "PR_APROPIACION" collection
 * @method VIGENCIA            setPRAPONPO()                Sets the current record's "PR_APO_NPO" collection
 * @method VIGENCIA            setPRAPO()                   Sets the current record's "PR_APO" collection_NPO
 * @property Doctrine_Collection $PR_APO
 * 
 * @method integer             getIdVigencia()              Returns the current record's "id_vigencia" value
 * @method string              getDescripcion()             Returns the current record's "descripcion" value
 * @method string              getAbreviatura()             Returns the current record's "abreviatura" value
 * @method Doctrine_Collection getTSRCDEDUCCIONES()         Returns the current record's "TS_RC_DEDUCCIONES" collection
 * @method Doctrine_Collection getTSNOTTESO()               Returns the current record's "TS_NOT_TESO" collection
 * @method Doctrine_Collection getTSNOTDEDUCCIONES()        Returns the current record's "TS_NOT_DEDUCCIONES" collection
 * @method Doctrine_Collection getTSMBDEDUCCIONES()         Returns the current record's "TS_MB_DEDUCCIONES" collection
 * @method Doctrine_Collection getPRSOLICCDPDETA()          Returns the current record's "PR_SOLIC_CDP_DETA" collection
 * @method Doctrine_Collection getPRRPCOMPROMISO()          Returns the current record's "PR_RP_COMPROMISO" collection
 * @method Doctrine_Collection getPRRPCOMIS()               Returns the current record's "PR_RP_COMIS" collection
 * @method Doctrine_Collection getPRRP()                    Returns the current record's "PR_RP" collection
 * @method Doctrine_Collection getPRRESOLCOMIS()            Returns the current record's "PR_RESOL_COMIS" collection
 * @method Doctrine_Collection getPRPROYECTOSALDOS()        Returns the current record's "PR_PROYECTO_SALDOS" collection
 * @method Doctrine_Collection getPRPOSALDOS()              Returns the current record's "PR_PO_SALDOS" collection
 * @method Doctrine_Collection getPRPG()                    Returns the current record's "PR_PG" collection
 * @method Doctrine_Collection getPRPAGOS()                 Returns the current record's "PR_PAGOS" collection
 * @method Doctrine_Collection getPRNOVAPO()                Returns the current record's "PR_NOV_APO" collection
 * @method Doctrine_Collection getPRNOVEDADRPVAL()          Returns the current record's "PR_NOVEDAD_RP_VAL" collection
 * @method Doctrine_Collection getPRNOVEDADRP()             Returns the current record's "PR_NOVEDAD_RP" collection
 * @method Doctrine_Collection getPRNOVEDADPLANPAGOS()      Returns the current record's "PR_NOVEDAD_PLAN_PAGOS" collection
 * @method Doctrine_Collection getPRNOVEDADCDPVAL()         Returns the current record's "PR_NOVEDAD_CDP_VAL" collection
 * @method Doctrine_Collection getPRNOVEDADCDP()            Returns the current record's "PR_NOVEDAD_CDP" collection
 * @method Doctrine_Collection getPRNOVEDADAPROPIACION()    Returns the current record's "PR_NOVEDAD_APROPIACION" collection
 * @method Doctrine_Collection getPRHISTORIALRP()           Returns the current record's "PR_HISTORIAL_RP" collection
 * @method Doctrine_Collection getPRHISTORIALPLANPAGOS()    Returns the current record's "PR_HISTORIAL_PLAN_PAGOS" collection
 * @method Doctrine_Collection getPRHISTORIALCDP()          Returns the current record's "PR_HISTORIAL_CDP" collection
 * @method Doctrine_Collection getPRCPOASIGN()              Returns the current record's "PR_CPO_ASIGN" collection
 * @method Doctrine_Collection getPRCDPCPO()                Returns the current record's "PR_CDP_CPO" collection
 * @method Doctrine_Collection getPRCDPCOMIS()              Returns the current record's "PR_CDP_COMIS" collection
 * @method Doctrine_Collection getPRCDP()                   Returns the current record's "PR_CDP" collection
 * @method Doctrine_Collection getPRASIGPRESUP()            Returns the current record's "PR_ASIG_PRESUP" collection
 * @method Doctrine_Collection getPRASIGNAOBJGASTO()        Returns the current record's "PR_ASIGNA_OBJ_GASTO" collection
 * @method Doctrine_Collection getPRASIGNACIONSALDOS()      Returns the current record's "PR_ASIGNACION_SALDOS" collection
 * @method Doctrine_Collection getPRAPROPNOVEDAD()          Returns the current record's "PR_APROP_NOVEDAD" collection
 * @method Doctrine_Collection getPRAPROPIACION()           Returns the current record's "PR_APROPIACION" collection
 * @method Doctrine_Collection getPRAPONPO()                Returns the current record's "PR_APO_NPO" collection
 * @method Doctrine_Collection getPRAPO()                   Returns the current record's "PR_APO" collection
 * @method VIGENCIA            setIdVigencia()              Sets the current record's "id_vigencia" value
 * @method VIGENCIA            setDescripcion()             Sets the current record's "descripcion" value
 * @method VIGENCIA            setAbreviatura()             Sets the current record's "abreviatura" value
 * @method VIGENCIA            setTSRCDEDUCCIONES()         Sets the current record's "TS_RC_DEDUCCIONES" collection
 * @method VIGENCIA            setTSNOTTESO()               Sets the current record's "TS_NOT_TESO" collection
 * @method VIGENCIA            setTSNOTDEDUCCIONES()        Sets the current record's "TS_NOT_DEDUCCIONES" collection
 * @method VIGENCIA            setTSMBDEDUCCIONES()         Sets the current record's "TS_MB_DEDUCCIONES" collection
 * @method VIGENCIA            setPRSOLICCDPDETA()          Sets the current record's "PR_SOLIC_CDP_DETA" collection
 * @method VIGENCIA            setPRRPCOMPROMISO()          Sets the current record's "PR_RP_COMPROMISO" collection
 * @method VIGENCIA            setPRRPCOMIS()               Sets the current record's "PR_RP_COMIS" collection
 * @method VIGENCIA            setPRRP()                    Sets the current record's "PR_RP" collection
 * @method VIGENCIA            setPRRESOLCOMIS()            Sets the current record's "PR_RESOL_COMIS" collection
 * @method VIGENCIA            setPRPROYECTOSALDOS()        Sets the current record's "PR_PROYECTO_SALDOS" collection
 * @method VIGENCIA            setPRPOSALDOS()              Sets the current record's "PR_PO_SALDOS" collection
 * @method VIGENCIA            setPRPG()                    Sets the current record's "PR_PG" collection
 * @method VIGENCIA            setPRPAGOS()                 Sets the current record's "PR_PAGOS" collection
 * @method VIGENCIA            setPRNOVAPO()                Sets the current record's "PR_NOV_APO" collection
 * @method VIGENCIA            setPRNOVEDADRPVAL()          Sets the current record's "PR_NOVEDAD_RP_VAL" collection
 * @method VIGENCIA            setPRNOVEDADRP()             Sets the current record's "PR_NOVEDAD_RP" collection
 * @method VIGENCIA            setPRNOVEDADPLANPAGOS()      Sets the current record's "PR_NOVEDAD_PLAN_PAGOS" collection
 * @method VIGENCIA            setPRNOVEDADCDPVAL()         Sets the current record's "PR_NOVEDAD_CDP_VAL" collection
 * @method VIGENCIA            setPRNOVEDADCDP()            Sets the current record's "PR_NOVEDAD_CDP" collection
 * @method VIGENCIA            setPRNOVEDADAPROPIACION()    Sets the current record's "PR_NOVEDAD_APROPIACION" collection
 * @method VIGENCIA            setPRHISTORIALRP()           Sets the current record's "PR_HISTORIAL_RP" collection
 * @method VIGENCIA            setPRHISTORIALPLANPAGOS()    Sets the current record's "PR_HISTORIAL_PLAN_PAGOS" collection
 * @method VIGENCIA            setPRHISTORIALCDP()          Sets the current record's "PR_HISTORIAL_CDP" collection
 * @method VIGENCIA            setPRCPOASIGN()              Sets the current record's "PR_CPO_ASIGN" collection
 * @method VIGENCIA            setPRCDPCPO()                Sets the current record's "PR_CDP_CPO" collection
 * @method VIGENCIA            setPRCDPCOMIS()              Sets the current record's "PR_CDP_COMIS" collection
 * @method VIGENCIA            setPRCDP()                   Sets the current record's "PR_CDP" collection
 * @method VIGENCIA            setPRASIGPRESUP()            Sets the current record's "PR_ASIG_PRESUP" collection
 * @method VIGENCIA            setPRASIGNAOBJGASTO()        Sets the current record's "PR_ASIGNA_OBJ_GASTO" collection
 * @method VIGENCIA            setPRASIGNACIONSALDOS()      Sets the current record's "PR_ASIGNACION_SALDOS" collection
 * @method VIGENCIA            setPRAPROPNOVEDAD()          Sets the current record's "PR_APROP_NOVEDAD" collection
 * @method VIGENCIA            setPRAPROPIACION()           Sets the current record's "PR_APROPIACION" collection
 * @method VIGENCIA            setPRAPONPO()                Sets the current record's "PR_APO_NPO" collection
 * @method VIGENCIA            setPRAPO()                   Sets the current record's "PR_APO" collection
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseVIGENCIA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('VIGENCIA');
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('abreviatura', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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

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

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

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

        $this->hasMany('PR_SOLIC_CDP_DETA', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_RP_COMPROMISO', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_RP_COMIS', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

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

        $this->hasMany('PR_RESOL_COMIS', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_PROYECTO_SALDOS', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_PO_SALDOS', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

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

        $this->hasMany('PR_PAGOS', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_NOV_APO', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_NOVEDAD_RP_VAL', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_NOVEDAD_RP', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_NOVEDAD_PLAN_PAGOS', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_NOVEDAD_CDP_VAL', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_NOVEDAD_CDP', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_NOVEDAD_APROPIACION', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_HISTORIAL_RP', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_HISTORIAL_PLAN_PAGOS', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_HISTORIAL_CDP', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_CPO_ASIGN', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_CDP_CPO', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_CDP_COMIS', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_CDP', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_ASIG_PRESUP', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_ASIGNA_OBJ_GASTO', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_ASIGNACION_SALDOS', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_APROP_NOVEDAD', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_APROPIACION', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_APO_NPO', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('PR_APO', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));
    }
}