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

/**
 * BaseIN_INVENTARIO_DV_TEMPO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_inventario_dv_tempo
 * @property integer $id_inventario_dv
 * @property integer $id_cen_op_ini
 * @property integer $id_cen_op
 * @property integer $id_espacio
 * @property integer $id_cen_op_fin
 * @property integer $id_mae_ter
 * @property integer $id_espacio_ini
 * @property integer $id_espacio_fin
 * @property integer $id_tipo_almacenamiento
 * @property integer $id_mae_ter_ini
 * @property integer $estado
 * @property timestamp $fecha_mod
 * @property integer $id_mae_ter_fin
 * @property string $coordenada_x
 * @property integer $id_tipo_almacenamiento_ini
 * @property string $coordenada_y
 * @property integer $id_tipo_almacenamiento_fin
 * @property integer $id_detalle_asignacion
 * @property integer $id_toma_inventario
 * @property integer $tipo_traslado
 * @property integer $id_movimientos_dv
 * @property integer $id_vigencia_mov
 * @property integer $id_cen_op_mov
 * @property integer $id_tipo_movimiento
 * @property CENTRO_OPERACION $CENTRO_OPERACION
 * @property INTERCEROS $INTERCEROS
 * @property IN_ESPACIO $IN_ESPACIO
 * @property IN_INVENTARIO_DV $IN_INVENTARIO_DV
 * @property IN_TIPO_ALMACENAMIENTO $IN_TIPO_ALMACENAMIENTO
 * @property IN_TOMA_INVENTARIO $IN_TOMA_INVENTARIO
 * 
 * @method integer                getIdInventarioDvTempo()        Returns the current record's "id_inventario_dv_tempo" value
 * @method integer                getIdInventarioDv()             Returns the current record's "id_inventario_dv" value
 * @method integer                getIdCenOpIni()                 Returns the current record's "id_cen_op_ini" value
 * @method integer                getIdCenOp()                    Returns the current record's "id_cen_op" value
 * @method integer                getIdEspacio()                  Returns the current record's "id_espacio" value
 * @method integer                getIdCenOpFin()                 Returns the current record's "id_cen_op_fin" value
 * @method integer                getIdMaeTer()                   Returns the current record's "id_mae_ter" 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                getIdTipoAlmacenamiento()       Returns the current record's "id_tipo_almacenamiento" value
 * @method integer                getIdMaeTerIni()                Returns the current record's "id_mae_ter_ini" value
 * @method integer                getEstado()                     Returns the current record's "estado" value
 * @method timestamp              getFechaMod()                   Returns the current record's "fecha_mod" value
 * @method integer                getIdMaeTerFin()                Returns the current record's "id_mae_ter_fin" value
 * @method string                 getCoordenadaX()                Returns the current record's "coordenada_x" value
 * @method integer                getIdTipoAlmacenamientoIni()    Returns the current record's "id_tipo_almacenamiento_ini" value
 * @method string                 getCoordenadaY()                Returns the current record's "coordenada_y" value
 * @method integer                getIdTipoAlmacenamientoFin()    Returns the current record's "id_tipo_almacenamiento_fin" value
 * @method integer                getIdDetalleAsignacion()        Returns the current record's "id_detalle_asignacion" value
 * @method integer                getIdTomaInventario()           Returns the current record's "id_toma_inventario" value
 * @method integer                getTipoTraslado()               Returns the current record's "tipo_traslado" value
 * @method integer                getIdMovimientosDv()            Returns the current record's "id_movimientos_dv" value
 * @method integer                getIdVigenciaMov()              Returns the current record's "id_vigencia_mov" value
 * @method integer                getIdCenOpMov()                 Returns the current record's "id_cen_op_mov" value
 * @method integer                getIdTipoMovimiento()           Returns the current record's "id_tipo_movimiento" value
 * @method CENTRO_OPERACION       getCENTROOPERACION()            Returns the current record's "CENTRO_OPERACION" value
 * @method INTERCEROS             getINTERCEROS()                 Returns the current record's "INTERCEROS" value
 * @method IN_ESPACIO             getINESPACIO()                  Returns the current record's "IN_ESPACIO" value
 * @method IN_INVENTARIO_DV       getININVENTARIODV()             Returns the current record's "IN_INVENTARIO_DV" value
 * @method IN_TIPO_ALMACENAMIENTO getINTIPOALMACENAMIENTO()       Returns the current record's "IN_TIPO_ALMACENAMIENTO" value
 * @method IN_TOMA_INVENTARIO     getINTOMAINVENTARIO()           Returns the current record's "IN_TOMA_INVENTARIO" value
 * @method IN_INVENTARIO_DV_TEMPO setIdInventarioDvTempo()        Sets the current record's "id_inventario_dv_tempo" value
 * @method IN_INVENTARIO_DV_TEMPO setIdInventarioDv()             Sets the current record's "id_inventario_dv" value
 * @method IN_INVENTARIO_DV_TEMPO setIdCenOpIni()                 Sets the current record's "id_cen_op_ini" value
 * @method IN_INVENTARIO_DV_TEMPO setIdCenOp()                    Sets the current record's "id_cen_op" value
 * @method IN_INVENTARIO_DV_TEMPO setIdEspacio()                  Sets the current record's "id_espacio" value
 * @method IN_INVENTARIO_DV_TEMPO setIdCenOpFin()                 Sets the current record's "id_cen_op_fin" value
 * @method IN_INVENTARIO_DV_TEMPO setIdMaeTer()                   Sets the current record's "id_mae_ter" value
 * @method IN_INVENTARIO_DV_TEMPO setIdEspacioIni()               Sets the current record's "id_espacio_ini" value
 * @method IN_INVENTARIO_DV_TEMPO setIdEspacioFin()               Sets the current record's "id_espacio_fin" value
 * @method IN_INVENTARIO_DV_TEMPO setIdTipoAlmacenamiento()       Sets the current record's "id_tipo_almacenamiento" value
 * @method IN_INVENTARIO_DV_TEMPO setIdMaeTerIni()                Sets the current record's "id_mae_ter_ini" value
 * @method IN_INVENTARIO_DV_TEMPO setEstado()                     Sets the current record's "estado" value
 * @method IN_INVENTARIO_DV_TEMPO setFechaMod()                   Sets the current record's "fecha_mod" value
 * @method IN_INVENTARIO_DV_TEMPO setIdMaeTerFin()                Sets the current record's "id_mae_ter_fin" value
 * @method IN_INVENTARIO_DV_TEMPO setCoordenadaX()                Sets the current record's "coordenada_x" value
 * @method IN_INVENTARIO_DV_TEMPO setIdTipoAlmacenamientoIni()    Sets the current record's "id_tipo_almacenamiento_ini" value
 * @method IN_INVENTARIO_DV_TEMPO setCoordenadaY()                Sets the current record's "coordenada_y" value
 * @method IN_INVENTARIO_DV_TEMPO setIdTipoAlmacenamientoFin()    Sets the current record's "id_tipo_almacenamiento_fin" value
 * @method IN_INVENTARIO_DV_TEMPO setIdDetalleAsignacion()        Sets the current record's "id_detalle_asignacion" value
 * @method IN_INVENTARIO_DV_TEMPO setIdTomaInventario()           Sets the current record's "id_toma_inventario" value
 * @method IN_INVENTARIO_DV_TEMPO setTipoTraslado()               Sets the current record's "tipo_traslado" value
 * @method IN_INVENTARIO_DV_TEMPO setIdMovimientosDv()            Sets the current record's "id_movimientos_dv" value
 * @method IN_INVENTARIO_DV_TEMPO setIdVigenciaMov()              Sets the current record's "id_vigencia_mov" value
 * @method IN_INVENTARIO_DV_TEMPO setIdCenOpMov()                 Sets the current record's "id_cen_op_mov" value
 * @method IN_INVENTARIO_DV_TEMPO setIdTipoMovimiento()           Sets the current record's "id_tipo_movimiento" value
 * @method IN_INVENTARIO_DV_TEMPO setCENTROOPERACION()            Sets the current record's "CENTRO_OPERACION" value
 * @method IN_INVENTARIO_DV_TEMPO setINTERCEROS()                 Sets the current record's "INTERCEROS" value
 * @method IN_INVENTARIO_DV_TEMPO setINESPACIO()                  Sets the current record's "IN_ESPACIO" value
 * @method IN_INVENTARIO_DV_TEMPO setININVENTARIODV()             Sets the current record's "IN_INVENTARIO_DV" value
 * @method IN_INVENTARIO_DV_TEMPO setINTIPOALMACENAMIENTO()       Sets the current record's "IN_TIPO_ALMACENAMIENTO" value
 * @method IN_INVENTARIO_DV_TEMPO setINTOMAINVENTARIO()           Sets the current record's "IN_TOMA_INVENTARIO" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_INVENTARIO_DV_TEMPO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_INVENTARIO_DV_TEMPO');
        $this->hasColumn('id_inventario_dv_tempo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_inventario_dv', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op_ini', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_espacio', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op_fin', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_espacio_ini', 'integer', 8, array(
             'notnull' => true,
             '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', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_ter_ini', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_mod', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_mae_ter_fin', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('coordenada_x', 'string', 8, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_almacenamiento_ini', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('coordenada_y', 'string', 8, array(
             'notnull' => false,
             'type' => 'string',
             '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('id_detalle_asignacion', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_toma_inventario', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('tipo_traslado', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_movimientos_dv', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia_mov', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op_mov', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_movimiento', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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

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

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

        $this->hasOne('IN_INVENTARIO_DV', array(
             'local' => 'id_inventario_dv',
             'foreign' => 'id_inventario_dv'));

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

        $this->hasOne('IN_TOMA_INVENTARIO', array(
             'local' => 'id_toma_inventario',
             'foreign' => 'id_toma_inventario'));
    }
}