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

/**
 * BaseIN_SALDO_INVENTARIO_CON_BK
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_inventario_con
 * @property integer $id_vigencia
 * @property integer $id_meses
 * @property integer $id_cen_op
 * @property integer $id_espacio
 * @property integer $id_mae_ter
 * @property integer $id_tipo_almacenamiento
 * @property integer $estado
 * @property decimal $valor_unitario
 * @property integer $coordenada_x
 * @property integer $coordenada_y
 * @property integer $saldo_anterior
 * @property integer $entradas
 * @property integer $salidas
 * @property integer $saldo_actual
 * @property decimal $valor_promedio
 * @property decimal $valor_promedio_ant
 * 
 * @method integer                    getId()                     Returns the current record's "id" value
 * @method integer                    getIdInventarioCon()        Returns the current record's "id_inventario_con" 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                    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                    getValorUnitario()          Returns the current record's "valor_unitario" 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                    getSaldoAnterior()          Returns the current record's "saldo_anterior" value
 * @method integer                    getEntradas()               Returns the current record's "entradas" value
 * @method integer                    getSalidas()                Returns the current record's "salidas" value
 * @method integer                    getSaldoActual()            Returns the current record's "saldo_actual" 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 IN_SALDO_INVENTARIO_CON_BK setId()                     Sets the current record's "id" value
 * @method IN_SALDO_INVENTARIO_CON_BK setIdInventarioCon()        Sets the current record's "id_inventario_con" value
 * @method IN_SALDO_INVENTARIO_CON_BK setIdVigencia()             Sets the current record's "id_vigencia" value
 * @method IN_SALDO_INVENTARIO_CON_BK setIdMeses()                Sets the current record's "id_meses" value
 * @method IN_SALDO_INVENTARIO_CON_BK setIdCenOp()                Sets the current record's "id_cen_op" value
 * @method IN_SALDO_INVENTARIO_CON_BK setIdEspacio()              Sets the current record's "id_espacio" value
 * @method IN_SALDO_INVENTARIO_CON_BK setIdMaeTer()               Sets the current record's "id_mae_ter" value
 * @method IN_SALDO_INVENTARIO_CON_BK setIdTipoAlmacenamiento()   Sets the current record's "id_tipo_almacenamiento" value
 * @method IN_SALDO_INVENTARIO_CON_BK setEstado()                 Sets the current record's "estado" value
 * @method IN_SALDO_INVENTARIO_CON_BK setValorUnitario()          Sets the current record's "valor_unitario" value
 * @method IN_SALDO_INVENTARIO_CON_BK setCoordenadaX()            Sets the current record's "coordenada_x" value
 * @method IN_SALDO_INVENTARIO_CON_BK setCoordenadaY()            Sets the current record's "coordenada_y" value
 * @method IN_SALDO_INVENTARIO_CON_BK setSaldoAnterior()          Sets the current record's "saldo_anterior" value
 * @method IN_SALDO_INVENTARIO_CON_BK setEntradas()               Sets the current record's "entradas" value
 * @method IN_SALDO_INVENTARIO_CON_BK setSalidas()                Sets the current record's "salidas" value
 * @method IN_SALDO_INVENTARIO_CON_BK setSaldoActual()            Sets the current record's "saldo_actual" value
 * @method IN_SALDO_INVENTARIO_CON_BK setValorPromedio()          Sets the current record's "valor_promedio" value
 * @method IN_SALDO_INVENTARIO_CON_BK setValorPromedioAnt()       Sets the current record's "valor_promedio_ant" 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_CON_BK extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_SALDO_INVENTARIO_CON_BK');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             '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('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' => 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' => 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,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('valor_unitario', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $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('saldo_anterior', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('entradas', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('salidas', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('saldo_actual', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_promedio', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('valor_promedio_ant', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
    }

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