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

/**
 * BaseIN_INVENTARIO_DV_BK
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @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 $codigo
 * @property timestamp $fecha_ingreso
 * @property integer $id_linea
 * @property integer $id_clase
 * @property integer $id_catalogo
 * @property string $descripcion
 * @property decimal $costo_inicial
 * @property decimal $costo_actual
 * @property integer $estado
 * @property integer $vida_util
 * @property integer $dias_depreciados
 * @property timestamp $fecha_mod
 * @property integer $en_proceso
 * @property integer $coordenada_x
 * @property integer $coordenada_y
 * 
 * @method integer             getId()                     Returns the current record's "id" 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             getCodigo()                 Returns the current record's "codigo" value
 * @method timestamp           getFechaIngreso()           Returns the current record's "fecha_ingreso" value
 * @method integer             getIdLinea()                Returns the current record's "id_linea" value
 * @method integer             getIdClase()                Returns the current record's "id_clase" value
 * @method integer             getIdCatalogo()             Returns the current record's "id_catalogo" value
 * @method string              getDescripcion()            Returns the current record's "descripcion" value
 * @method decimal             getCostoInicial()           Returns the current record's "costo_inicial" value
 * @method decimal             getCostoActual()            Returns the current record's "costo_actual" value
 * @method integer             getEstado()                 Returns the current record's "estado" value
 * @method integer             getVidaUtil()               Returns the current record's "vida_util" value
 * @method integer             getDiasDepreciados()        Returns the current record's "dias_depreciados" value
 * @method timestamp           getFechaMod()               Returns the current record's "fecha_mod" value
 * @method integer             getEnProceso()              Returns the current record's "en_proceso" value
 * @method integer             getCoordenadaX()            Returns the current record's "coordenada_x" value
 * @method integer             getCoordenadaY()            Returns the current record's "coordenada_y" value
 * @method IN_INVENTARIO_DV_BK setId()                     Sets the current record's "id" value
 * @method IN_INVENTARIO_DV_BK setIdInventarioDv()         Sets the current record's "id_inventario_dv" value
 * @method IN_INVENTARIO_DV_BK setIdCenOp()                Sets the current record's "id_cen_op" value
 * @method IN_INVENTARIO_DV_BK setIdEspacio()              Sets the current record's "id_espacio" value
 * @method IN_INVENTARIO_DV_BK setIdMaeTer()               Sets the current record's "id_mae_ter" value
 * @method IN_INVENTARIO_DV_BK setIdTipoAlmacenamiento()   Sets the current record's "id_tipo_almacenamiento" value
 * @method IN_INVENTARIO_DV_BK setCodigo()                 Sets the current record's "codigo" value
 * @method IN_INVENTARIO_DV_BK setFechaIngreso()           Sets the current record's "fecha_ingreso" value
 * @method IN_INVENTARIO_DV_BK setIdLinea()                Sets the current record's "id_linea" value
 * @method IN_INVENTARIO_DV_BK setIdClase()                Sets the current record's "id_clase" value
 * @method IN_INVENTARIO_DV_BK setIdCatalogo()             Sets the current record's "id_catalogo" value
 * @method IN_INVENTARIO_DV_BK setDescripcion()            Sets the current record's "descripcion" value
 * @method IN_INVENTARIO_DV_BK setCostoInicial()           Sets the current record's "costo_inicial" value
 * @method IN_INVENTARIO_DV_BK setCostoActual()            Sets the current record's "costo_actual" value
 * @method IN_INVENTARIO_DV_BK setEstado()                 Sets the current record's "estado" value
 * @method IN_INVENTARIO_DV_BK setVidaUtil()               Sets the current record's "vida_util" value
 * @method IN_INVENTARIO_DV_BK setDiasDepreciados()        Sets the current record's "dias_depreciados" value
 * @method IN_INVENTARIO_DV_BK setFechaMod()               Sets the current record's "fecha_mod" value
 * @method IN_INVENTARIO_DV_BK setEnProceso()              Sets the current record's "en_proceso" value
 * @method IN_INVENTARIO_DV_BK setCoordenadaX()            Sets the current record's "coordenada_x" value
 * @method IN_INVENTARIO_DV_BK setCoordenadaY()            Sets the current record's "coordenada_y" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_INVENTARIO_DV_BK extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_INVENTARIO_DV_BK');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_inventario_dv', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $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', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_almacenamiento', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('codigo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_ingreso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_linea', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_clase', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_catalogo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('descripcion', 'string', 250, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('costo_inicial', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('costo_actual', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('vida_util', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('dias_depreciados', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_mod', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('en_proceso', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $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,
             ));
    }

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