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

/**
 * BaseCENTRO_OPERACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cen_op
 * @property integer $id_cia
 * @property string $nom_cen_op
 * @property string $descr_cen_op
 * @property integer $activo
 * @property string $prefijo
 * @property integer $id_depto
 * @property integer $codmun
 * @property COMPANIA $COMPANIA
 * @property Doctrine_Collection $IN_USUARIO_CEN_OP
 * @property Doctrine_Collection $IN_TOMA_INVENTARIO
 * @property Doctrine_Collection $IN_TABLE_VIG_SEQ_CEN
 * @property Doctrine_Collection $IN_TABLE_VIG_SEQ
 * @property Doctrine_Collection $IN_SOLI_COMPRA
 * @property Doctrine_Collection $IN_SALDO_INVENTARIO_DV
 * @property Doctrine_Collection $IN_SALDO_INVENTARIO_CON
 * @property Doctrine_Collection $IN_MOVIMIENTOS_DV
 * @property Doctrine_Collection $IN_MOVIMIENTOS_DV_9
 * @property Doctrine_Collection $IN_MOVIMIENTOS_CON
 * @property Doctrine_Collection $IN_MOVIMIENTOS_CON_2
 * @property Doctrine_Collection $IN_INVENTARIO_DV_TEMPO
 * @property Doctrine_Collection $IN_INVENTARIO_DV_TEMPO_2
 * @property Doctrine_Collection $IN_INVENTARIO_DV
 * @property Doctrine_Collection $IN_INVENTARIO_CON
 * @property Doctrine_Collection $IN_FIRMA_CONTRATO
 * @property Doctrine_Collection $IN_ESTRUCTURA
 * @property Doctrine_Collection $IN_DET_MOV_DV
 * @property Doctrine_Collection $IN_DET_MOV_CON
 * @property Doctrine_Collection $IN_COTIZACION
 * @property Doctrine_Collection $IN_CENTRO_OPERACION_PREF
 * @property Doctrine_Collection $IN_ALMACENISTA
 * @property Doctrine_Collection $CO_ESTUDIOS_PREVIOS
 * @property Doctrine_Collection $CO_CONSECUTIVO_EP
 * @property Doctrine_Collection $ACTIVIDAD
 * 
 * @method integer             getIdCenOp()                  Returns the current record's "id_cen_op" value
 * @method integer             getIdCia()                    Returns the current record's "id_cia" value
 * @method string              getNomCenOp()                 Returns the current record's "nom_cen_op" value
 * @method string              getDescrCenOp()               Returns the current record's "descr_cen_op" value
 * @method integer             getActivo()                   Returns the current record's "activo" value
 * @method string              getPrefijo()                  Returns the current record's "prefijo" value
 * @method integer             getIdDepto()                  Returns the current record's "id_depto" value
 * @method integer             getCodmun()                   Returns the current record's "codmun" value
 * @method COMPANIA            getCOMPANIA()                 Returns the current record's "COMPANIA" value
 * @method Doctrine_Collection getINUSUARIOCENOP()           Returns the current record's "IN_USUARIO_CEN_OP" collection
 * @method Doctrine_Collection getINTOMAINVENTARIO()         Returns the current record's "IN_TOMA_INVENTARIO" collection
 * @method Doctrine_Collection getINTABLEVIGSEQCEN()         Returns the current record's "IN_TABLE_VIG_SEQ_CEN" collection
 * @method Doctrine_Collection getINTABLEVIGSEQ()            Returns the current record's "IN_TABLE_VIG_SEQ" collection
 * @method Doctrine_Collection getINSOLICOMPRA()             Returns the current record's "IN_SOLI_COMPRA" collection
 * @method Doctrine_Collection getINSALDOINVENTARIODV()      Returns the current record's "IN_SALDO_INVENTARIO_DV" collection
 * @method Doctrine_Collection getINSALDOINVENTARIOCON()     Returns the current record's "IN_SALDO_INVENTARIO_CON" collection
 * @method Doctrine_Collection getINMOVIMIENTOSDV()          Returns the current record's "IN_MOVIMIENTOS_DV" collection
 * @method Doctrine_Collection getINMOVIMIENTOSDV9()         Returns the current record's "IN_MOVIMIENTOS_DV_9" collection
 * @method Doctrine_Collection getINMOVIMIENTOSCON()         Returns the current record's "IN_MOVIMIENTOS_CON" collection
 * @method Doctrine_Collection getINMOVIMIENTOSCON2()        Returns the current record's "IN_MOVIMIENTOS_CON_2" collection
 * @method Doctrine_Collection getININVENTARIODVTEMPO()      Returns the current record's "IN_INVENTARIO_DV_TEMPO" collection
 * @method Doctrine_Collection getININVENTARIODVTEMPO2()     Returns the current record's "IN_INVENTARIO_DV_TEMPO_2" collection
 * @method Doctrine_Collection getININVENTARIODV()           Returns the current record's "IN_INVENTARIO_DV" collection
 * @method Doctrine_Collection getININVENTARIOCON()          Returns the current record's "IN_INVENTARIO_CON" collection
 * @method Doctrine_Collection getINFIRMACONTRATO()          Returns the current record's "IN_FIRMA_CONTRATO" collection
 * @method Doctrine_Collection getINESTRUCTURA()             Returns the current record's "IN_ESTRUCTURA" collection
 * @method Doctrine_Collection getINDETMOVDV()               Returns the current record's "IN_DET_MOV_DV" collection
 * @method Doctrine_Collection getINDETMOVCON()              Returns the current record's "IN_DET_MOV_CON" collection
 * @method Doctrine_Collection getINCOTIZACION()             Returns the current record's "IN_COTIZACION" collection
 * @method Doctrine_Collection getINCENTROOPERACIONPREF()    Returns the current record's "IN_CENTRO_OPERACION_PREF" collection
 * @method Doctrine_Collection getINALMACENISTA()            Returns the current record's "IN_ALMACENISTA" collection
 * @method Doctrine_Collection getCOESTUDIOSPREVIOS()        Returns the current record's "CO_ESTUDIOS_PREVIOS" collection
 * @method Doctrine_Collection getCOCONSECUTIVOEP()          Returns the current record's "CO_CONSECUTIVO_EP" collection
 * @method Doctrine_Collection getACTIVIDADFORMACION()       Returns the current record's "ACTIVIDAD_FORMACION" collection
 * @method Doctrine_Collection getACTIVIDAD()                Returns the current record's "ACTIVIDAD" collection
 * @method CENTRO_OPERACION    setIdCenOp()                  Sets the current record's "id_cen_op" value
 * @method CENTRO_OPERACION    setIdCia()                    Sets the current record's "id_cia" value
 * @method CENTRO_OPERACION    setNomCenOp()                 Sets the current record's "nom_cen_op" value
 * @method CENTRO_OPERACION    setDescrCenOp()               Sets the current record's "descr_cen_op" value
 * @method CENTRO_OPERACION    setActivo()                   Sets the current record's "activo" value
 * @method CENTRO_OPERACION    setPrefijo()                  Sets the current record's "prefijo" value
 * @method CENTRO_OPERACION    setIdDepto()                  Sets the current record's "id_depto" value
 * @method CENTRO_OPERACION    setCodmun()                   Sets the current record's "codmun" value
 * @method CENTRO_OPERACION    setCOMPANIA()                 Sets the current record's "COMPANIA" value
 * @method CENTRO_OPERACION    setINUSUARIOCENOP()           Sets the current record's "IN_USUARIO_CEN_OP" collection
 * @method CENTRO_OPERACION    setINTOMAINVENTARIO()         Sets the current record's "IN_TOMA_INVENTARIO" collection
 * @method CENTRO_OPERACION    setINTABLEVIGSEQCEN()         Sets the current record's "IN_TABLE_VIG_SEQ_CEN" collection
 * @method CENTRO_OPERACION    setINTABLEVIGSEQ()            Sets the current record's "IN_TABLE_VIG_SEQ" collection
 * @method CENTRO_OPERACION    setINSOLICOMPRA()             Sets the current record's "IN_SOLI_COMPRA" collection
 * @method CENTRO_OPERACION    setINSALDOINVENTARIODV()      Sets the current record's "IN_SALDO_INVENTARIO_DV" collection
 * @method CENTRO_OPERACION    setINSALDOINVENTARIOCON()     Sets the current record's "IN_SALDO_INVENTARIO_CON" collection
 * @method CENTRO_OPERACION    setINMOVIMIENTOSDV()          Sets the current record's "IN_MOVIMIENTOS_DV" collection
 * @method CENTRO_OPERACION    setINMOVIMIENTOSDV9()         Sets the current record's "IN_MOVIMIENTOS_DV_9" collection
 * @method CENTRO_OPERACION    setINMOVIMIENTOSCON()         Sets the current record's "IN_MOVIMIENTOS_CON" collection
 * @method CENTRO_OPERACION    setINMOVIMIENTOSCON2()        Sets the current record's "IN_MOVIMIENTOS_CON_2" collection
 * @method CENTRO_OPERACION    setININVENTARIODVTEMPO()      Sets the current record's "IN_INVENTARIO_DV_TEMPO" collection
 * @method CENTRO_OPERACION    setININVENTARIODVTEMPO2()     Sets the current record's "IN_INVENTARIO_DV_TEMPO_2" collection
 * @method CENTRO_OPERACION    setININVENTARIODV()           Sets the current record's "IN_INVENTARIO_DV" collection
 * @method CENTRO_OPERACION    setININVENTARIOCON()          Sets the current record's "IN_INVENTARIO_CON" collection
 * @method CENTRO_OPERACION    setINFIRMACONTRATO()          Sets the current record's "IN_FIRMA_CONTRATO" collection
 * @method CENTRO_OPERACION    setINESTRUCTURA()             Sets the current record's "IN_ESTRUCTURA" collection
 * @method CENTRO_OPERACION    setINDETMOVDV()               Sets the current record's "IN_DET_MOV_DV" collection
 * @method CENTRO_OPERACION    setINDETMOVCON()              Sets the current record's "IN_DET_MOV_CON" collection
 * @method CENTRO_OPERACION    setINCOTIZACION()             Sets the current record's "IN_COTIZACION" collection
 * @method CENTRO_OPERACION    setINCENTROOPERACIONPREF()    Sets the current record's "IN_CENTRO_OPERACION_PREF" collection
 * @method CENTRO_OPERACION    setINALMACENISTA()            Sets the current record's "IN_ALMACENISTA" collection
 * @method CENTRO_OPERACION    setCOESTUDIOSPREVIOS()        Sets the current record's "CO_ESTUDIOS_PREVIOS" collection
 * @method CENTRO_OPERACION    setCOCONSECUTIVOEP()          Sets the current record's "CO_CONSECUTIVO_EP" collection
 * @method CENTRO_OPERACION    setACTIVIDADFORMACION()       Sets the current record's "ACTIVIDAD_FORMACION" collection
 * @method CENTRO_OPERACION    setACTIVIDAD()                Sets the current record's "ACTIVIDAD" collection_FORMACION
 * @property Doctrine_Collection $ACTIVIDAD
 * 
 * @method integer             getIdCenOp()                  Returns the current record's "id_cen_op" value
 * @method integer             getIdCia()                    Returns the current record's "id_cia" value
 * @method string              getNomCenOp()                 Returns the current record's "nom_cen_op" value
 * @method string              getDescrCenOp()               Returns the current record's "descr_cen_op" value
 * @method integer             getActivo()                   Returns the current record's "activo" value
 * @method string              getPrefijo()                  Returns the current record's "prefijo" value
 * @method integer             getIdDepto()                  Returns the current record's "id_depto" value
 * @method integer             getCodmun()                   Returns the current record's "codmun" value
 * @method COMPANIA            getCOMPANIA()                 Returns the current record's "COMPANIA" value
 * @method Doctrine_Collection getINUSUARIOCENOP()           Returns the current record's "IN_USUARIO_CEN_OP" collection
 * @method Doctrine_Collection getINTOMAINVENTARIO()         Returns the current record's "IN_TOMA_INVENTARIO" collection
 * @method Doctrine_Collection getINTABLEVIGSEQCEN()         Returns the current record's "IN_TABLE_VIG_SEQ_CEN" collection
 * @method Doctrine_Collection getINTABLEVIGSEQ()            Returns the current record's "IN_TABLE_VIG_SEQ" collection
 * @method Doctrine_Collection getINSOLICOMPRA()             Returns the current record's "IN_SOLI_COMPRA" collection
 * @method Doctrine_Collection getINSALDOINVENTARIODV()      Returns the current record's "IN_SALDO_INVENTARIO_DV" collection
 * @method Doctrine_Collection getINSALDOINVENTARIOCON()     Returns the current record's "IN_SALDO_INVENTARIO_CON" collection
 * @method Doctrine_Collection getINMOVIMIENTOSDV()          Returns the current record's "IN_MOVIMIENTOS_DV" collection
 * @method Doctrine_Collection getINMOVIMIENTOSDV9()         Returns the current record's "IN_MOVIMIENTOS_DV_9" collection
 * @method Doctrine_Collection getINMOVIMIENTOSCON()         Returns the current record's "IN_MOVIMIENTOS_CON" collection
 * @method Doctrine_Collection getINMOVIMIENTOSCON2()        Returns the current record's "IN_MOVIMIENTOS_CON_2" collection
 * @method Doctrine_Collection getININVENTARIODVTEMPO()      Returns the current record's "IN_INVENTARIO_DV_TEMPO" collection
 * @method Doctrine_Collection getININVENTARIODVTEMPO2()     Returns the current record's "IN_INVENTARIO_DV_TEMPO_2" collection
 * @method Doctrine_Collection getININVENTARIODV()           Returns the current record's "IN_INVENTARIO_DV" collection
 * @method Doctrine_Collection getININVENTARIOCON()          Returns the current record's "IN_INVENTARIO_CON" collection
 * @method Doctrine_Collection getINFIRMACONTRATO()          Returns the current record's "IN_FIRMA_CONTRATO" collection
 * @method Doctrine_Collection getINESTRUCTURA()             Returns the current record's "IN_ESTRUCTURA" collection
 * @method Doctrine_Collection getINDETMOVDV()               Returns the current record's "IN_DET_MOV_DV" collection
 * @method Doctrine_Collection getINDETMOVCON()              Returns the current record's "IN_DET_MOV_CON" collection
 * @method Doctrine_Collection getINCOTIZACION()             Returns the current record's "IN_COTIZACION" collection
 * @method Doctrine_Collection getINCENTROOPERACIONPREF()    Returns the current record's "IN_CENTRO_OPERACION_PREF" collection
 * @method Doctrine_Collection getINALMACENISTA()            Returns the current record's "IN_ALMACENISTA" collection
 * @method Doctrine_Collection getCOESTUDIOSPREVIOS()        Returns the current record's "CO_ESTUDIOS_PREVIOS" collection
 * @method Doctrine_Collection getCOCONSECUTIVOEP()          Returns the current record's "CO_CONSECUTIVO_EP" collection
 * @method Doctrine_Collection getACTIVIDADFORMACION()       Returns the current record's "ACTIVIDAD_FORMACION" collection
 * @method Doctrine_Collection getACTIVIDAD()                Returns the current record's "ACTIVIDAD" collection
 * @method CENTRO_OPERACION    setIdCenOp()                  Sets the current record's "id_cen_op" value
 * @method CENTRO_OPERACION    setIdCia()                    Sets the current record's "id_cia" value
 * @method CENTRO_OPERACION    setNomCenOp()                 Sets the current record's "nom_cen_op" value
 * @method CENTRO_OPERACION    setDescrCenOp()               Sets the current record's "descr_cen_op" value
 * @method CENTRO_OPERACION    setActivo()                   Sets the current record's "activo" value
 * @method CENTRO_OPERACION    setPrefijo()                  Sets the current record's "prefijo" value
 * @method CENTRO_OPERACION    setIdDepto()                  Sets the current record's "id_depto" value
 * @method CENTRO_OPERACION    setCodmun()                   Sets the current record's "codmun" value
 * @method CENTRO_OPERACION    setCOMPANIA()                 Sets the current record's "COMPANIA" value
 * @method CENTRO_OPERACION    setINUSUARIOCENOP()           Sets the current record's "IN_USUARIO_CEN_OP" collection
 * @method CENTRO_OPERACION    setINTOMAINVENTARIO()         Sets the current record's "IN_TOMA_INVENTARIO" collection
 * @method CENTRO_OPERACION    setINTABLEVIGSEQCEN()         Sets the current record's "IN_TABLE_VIG_SEQ_CEN" collection
 * @method CENTRO_OPERACION    setINTABLEVIGSEQ()            Sets the current record's "IN_TABLE_VIG_SEQ" collection
 * @method CENTRO_OPERACION    setINSOLICOMPRA()             Sets the current record's "IN_SOLI_COMPRA" collection
 * @method CENTRO_OPERACION    setINSALDOINVENTARIODV()      Sets the current record's "IN_SALDO_INVENTARIO_DV" collection
 * @method CENTRO_OPERACION    setINSALDOINVENTARIOCON()     Sets the current record's "IN_SALDO_INVENTARIO_CON" collection
 * @method CENTRO_OPERACION    setINMOVIMIENTOSDV()          Sets the current record's "IN_MOVIMIENTOS_DV" collection
 * @method CENTRO_OPERACION    setINMOVIMIENTOSDV9()         Sets the current record's "IN_MOVIMIENTOS_DV_9" collection
 * @method CENTRO_OPERACION    setINMOVIMIENTOSCON()         Sets the current record's "IN_MOVIMIENTOS_CON" collection
 * @method CENTRO_OPERACION    setINMOVIMIENTOSCON2()        Sets the current record's "IN_MOVIMIENTOS_CON_2" collection
 * @method CENTRO_OPERACION    setININVENTARIODVTEMPO()      Sets the current record's "IN_INVENTARIO_DV_TEMPO" collection
 * @method CENTRO_OPERACION    setININVENTARIODVTEMPO2()     Sets the current record's "IN_INVENTARIO_DV_TEMPO_2" collection
 * @method CENTRO_OPERACION    setININVENTARIODV()           Sets the current record's "IN_INVENTARIO_DV" collection
 * @method CENTRO_OPERACION    setININVENTARIOCON()          Sets the current record's "IN_INVENTARIO_CON" collection
 * @method CENTRO_OPERACION    setINFIRMACONTRATO()          Sets the current record's "IN_FIRMA_CONTRATO" collection
 * @method CENTRO_OPERACION    setINESTRUCTURA()             Sets the current record's "IN_ESTRUCTURA" collection
 * @method CENTRO_OPERACION    setINDETMOVDV()               Sets the current record's "IN_DET_MOV_DV" collection
 * @method CENTRO_OPERACION    setINDETMOVCON()              Sets the current record's "IN_DET_MOV_CON" collection
 * @method CENTRO_OPERACION    setINCOTIZACION()             Sets the current record's "IN_COTIZACION" collection
 * @method CENTRO_OPERACION    setINCENTROOPERACIONPREF()    Sets the current record's "IN_CENTRO_OPERACION_PREF" collection
 * @method CENTRO_OPERACION    setINALMACENISTA()            Sets the current record's "IN_ALMACENISTA" collection
 * @method CENTRO_OPERACION    setCOESTUDIOSPREVIOS()        Sets the current record's "CO_ESTUDIOS_PREVIOS" collection
 * @method CENTRO_OPERACION    setCOCONSECUTIVOEP()          Sets the current record's "CO_CONSECUTIVO_EP" collection
 * @method CENTRO_OPERACION    setACTIVIDADFORMACION()       Sets the current record's "ACTIVIDAD_FORMACION" collection
 * @method CENTRO_OPERACION    setACTIVIDAD()                Sets the current record's "ACTIVIDAD" 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 BaseCENTRO_OPERACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CENTRO_OPERACION');
        $this->hasColumn('id_cen_op', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_cia', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nom_cen_op', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('descr_cen_op', 'string', 1000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('activo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('prefijo', 'string', 10, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 10,
             ));
        $this->hasColumn('id_depto', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('codmun', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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

        $this->hasMany('IN_USUARIO_CEN_OP', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));

        $this->hasMany('IN_TOMA_INVENTARIO', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));

        $this->hasMany('IN_TABLE_VIG_SEQ_CEN', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));

        $this->hasMany('IN_TABLE_VIG_SEQ', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));

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

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

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

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

        $this->hasMany('IN_MOVIMIENTOS_DV as IN_MOVIMIENTOS_DV_9', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op_fin'));

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

        $this->hasMany('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_2', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op_fin'));

        $this->hasMany('IN_INVENTARIO_DV_TEMPO', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op_ini'));

        $this->hasMany('IN_INVENTARIO_DV_TEMPO as IN_INVENTARIO_DV_TEMPO_2', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op_fin'));

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

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

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

        $this->hasMany('IN_ESTRUCTURA', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));

        $this->hasMany('IN_DET_MOV_DV', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));

        $this->hasMany('IN_DET_MOV_CON', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));

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

        $this->hasMany('IN_CENTRO_OPERACION_PREF', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));

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

        $this->hasMany('CO_ESTUDIOS_PREVIOS', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));

        $this->hasMany('CO_CONSECUTIVO_EP', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));

        $this->hasMany('ACTIVIDAD_FORMACION', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));

        $this->hasMany('ACTIVIDAD', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));
    }
}