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

/**
 * BaseIN_DET_MOV_CON
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_det_mov_con
 * @property integer $id_movimientos_con
 * @property integer $id_vigencia
 * @property integer $id_inventario_con
 * @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
 * @property integer $saldo
 * @property decimal $valor_promedio
 * @property decimal $valor_promedio_ant
 * @property integer $id_inventario_con_fin
 * @property integer $saldo_fin
 * 
 * @method integer        getIdDetMovCon()           Returns the current record's "id_det_mov_con" value
 * @method integer        getIdMovimientosCon()      Returns the current record's "id_movimientos_con" value
 * @method integer        getIdVigencia()            Returns the current record's "id_vigencia" value
 * @method integer        getIdInventarioCon()       Returns the current record's "id_inventario_con" 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 integer        getSaldo()                 Returns the current record's "saldo" value
 * @method decimal        getValorPromedio()         Returns the current record's "valor_promedio" value
 * @method decimal        getValorPromedioAnt()      Returns the current record's "valor_promedio_ant" value
 * @method integer        getIdInventarioConFin()    Returns the current record's "id_inventario_con_fin" value
 * @method integer        getSaldoFin()              Returns the current record's "saldo_fin" value
 * @method IN_DET_MOV_CON setIdDetMovCon()           Sets the current record's "id_det_mov_con" value
 * @method IN_DET_MOV_CON setIdMovimientosCon()      Sets the current record's "id_movimientos_con" value
 * @method IN_DET_MOV_CON setIdVigencia()            Sets the current record's "id_vigencia" value
 * @method IN_DET_MOV_CON setIdInventarioCon()       Sets the current record's "id_inventario_con" value
 * @method IN_DET_MOV_CON setValorUnitario()         Sets the current record's "valor_unitario" value
 * @method IN_DET_MOV_CON setAnulado()               Sets the current record's "anulado" value
 * @method IN_DET_MOV_CON setEstado()                Sets the current record's "estado" value
 * @method IN_DET_MOV_CON setIdCatalogo()            Sets the current record's "id_catalogo" value
 * @method IN_DET_MOV_CON setIdClase()               Sets the current record's "id_clase" value
 * @method IN_DET_MOV_CON setIdLinea()               Sets the current record's "id_linea" value
 * @method IN_DET_MOV_CON setIdCenOp()               Sets the current record's "id_cen_op" value
 * @method IN_DET_MOV_CON setCantidad()              Sets the current record's "cantidad" value
 * @method IN_DET_MOV_CON setIdTipoMovimiento()      Sets the current record's "id_tipo_movimiento" value
 * @method IN_DET_MOV_CON setSaldo()                 Sets the current record's "saldo" value
 * @method IN_DET_MOV_CON setValorPromedio()         Sets the current record's "valor_promedio" value
 * @method IN_DET_MOV_CON setValorPromedioAnt()      Sets the current record's "valor_promedio_ant" value
 * @method IN_DET_MOV_CON setIdInventarioConFin()    Sets the current record's "id_inventario_con_fin" value
 * @method IN_DET_MOV_CON setSaldoFin()              Sets the current record's "saldo_fin" 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_CON extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_DET_MOV_CON');
        $this->hasColumn('id_det_mov_con', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_movimientos_con', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_inventario_con', '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(
             '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,
             ));
        $this->hasColumn('saldo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_promedio', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('valor_promedio_ant', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('id_inventario_con_fin', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('saldo_fin', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 8,
             ));
    }

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