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

/**
 * BaseIN_SALDO_INVENTARIO_DV_BK
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @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
 * 
 * @method integer                   getId()                     Returns the current record's "id" value
 * @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 IN_SALDO_INVENTARIO_DV_BK setId()                     Sets the current record's "id" value
 * @method IN_SALDO_INVENTARIO_DV_BK setIdVigencia()             Sets the current record's "id_vigencia" value
 * @method IN_SALDO_INVENTARIO_DV_BK setIdMeses()                Sets the current record's "id_meses" value
 * @method IN_SALDO_INVENTARIO_DV_BK setIdInventarioDv()         Sets the current record's "id_inventario_dv" value
 * @method IN_SALDO_INVENTARIO_DV_BK setIdCenOp()                Sets the current record's "id_cen_op" value
 * @method IN_SALDO_INVENTARIO_DV_BK setIdEspacio()              Sets the current record's "id_espacio" value
 * @method IN_SALDO_INVENTARIO_DV_BK setIdMaeTer()               Sets the current record's "id_mae_ter" value
 * @method IN_SALDO_INVENTARIO_DV_BK setIdTipoAlmacenamiento()   Sets the current record's "id_tipo_almacenamiento" value
 * @method IN_SALDO_INVENTARIO_DV_BK setEstado()                 Sets the current record's "estado" value
 * @method IN_SALDO_INVENTARIO_DV_BK setCostoActual()            Sets the current record's "costo_actual" value
 * @method IN_SALDO_INVENTARIO_DV_BK setCoordenadaX()            Sets the current record's "coordenada_x" value
 * @method IN_SALDO_INVENTARIO_DV_BK setCoordenadaY()            Sets the current record's "coordenada_y" value
 * @method IN_SALDO_INVENTARIO_DV_BK setDiasDepreciados()        Sets the current record's "dias_depreciados" 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_SALDO_INVENTARIO_DV_BK extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_SALDO_INVENTARIO_DV_BK');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_meses', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_inventario_dv', '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_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' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('costo_actual', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             '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,
             'primary' => false,
             'length' => 8,
             ));
    }

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