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

/**
 * BaseIN_SALDO_INVENTARIO_DV
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_vigencia
 * @property integer $id_meses
 * @property integer $id_inventario_dv
 * @property integer $id_cen_op
 * @property integer $id_espacio
 * @property integer $id_mae_ter
 * @property integer $id_tipo_almacenamiento
 * @property integer $estado
 * @property decimal $costo_actual
 * @property integer $coordenada_x
 * @property integer $coordenada_y
 * @property integer $dias_depreciados
 * @property integer $valor_deterioro
 * @property integer $valor_residual
 * @property integer $valor_valoracion
 * 
 * @method integer                getIdVigencia()             Returns the current record's "id_vigencia" value
 * @method integer                getIdMeses()                Returns the current record's "id_meses" value
 * @method integer                getIdInventarioDv()         Returns the current record's "id_inventario_dv" 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                getIdMaeTer()               Returns the current record's "id_mae_ter" value
 * @method integer                getIdTipoAlmacenamiento()   Returns the current record's "id_tipo_almacenamiento" value
 * @method integer                getEstado()                 Returns the current record's "estado" value
 * @method decimal                getCostoActual()            Returns the current record's "costo_actual" value
 * @method integer                getCoordenadaX()            Returns the current record's "coordenada_x" value
 * @method integer                getCoordenadaY()            Returns the current record's "coordenada_y" value
 * @method integer                getDiasDepreciados()        Returns the current record's "dias_depreciados" value
 * @method integer                getValorDeterioro()         Returns the current record's "valor_deterioro" value
 * @method integer                getValorResidual()          Returns the current record's "valor_residual" value
 * @method integer                getValorValoracion()        Returns the current record's "valor_valoracion" value
 * @method IN_SALDO_INVENTARIO_DV setIdVigencia()             Sets the current record's "id_vigencia" value
 * @method IN_SALDO_INVENTARIO_DV setIdMeses()                Sets the current record's "id_meses" value
 * @method IN_SALDO_INVENTARIO_DV setIdInventarioDv()         Sets the current record's "id_inventario_dv" value
 * @method IN_SALDO_INVENTARIO_DV setIdCenOp()                Sets the current record's "id_cen_op" value
 * @method IN_SALDO_INVENTARIO_DV setIdEspacio()              Sets the current record's "id_espacio" value
 * @method IN_SALDO_INVENTARIO_DV setIdMaeTer()               Sets the current record's "id_mae_ter" value
 * @method IN_SALDO_INVENTARIO_DV setIdTipoAlmacenamiento()   Sets the current record's "id_tipo_almacenamiento" value
 * @method IN_SALDO_INVENTARIO_DV setEstado()                 Sets the current record's "estado" value
 * @method IN_SALDO_INVENTARIO_DV setCostoActual()            Sets the current record's "costo_actual" value
 * @method IN_SALDO_INVENTARIO_DV setCoordenadaX()            Sets the current record's "coordenada_x" value
 * @method IN_SALDO_INVENTARIO_DV setCoordenadaY()            Sets the current record's "coordenada_y" value
 * @method IN_SALDO_INVENTARIO_DV setDiasDepreciados()        Sets the current record's "dias_depreciados" value
 * @method IN_SALDO_INVENTARIO_DV setValorDeterioro()         Sets the current record's "valor_deterioro" value
 * @method IN_SALDO_INVENTARIO_DV setValorResidual()          Sets the current record's "valor_residual" value
 * @method IN_SALDO_INVENTARIO_DV setValorValoracion()        Sets the current record's "valor_valoracion" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_SALDO_INVENTARIO_DV extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_SALDO_INVENTARIO_DV');
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_meses', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_inventario_dv', 'integer', 8, array(
             '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' => 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_mae_ter', '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('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('costo_actual', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('coordenada_x', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('coordenada_y', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('dias_depreciados', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_deterioro', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_residual', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_valoracion', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 8,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        
    }
}