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

/**
 * BaseIN_INVENTARIO_CON
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_inventario_con
 * @property integer $id_cen_op
 * @property integer $id_espacio
 * @property integer $id_mae_ter
 * @property integer $id_tipo_almacenamiento
 * @property integer $codigo
 * @property integer $id_linea
 * @property integer $id_clase
 * @property integer $id_catalogo
 * @property integer $coordenada_x
 * @property integer $coordenada_y
 * @property string $descripcion
 * @property integer $estado
 * @property integer $entradas
 * @property integer $salidas
 * @property integer $saldo
 * @property decimal $valor_unitario
 * @property timestamp $fecha_valor_ult
 * @property decimal $valor_promedio
 * @property timestamp $fecha_prom_ult
 * @property integer $en_proceso
 * @property timestamp $fecha_ingreso
 * 
 * @method integer           getIdInventarioCon()        Returns the current record's "id_inventario_con" 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 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 integer           getCoordenadaX()            Returns the current record's "coordenada_x" value
 * @method integer           getCoordenadaY()            Returns the current record's "coordenada_y" value
 * @method string            getDescripcion()            Returns the current record's "descripcion" value
 * @method integer           getEstado()                 Returns the current record's "estado" value
 * @method integer           getEntradas()               Returns the current record's "entradas" value
 * @method integer           getSalidas()                Returns the current record's "salidas" value
 * @method integer           getSaldo()                  Returns the current record's "saldo" value
 * @method decimal           getValorUnitario()          Returns the current record's "valor_unitario" value
 * @method timestamp         getFechaValorUlt()          Returns the current record's "fecha_valor_ult" value
 * @method decimal           getValorPromedio()          Returns the current record's "valor_promedio" value
 * @method timestamp         getFechaPromUlt()           Returns the current record's "fecha_prom_ult" value
 * @method integer           getEnProceso()              Returns the current record's "en_proceso" value
 * @method timestamp         getFechaIngreso()           Returns the current record's "fecha_ingreso" value
 * @method IN_INVENTARIO_CON setIdInventarioCon()        Sets the current record's "id_inventario_con" value
 * @method IN_INVENTARIO_CON setIdCenOp()                Sets the current record's "id_cen_op" value
 * @method IN_INVENTARIO_CON setIdEspacio()              Sets the current record's "id_espacio" value
 * @method IN_INVENTARIO_CON setIdMaeTer()               Sets the current record's "id_mae_ter" value
 * @method IN_INVENTARIO_CON setIdTipoAlmacenamiento()   Sets the current record's "id_tipo_almacenamiento" value
 * @method IN_INVENTARIO_CON setCodigo()                 Sets the current record's "codigo" value
 * @method IN_INVENTARIO_CON setIdLinea()                Sets the current record's "id_linea" value
 * @method IN_INVENTARIO_CON setIdClase()                Sets the current record's "id_clase" value
 * @method IN_INVENTARIO_CON setIdCatalogo()             Sets the current record's "id_catalogo" value
 * @method IN_INVENTARIO_CON setCoordenadaX()            Sets the current record's "coordenada_x" value
 * @method IN_INVENTARIO_CON setCoordenadaY()            Sets the current record's "coordenada_y" value
 * @method IN_INVENTARIO_CON setDescripcion()            Sets the current record's "descripcion" value
 * @method IN_INVENTARIO_CON setEstado()                 Sets the current record's "estado" value
 * @method IN_INVENTARIO_CON setEntradas()               Sets the current record's "entradas" value
 * @method IN_INVENTARIO_CON setSalidas()                Sets the current record's "salidas" value
 * @method IN_INVENTARIO_CON setSaldo()                  Sets the current record's "saldo" value
 * @method IN_INVENTARIO_CON setValorUnitario()          Sets the current record's "valor_unitario" value
 * @method IN_INVENTARIO_CON setFechaValorUlt()          Sets the current record's "fecha_valor_ult" value
 * @method IN_INVENTARIO_CON setValorPromedio()          Sets the current record's "valor_promedio" value
 * @method IN_INVENTARIO_CON setFechaPromUlt()           Sets the current record's "fecha_prom_ult" value
 * @method IN_INVENTARIO_CON setEnProceso()              Sets the current record's "en_proceso" value
 * @method IN_INVENTARIO_CON setFechaIngreso()           Sets the current record's "fecha_ingreso" 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_INVENTARIO_CON extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_INVENTARIO_CON');
        $this->hasColumn('id_inventario_con', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             '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('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('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('descripcion', 'string', 252, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 252,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('entradas', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('salidas', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             '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_unitario', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('fecha_valor_ult', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('valor_promedio', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('fecha_prom_ult', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('en_proceso', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_ingreso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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