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

/**
 * BaseIN_DET_MOV_DV
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_det_mov_dv
 * @property integer $id_movimientos_dv
 * @property integer $id_vigencia
 * @property integer $id_inventario_dv
 * @property decimal $valor_unitario
 * @property integer $anulado
 * @property integer $estado
 * @property integer $id_catalogo
 * @property integer $id_clase
 * @property integer $id_linea
 * @property integer $id_cen_op
 * @property integer $cantidad
 * @property integer $id_tipo_movimiento
 * 
 * @method integer       getIdDetMovDv()         Returns the current record's "id_det_mov_dv" value
 * @method integer       getIdMovimientosDv()    Returns the current record's "id_movimientos_dv" value
 * @method integer       getIdVigencia()         Returns the current record's "id_vigencia" value
 * @method integer       getIdInventarioDv()     Returns the current record's "id_inventario_dv" value
 * @method decimal       getValorUnitario()      Returns the current record's "valor_unitario" value
 * @method integer       getAnulado()            Returns the current record's "anulado" value
 * @method integer       getEstado()             Returns the current record's "estado" value
 * @method integer       getIdCatalogo()         Returns the current record's "id_catalogo" value
 * @method integer       getIdClase()            Returns the current record's "id_clase" value
 * @method integer       getIdLinea()            Returns the current record's "id_linea" value
 * @method integer       getIdCenOp()            Returns the current record's "id_cen_op" value
 * @method integer       getCantidad()           Returns the current record's "cantidad" value
 * @method integer       getIdTipoMovimiento()   Returns the current record's "id_tipo_movimiento" value
 * @method IN_DET_MOV_DV setIdDetMovDv()         Sets the current record's "id_det_mov_dv" value
 * @method IN_DET_MOV_DV setIdMovimientosDv()    Sets the current record's "id_movimientos_dv" value
 * @method IN_DET_MOV_DV setIdVigencia()         Sets the current record's "id_vigencia" value
 * @method IN_DET_MOV_DV setIdInventarioDv()     Sets the current record's "id_inventario_dv" value
 * @method IN_DET_MOV_DV setValorUnitario()      Sets the current record's "valor_unitario" value
 * @method IN_DET_MOV_DV setAnulado()            Sets the current record's "anulado" value
 * @method IN_DET_MOV_DV setEstado()             Sets the current record's "estado" value
 * @method IN_DET_MOV_DV setIdCatalogo()         Sets the current record's "id_catalogo" value
 * @method IN_DET_MOV_DV setIdClase()            Sets the current record's "id_clase" value
 * @method IN_DET_MOV_DV setIdLinea()            Sets the current record's "id_linea" value
 * @method IN_DET_MOV_DV setIdCenOp()            Sets the current record's "id_cen_op" value
 * @method IN_DET_MOV_DV setCantidad()           Sets the current record's "cantidad" value
 * @method IN_DET_MOV_DV setIdTipoMovimiento()   Sets the current record's "id_tipo_movimiento" 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_DET_MOV_DV extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_DET_MOV_DV');
        $this->hasColumn('id_det_mov_dv', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             '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', 'integer', 8, array(
             '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' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_unitario', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('anulado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_catalogo', '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_linea', 'integer', 8, array(
             'notnull' => false,
             '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' => true,
             'length' => 8,
             ));
        $this->hasColumn('cantidad', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_movimiento', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
    }

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