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

/**
 * BaseIN_CATALOGO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_catalogo
 * @property integer $id_clase
 * @property string $digitos
 * @property string $descripcion
 * @property string $marca
 * @property string $modelo
 * @property string $desc_corta
 * @property integer $vida_util
 * @property integer $stock_min
 * @property integer $stock_max
 * @property decimal $valor_iva
 * @property integer $tiene_iva
 * @property integer $id_unidad_medida
 * @property integer $id_agrup_comercial
 * @property integer $id_linea
 * @property integer $estado
 * @property  $fecha_cre
 * @property  $fecha_mod
 * @property integer $id_usuario
 * 
 * @method integer     getIdCatalogo()         Returns the current record's "id_catalogo" value
 * @method integer     getIdClase()            Returns the current record's "id_clase" value
 * @method string      getDigitos()            Returns the current record's "digitos" value
 * @method string      getDescripcion()        Returns the current record's "descripcion" value
 * @method string      getMarca()              Returns the current record's "marca" value
 * @method string      getModelo()             Returns the current record's "modelo" value
 * @method string      getDescCorta()          Returns the current record's "desc_corta" value
 * @method integer     getVidaUtil()           Returns the current record's "vida_util" value
 * @method integer     getStockMin()           Returns the current record's "stock_min" value
 * @method integer     getStockMax()           Returns the current record's "stock_max" value
 * @method decimal     getValorIva()           Returns the current record's "valor_iva" value
 * @method integer     getTieneIva()           Returns the current record's "tiene_iva" value
 * @method integer     getIdUnidadMedida()     Returns the current record's "id_unidad_medida" value
 * @method integer     getIdAgrupComercial()   Returns the current record's "id_agrup_comercial" value
 * @method integer     getIdLinea()            Returns the current record's "id_linea" value
 * @method integer     getEstado()             Returns the current record's "estado" value
 * @method integer     getIdUsuario()          Returns the current record's "id_usuario" value
 * @method IN_CATALOGO setIdCatalogo()         Sets the current record's "id_catalogo" value
 * @method IN_CATALOGO setIdClase()            Sets the current record's "id_clase" value
 * @method IN_CATALOGO setDigitos()            Sets the current record's "digitos" value
 * @method IN_CATALOGO setDescripcion()        Sets the current record's "descripcion" value
 * @method IN_CATALOGO setMarca()              Sets the current record's "marca" value
 * @method IN_CATALOGO setModelo()             Sets the current record's "modelo" value
 * @method IN_CATALOGO setDescCorta()          Sets the current record's "desc_corta" value
 * @method IN_CATALOGO setVidaUtil()           Sets the current record's "vida_util" value
 * @method IN_CATALOGO setStockMin()           Sets the current record's "stock_min" value
 * @method IN_CATALOGO setStockMax()           Sets the current record's "stock_max" value
 * @method IN_CATALOGO setValorIva()           Sets the current record's "valor_iva" value
 * @method IN_CATALOGO setTieneIva()           Sets the current record's "tiene_iva" value
 * @method IN_CATALOGO setIdUnidadMedida()     Sets the current record's "id_unidad_medida" value
 * @method IN_CATALOGO setIdAgrupComercial()   Sets the current record's "id_agrup_comercial" value
 * @method IN_CATALOGO setIdLinea()            Sets the current record's "id_linea" value
 * @method IN_CATALOGO setEstado()             Sets the current record's "estado" value
 * @method IN_CATALOGO setIdUsuario()          Sets the current record's "id_usuario" 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_CATALOGO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_CATALOGO');
        $this->hasColumn('id_catalogo', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_clase', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('digitos', 'string', 5, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 5,
             ));
        $this->hasColumn('descripcion', 'string', 252, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 252,
             ));
        $this->hasColumn('marca', 'string', 150, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
        $this->hasColumn('modelo', 'string', 150, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
        $this->hasColumn('desc_corta', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vida_util', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('stock_min', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('stock_max', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_iva', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('tiene_iva', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_unidad_medida', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_agrup_comercial', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_linea', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1
                ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_cre', '', 11, array(
             'notnull' => false,
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'type' => '',
             'length' => '11',
             ));
        $this->hasColumn('fecha_mod', '', 11, array(
             'notnull' => false,
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'type' => '',
             'length' => '11',
             ));
        $this->hasColumn('id_usuario', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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