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

/**
 * BaseIN_MOVIMIENTOS_CON
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_movimientos_con
 * @property integer $id_vigencia
 * @property integer $id_cen_op
 * @property integer $id_tipo_movimiento
 * @property integer $id_concepto_movimiento
 * @property string $num_doc
 * @property integer $id_ts_td
 * @property timestamp $fecha_doc
 * @property integer $id_mae_ter_ini
 * @property integer $id_mae_ter_fin
 * @property integer $id_espacio_ini
 * @property integer $id_espacio_fin
 * @property integer $id_tipo_almacenamiento_ini
 * @property integer $id_tipo_almacenamiento_fin
 * @property integer $anulado
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * @property integer $id_usuario_anu
 * @property integer $estado
 * @property string $observaciones
 * @property integer $id_cen_op_fin
 * @property timestamp $fecha_mov
 * @property decimal $valor_factura
 * @property decimal $valor_ajuste
 * @property CENTRO_OPERACION $CENTRO_OPERACION
 * @property CENTRO_OPERACION $CENTRO_OPERACION_2
 * @property INTERCEROS $INTERCEROS
 * @property INTERCEROS $INTERCEROS_4
 * @property INTERCEROS $INTERCEROS_5
 * @property IN_CONCEPTO_MOVIMIENTO $IN_CONCEPTO_MOVIMIENTO
 * @property IN_ESPACIO $IN_ESPACIO
 * @property IN_ESPACIO $IN_ESPACIO_8
 * @property IN_TIPO_MOVIMIENTO $IN_TIPO_MOVIMIENTO
 * @property IN_TIPO_ALMACENAMIENTO $IN_TIPO_ALMACENAMIENTO
 * @property IN_TIPO_ALMACENAMIENTO $IN_TIPO_ALMACENAMIENTO_11
 * @property TS_TD $TS_TD
 * @property Doctrine_Collection $IN_DET_MOV_CON
 * @property Doctrine_Collection $IN_DET_MOV_CON_13
 * @property Doctrine_Collection $IN_DET_MOV_CON_14
 * @property Doctrine_Collection $IN_DET_MOV_CON_15
 * @property Doctrine_Collection $IN_DET_MOV_CON_16
 * @property Doctrine_Collection $IN_DET_MOV_CON_17
 * @property Doctrine_Collection $IN_DET_MOV_CON_18
 * @property Doctrine_Collection $IN_DET_MOV_CON_19
 * @property Doctrine_Collection $IN_DET_MOV_CON_20
 * @property Doctrine_Collection $IN_DET_MOV_CON_21
 * @property Doctrine_Collection $IN_DET_MOV_CON_22
 * @property Doctrine_Collection $IN_DET_MOV_CON_23
 * @property Doctrine_Collection $IN_DET_MOV_CON_24
 * @property Doctrine_Collection $IN_DET_MOV_CON_25
 * @property Doctrine_Collection $IN_DET_MOV_CON_26
 * @property Doctrine_Collection $IN_DET_MOV_CON_27
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_11
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_12
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_13
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_14
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_15
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_16
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_17
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_18
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_19
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_20
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_21
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_22
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_23
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_24
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_25
 * 
 * @method integer                getIdMovimientosCon()           Returns the current record's "id_movimientos_con" value
 * @method integer                getIdVigencia()                 Returns the current record's "id_vigencia" value
 * @method integer                getIdCenOp()                    Returns the current record's "id_cen_op" value
 * @method integer                getIdTipoMovimiento()           Returns the current record's "id_tipo_movimiento" value
 * @method integer                getIdConceptoMovimiento()       Returns the current record's "id_concepto_movimiento" value
 * @method string                 getNumDoc()                     Returns the current record's "num_doc" value
 * @method integer                getIdTsTd()                     Returns the current record's "id_ts_td" value
 * @method timestamp              getFechaDoc()                   Returns the current record's "fecha_doc" value
 * @method integer                getIdMaeTerIni()                Returns the current record's "id_mae_ter_ini" value
 * @method integer                getIdMaeTerFin()                Returns the current record's "id_mae_ter_fin" value
 * @method integer                getIdEspacioIni()               Returns the current record's "id_espacio_ini" value
 * @method integer                getIdEspacioFin()               Returns the current record's "id_espacio_fin" value
 * @method integer                getIdTipoAlmacenamientoIni()    Returns the current record's "id_tipo_almacenamiento_ini" value
 * @method integer                getIdTipoAlmacenamientoFin()    Returns the current record's "id_tipo_almacenamiento_fin" value
 * @method integer                getAnulado()                    Returns the current record's "anulado" value
 * @method timestamp              getFechaAnu()                   Returns the current record's "fecha_anu" value
 * @method string                 getMotivoAnu()                  Returns the current record's "motivo_anu" value
 * @method integer                getIdUsuarioAnu()               Returns the current record's "id_usuario_anu" value
 * @method integer                getEstado()                     Returns the current record's "estado" value
 * @method string                 getObservaciones()              Returns the current record's "observaciones" value
 * @method integer                getIdCenOpFin()                 Returns the current record's "id_cen_op_fin" value
 * @method timestamp              getFechaMov()                   Returns the current record's "fecha_mov" value
 * @method decimal                getValorFactura()               Returns the current record's "valor_factura" value
 * @method decimal                getValorAjuste()                Returns the current record's "valor_ajuste" value
 * @method CENTRO_OPERACION       getCENTROOPERACION()            Returns the current record's "CENTRO_OPERACION" value
 * @method CENTRO_OPERACION       getCENTROOPERACION2()           Returns the current record's "CENTRO_OPERACION_2" value
 * @method INTERCEROS             getINTERCEROS()                 Returns the current record's "INTERCEROS" value
 * @method INTERCEROS             getINTERCEROS4()                Returns the current record's "INTERCEROS_4" value
 * @method INTERCEROS             getINTERCEROS5()                Returns the current record's "INTERCEROS_5" value
 * @method IN_CONCEPTO_MOVIMIENTO getINCONCEPTOMOVIMIENTO()       Returns the current record's "IN_CONCEPTO_MOVIMIENTO" value
 * @method IN_ESPACIO             getINESPACIO()                  Returns the current record's "IN_ESPACIO" value
 * @method IN_ESPACIO             getINESPACIO8()                 Returns the current record's "IN_ESPACIO_8" value
 * @method IN_TIPO_MOVIMIENTO     getINTIPOMOVIMIENTO()           Returns the current record's "IN_TIPO_MOVIMIENTO" value
 * @method IN_TIPO_ALMACENAMIENTO getINTIPOALMACENAMIENTO()       Returns the current record's "IN_TIPO_ALMACENAMIENTO" value
 * @method IN_TIPO_ALMACENAMIENTO getINTIPOALMACENAMIENTO11()     Returns the current record's "IN_TIPO_ALMACENAMIENTO_11" value
 * @method TS_TD                  getTSTD()                       Returns the current record's "TS_TD" value
 * @method Doctrine_Collection    getINDETMOVCON()                Returns the current record's "IN_DET_MOV_CON" collection
 * @method Doctrine_Collection    getINDETMOVCON13()              Returns the current record's "IN_DET_MOV_CON_13" collection
 * @method Doctrine_Collection    getINDETMOVCON14()              Returns the current record's "IN_DET_MOV_CON_14" collection
 * @method Doctrine_Collection    getINDETMOVCON15()              Returns the current record's "IN_DET_MOV_CON_15" collection
 * @method Doctrine_Collection    getINDETMOVCON16()              Returns the current record's "IN_DET_MOV_CON_16" collection
 * @method Doctrine_Collection    getINDETMOVCON17()              Returns the current record's "IN_DET_MOV_CON_17" collection
 * @method Doctrine_Collection    getINDETMOVCON18()              Returns the current record's "IN_DET_MOV_CON_18" collection
 * @method Doctrine_Collection    getINDETMOVCON19()              Returns the current record's "IN_DET_MOV_CON_19" collection
 * @method Doctrine_Collection    getINDETMOVCON20()              Returns the current record's "IN_DET_MOV_CON_20" collection
 * @method Doctrine_Collection    getINDETMOVCON21()              Returns the current record's "IN_DET_MOV_CON_21" collection
 * @method Doctrine_Collection    getINDETMOVCON22()              Returns the current record's "IN_DET_MOV_CON_22" collection
 * @method Doctrine_Collection    getINDETMOVCON23()              Returns the current record's "IN_DET_MOV_CON_23" collection
 * @method Doctrine_Collection    getINDETMOVCON24()              Returns the current record's "IN_DET_MOV_CON_24" collection
 * @method Doctrine_Collection    getINDETMOVCON25()              Returns the current record's "IN_DET_MOV_CON_25" collection
 * @method Doctrine_Collection    getINDETMOVCON26()              Returns the current record's "IN_DET_MOV_CON_26" collection
 * @method Doctrine_Collection    getINDETMOVCON27()              Returns the current record's "IN_DET_MOV_CON_27" collection
 * @method Doctrine_Collection    getINCONTRATOMOVCON()           Returns the current record's "IN_CONTRATO_MOV_CON" collection
 * @method Doctrine_Collection    getINCONTRATOMOVCON11()         Returns the current record's "IN_CONTRATO_MOV_CON_11" collection
 * @method Doctrine_Collection    getINCONTRATOMOVCON12()         Returns the current record's "IN_CONTRATO_MOV_CON_12" collection
 * @method Doctrine_Collection    getINCONTRATOMOVCON13()         Returns the current record's "IN_CONTRATO_MOV_CON_13" collection
 * @method Doctrine_Collection    getINCONTRATOMOVCON14()         Returns the current record's "IN_CONTRATO_MOV_CON_14" collection
 * @method Doctrine_Collection    getINCONTRATOMOVCON15()         Returns the current record's "IN_CONTRATO_MOV_CON_15" collection
 * @method Doctrine_Collection    getINCONTRATOMOVCON16()         Returns the current record's "IN_CONTRATO_MOV_CON_16" collection
 * @method Doctrine_Collection    getINCONTRATOMOVCON17()         Returns the current record's "IN_CONTRATO_MOV_CON_17" collection
 * @method Doctrine_Collection    getINCONTRATOMOVCON18()         Returns the current record's "IN_CONTRATO_MOV_CON_18" collection
 * @method Doctrine_Collection    getINCONTRATOMOVCON19()         Returns the current record's "IN_CONTRATO_MOV_CON_19" collection
 * @method Doctrine_Collection    getINCONTRATOMOVCON20()         Returns the current record's "IN_CONTRATO_MOV_CON_20" collection
 * @method Doctrine_Collection    getINCONTRATOMOVCON21()         Returns the current record's "IN_CONTRATO_MOV_CON_21" collection
 * @method Doctrine_Collection    getINCONTRATOMOVCON22()         Returns the current record's "IN_CONTRATO_MOV_CON_22" collection
 * @method Doctrine_Collection    getINCONTRATOMOVCON23()         Returns the current record's "IN_CONTRATO_MOV_CON_23" collection
 * @method Doctrine_Collection    getINCONTRATOMOVCON24()         Returns the current record's "IN_CONTRATO_MOV_CON_24" collection
 * @method Doctrine_Collection    getINCONTRATOMOVCON25()         Returns the current record's "IN_CONTRATO_MOV_CON_25" collection
 * @method IN_MOVIMIENTOS_CON     setIdMovimientosCon()           Sets the current record's "id_movimientos_con" value
 * @method IN_MOVIMIENTOS_CON     setIdVigencia()                 Sets the current record's "id_vigencia" value
 * @method IN_MOVIMIENTOS_CON     setIdCenOp()                    Sets the current record's "id_cen_op" value
 * @method IN_MOVIMIENTOS_CON     setIdTipoMovimiento()           Sets the current record's "id_tipo_movimiento" value
 * @method IN_MOVIMIENTOS_CON     setIdConceptoMovimiento()       Sets the current record's "id_concepto_movimiento" value
 * @method IN_MOVIMIENTOS_CON     setNumDoc()                     Sets the current record's "num_doc" value
 * @method IN_MOVIMIENTOS_CON     setIdTsTd()                     Sets the current record's "id_ts_td" value
 * @method IN_MOVIMIENTOS_CON     setFechaDoc()                   Sets the current record's "fecha_doc" value
 * @method IN_MOVIMIENTOS_CON     setIdMaeTerIni()                Sets the current record's "id_mae_ter_ini" value
 * @method IN_MOVIMIENTOS_CON     setIdMaeTerFin()                Sets the current record's "id_mae_ter_fin" value
 * @method IN_MOVIMIENTOS_CON     setIdEspacioIni()               Sets the current record's "id_espacio_ini" value
 * @method IN_MOVIMIENTOS_CON     setIdEspacioFin()               Sets the current record's "id_espacio_fin" value
 * @method IN_MOVIMIENTOS_CON     setIdTipoAlmacenamientoIni()    Sets the current record's "id_tipo_almacenamiento_ini" value
 * @method IN_MOVIMIENTOS_CON     setIdTipoAlmacenamientoFin()    Sets the current record's "id_tipo_almacenamiento_fin" value
 * @method IN_MOVIMIENTOS_CON     setAnulado()                    Sets the current record's "anulado" value
 * @method IN_MOVIMIENTOS_CON     setFechaAnu()                   Sets the current record's "fecha_anu" value
 * @method IN_MOVIMIENTOS_CON     setMotivoAnu()                  Sets the current record's "motivo_anu" value
 * @method IN_MOVIMIENTOS_CON     setIdUsuarioAnu()               Sets the current record's "id_usuario_anu" value
 * @method IN_MOVIMIENTOS_CON     setEstado()                     Sets the current record's "estado" value
 * @method IN_MOVIMIENTOS_CON     setObservaciones()              Sets the current record's "observaciones" value
 * @method IN_MOVIMIENTOS_CON     setIdCenOpFin()                 Sets the current record's "id_cen_op_fin" value
 * @method IN_MOVIMIENTOS_CON     setFechaMov()                   Sets the current record's "fecha_mov" value
 * @method IN_MOVIMIENTOS_CON     setValorFactura()               Sets the current record's "valor_factura" value
 * @method IN_MOVIMIENTOS_CON     setValorAjuste()                Sets the current record's "valor_ajuste" value
 * @method IN_MOVIMIENTOS_CON     setCENTROOPERACION()            Sets the current record's "CENTRO_OPERACION" value
 * @method IN_MOVIMIENTOS_CON     setCENTROOPERACION2()           Sets the current record's "CENTRO_OPERACION_2" value
 * @method IN_MOVIMIENTOS_CON     setINTERCEROS()                 Sets the current record's "INTERCEROS" value
 * @method IN_MOVIMIENTOS_CON     setINTERCEROS4()                Sets the current record's "INTERCEROS_4" value
 * @method IN_MOVIMIENTOS_CON     setINTERCEROS5()                Sets the current record's "INTERCEROS_5" value
 * @method IN_MOVIMIENTOS_CON     setINCONCEPTOMOVIMIENTO()       Sets the current record's "IN_CONCEPTO_MOVIMIENTO" value
 * @method IN_MOVIMIENTOS_CON     setINESPACIO()                  Sets the current record's "IN_ESPACIO" value
 * @method IN_MOVIMIENTOS_CON     setINESPACIO8()                 Sets the current record's "IN_ESPACIO_8" value
 * @method IN_MOVIMIENTOS_CON     setINTIPOMOVIMIENTO()           Sets the current record's "IN_TIPO_MOVIMIENTO" value
 * @method IN_MOVIMIENTOS_CON     setINTIPOALMACENAMIENTO()       Sets the current record's "IN_TIPO_ALMACENAMIENTO" value
 * @method IN_MOVIMIENTOS_CON     setINTIPOALMACENAMIENTO11()     Sets the current record's "IN_TIPO_ALMACENAMIENTO_11" value
 * @method IN_MOVIMIENTOS_CON     setTSTD()                       Sets the current record's "TS_TD" value
 * @method IN_MOVIMIENTOS_CON     setINDETMOVCON()                Sets the current record's "IN_DET_MOV_CON" collection
 * @method IN_MOVIMIENTOS_CON     setINDETMOVCON13()              Sets the current record's "IN_DET_MOV_CON_13" collection
 * @method IN_MOVIMIENTOS_CON     setINDETMOVCON14()              Sets the current record's "IN_DET_MOV_CON_14" collection
 * @method IN_MOVIMIENTOS_CON     setINDETMOVCON15()              Sets the current record's "IN_DET_MOV_CON_15" collection
 * @method IN_MOVIMIENTOS_CON     setINDETMOVCON16()              Sets the current record's "IN_DET_MOV_CON_16" collection
 * @method IN_MOVIMIENTOS_CON     setINDETMOVCON17()              Sets the current record's "IN_DET_MOV_CON_17" collection
 * @method IN_MOVIMIENTOS_CON     setINDETMOVCON18()              Sets the current record's "IN_DET_MOV_CON_18" collection
 * @method IN_MOVIMIENTOS_CON     setINDETMOVCON19()              Sets the current record's "IN_DET_MOV_CON_19" collection
 * @method IN_MOVIMIENTOS_CON     setINDETMOVCON20()              Sets the current record's "IN_DET_MOV_CON_20" collection
 * @method IN_MOVIMIENTOS_CON     setINDETMOVCON21()              Sets the current record's "IN_DET_MOV_CON_21" collection
 * @method IN_MOVIMIENTOS_CON     setINDETMOVCON22()              Sets the current record's "IN_DET_MOV_CON_22" collection
 * @method IN_MOVIMIENTOS_CON     setINDETMOVCON23()              Sets the current record's "IN_DET_MOV_CON_23" collection
 * @method IN_MOVIMIENTOS_CON     setINDETMOVCON24()              Sets the current record's "IN_DET_MOV_CON_24" collection
 * @method IN_MOVIMIENTOS_CON     setINDETMOVCON25()              Sets the current record's "IN_DET_MOV_CON_25" collection
 * @method IN_MOVIMIENTOS_CON     setINDETMOVCON26()              Sets the current record's "IN_DET_MOV_CON_26" collection
 * @method IN_MOVIMIENTOS_CON     setINDETMOVCON27()              Sets the current record's "IN_DET_MOV_CON_27" collection
 * @method IN_MOVIMIENTOS_CON     setINCONTRATOMOVCON()           Sets the current record's "IN_CONTRATO_MOV_CON" collection
 * @method IN_MOVIMIENTOS_CON     setINCONTRATOMOVCON11()         Sets the current record's "IN_CONTRATO_MOV_CON_11" collection
 * @method IN_MOVIMIENTOS_CON     setINCONTRATOMOVCON12()         Sets the current record's "IN_CONTRATO_MOV_CON_12" collection
 * @method IN_MOVIMIENTOS_CON     setINCONTRATOMOVCON13()         Sets the current record's "IN_CONTRATO_MOV_CON_13" collection
 * @method IN_MOVIMIENTOS_CON     setINCONTRATOMOVCON14()         Sets the current record's "IN_CONTRATO_MOV_CON_14" collection
 * @method IN_MOVIMIENTOS_CON     setINCONTRATOMOVCON15()         Sets the current record's "IN_CONTRATO_MOV_CON_15" collection
 * @method IN_MOVIMIENTOS_CON     setINCONTRATOMOVCON16()         Sets the current record's "IN_CONTRATO_MOV_CON_16" collection
 * @method IN_MOVIMIENTOS_CON     setINCONTRATOMOVCON17()         Sets the current record's "IN_CONTRATO_MOV_CON_17" collection
 * @method IN_MOVIMIENTOS_CON     setINCONTRATOMOVCON18()         Sets the current record's "IN_CONTRATO_MOV_CON_18" collection
 * @method IN_MOVIMIENTOS_CON     setINCONTRATOMOVCON19()         Sets the current record's "IN_CONTRATO_MOV_CON_19" collection
 * @method IN_MOVIMIENTOS_CON     setINCONTRATOMOVCON20()         Sets the current record's "IN_CONTRATO_MOV_CON_20" collection
 * @method IN_MOVIMIENTOS_CON     setINCONTRATOMOVCON21()         Sets the current record's "IN_CONTRATO_MOV_CON_21" collection
 * @method IN_MOVIMIENTOS_CON     setINCONTRATOMOVCON22()         Sets the current record's "IN_CONTRATO_MOV_CON_22" collection
 * @method IN_MOVIMIENTOS_CON     setINCONTRATOMOVCON23()         Sets the current record's "IN_CONTRATO_MOV_CON_23" collection
 * @method IN_MOVIMIENTOS_CON     setINCONTRATOMOVCON24()         Sets the current record's "IN_CONTRATO_MOV_CON_24" collection
 * @method IN_MOVIMIENTOS_CON     setINCONTRATOMOVCON25()         Sets the current record's "IN_CONTRATO_MOV_CON_25" collection
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_MOVIMIENTOS_CON extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_MOVIMIENTOS_CON');
        $this->hasColumn('id_movimientos_con', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_movimiento', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_concepto_movimiento', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_ts_td', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_doc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_mae_ter_ini', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_ter_fin', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_espacio_ini', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_espacio_fin', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_almacenamiento_ini', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_almacenamiento_fin', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('anulado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('motivo_anu', 'string', 256, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 256,
             ));
        $this->hasColumn('id_usuario_anu', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('observaciones', 'string', 999, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 999,
             ));
        $this->hasColumn('id_cen_op_fin', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_mov', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('valor_factura', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('valor_ajuste', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 18,
             ));
    }

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

        $this->hasOne('CENTRO_OPERACION as CENTRO_OPERACION_2', array(
             'local' => 'id_cen_op_fin',
             'foreign' => 'id_cen_op'));

        $this->hasOne('INTERCEROS', array(
             'local' => 'id_mae_ter_ini',
             'foreign' => 'id_mae_ter'));

        $this->hasOne('INTERCEROS as INTERCEROS_4', array(
             'local' => 'id_mae_ter_fin',
             'foreign' => 'id_mae_ter'));

        $this->hasOne('INTERCEROS as INTERCEROS_5', array(
             'local' => 'id_usuario_anu',
             'foreign' => 'id_mae_ter'));

        $this->hasOne('IN_CONCEPTO_MOVIMIENTO', array(
             'local' => 'id_concepto_movimiento',
             'foreign' => 'id_concepto_movimiento'));

        $this->hasOne('IN_ESPACIO', array(
             'local' => 'id_espacio_ini',
             'foreign' => 'id_espacio'));

        $this->hasOne('IN_ESPACIO as IN_ESPACIO_8', array(
             'local' => 'id_espacio_fin',
             'foreign' => 'id_espacio'));

        $this->hasOne('IN_TIPO_MOVIMIENTO', array(
             'local' => 'id_tipo_movimiento',
             'foreign' => 'id_tipo_movimiento'));

        $this->hasOne('IN_TIPO_ALMACENAMIENTO', array(
             'local' => 'id_tipo_almacenamiento_ini',
             'foreign' => 'id_tipo_almacenamiento'));

        $this->hasOne('IN_TIPO_ALMACENAMIENTO as IN_TIPO_ALMACENAMIENTO_11', array(
             'local' => 'id_tipo_almacenamiento_fin',
             'foreign' => 'id_tipo_almacenamiento'));

        $this->hasOne('TS_TD', array(
             'local' => 'id_ts_td',
             'foreign' => 'id'));

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

        $this->hasMany('IN_DET_MOV_CON as IN_DET_MOV_CON_13', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_movimientos_con'));

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

        $this->hasMany('IN_DET_MOV_CON as IN_DET_MOV_CON_15', array(
             'local' => 'id_tipo_movimiento',
             'foreign' => 'id_movimientos_con'));

        $this->hasMany('IN_DET_MOV_CON as IN_DET_MOV_CON_16', array(
             'local' => 'id_movimientos_con',
             'foreign' => 'id_vigencia'));

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

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

        $this->hasMany('IN_DET_MOV_CON as IN_DET_MOV_CON_19', array(
             'local' => 'id_tipo_movimiento',
             'foreign' => 'id_vigencia'));

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

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

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

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

        $this->hasMany('IN_DET_MOV_CON as IN_DET_MOV_CON_24', array(
             'local' => 'id_movimientos_con',
             'foreign' => 'id_tipo_movimiento'));

        $this->hasMany('IN_DET_MOV_CON as IN_DET_MOV_CON_25', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_tipo_movimiento'));

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

        $this->hasMany('IN_DET_MOV_CON as IN_DET_MOV_CON_27', array(
             'local' => 'id_tipo_movimiento',
             'foreign' => 'id_tipo_movimiento'));

        $this->hasMany('IN_CONTRATO_MOV_CON', array(
             'local' => 'id_movimientos_con',
             'foreign' => 'id_movimientos_con'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_11', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_movimientos_con'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_12', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_movimientos_con'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_13', array(
             'local' => 'id_tipo_movimiento',
             'foreign' => 'id_movimientos_con'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_14', array(
             'local' => 'id_movimientos_con',
             'foreign' => 'id_vigencia_mov'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_15', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia_mov'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_16', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_vigencia_mov'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_17', array(
             'local' => 'id_tipo_movimiento',
             'foreign' => 'id_vigencia_mov'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_18', array(
             'local' => 'id_movimientos_con',
             'foreign' => 'id_cen_op_mov'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_19', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_cen_op_mov'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_20', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op_mov'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_21', array(
             'local' => 'id_tipo_movimiento',
             'foreign' => 'id_cen_op_mov'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_22', array(
             'local' => 'id_movimientos_con',
             'foreign' => 'id_tipo_movimiento'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_23', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_tipo_movimiento'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_24', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_tipo_movimiento'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_25', array(
             'local' => 'id_tipo_movimiento',
             'foreign' => 'id_tipo_movimiento'));
    }
}