<?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 IN_CLASE $IN_CLASE
 * @property IN_CLASE $IN_CLASE_2
 * @property IN_CLASE $IN_CLASE_3
 * @property IN_CLASE $IN_CLASE_4
 * @property Doctrine_Collection $IN_SOLI_DET_COMPRA
 * @property Doctrine_Collection $IN_SOLI_DET_COMPRA_2
 * @property Doctrine_Collection $IN_SOLI_DET_COMPRA_3
 * @property Doctrine_Collection $IN_SOLI_DET_COMPRA_4
 * @property Doctrine_Collection $IN_SOLI_DET_COMPRA_5
 * @property Doctrine_Collection $IN_SOLI_DET_COMPRA_6
 * @property Doctrine_Collection $IN_SOLI_DET_COMPRA_7
 * @property Doctrine_Collection $IN_SOLI_DET_COMPRA_8
 * @property Doctrine_Collection $IN_SOLI_DET_COMPRA_9
 * @property Doctrine_Collection $IN_PARTES_CLASE
 * @property Doctrine_Collection $IN_PARTES_CLASE_2
 * @property Doctrine_Collection $IN_PARTES_CLASE_3
 * @property Doctrine_Collection $IN_PARTES_CLASE_4
 * @property Doctrine_Collection $IN_PARTES_CLASE_5
 * @property Doctrine_Collection $IN_PARTES_CLASE_6
 * @property Doctrine_Collection $IN_PARTES_CLASE_7
 * @property Doctrine_Collection $IN_PARTES_CLASE_8
 * @property Doctrine_Collection $IN_PARTES_CLASE_9
 * @property Doctrine_Collection $IN_INVENTARIO_DV
 * @property Doctrine_Collection $IN_INVENTARIO_DV_3
 * @property Doctrine_Collection $IN_INVENTARIO_DV_4
 * @property Doctrine_Collection $IN_INVENTARIO_DV_5
 * @property Doctrine_Collection $IN_INVENTARIO_DV_6
 * @property Doctrine_Collection $IN_INVENTARIO_DV_7
 * @property Doctrine_Collection $IN_INVENTARIO_DV_8
 * @property Doctrine_Collection $IN_INVENTARIO_DV_9
 * @property Doctrine_Collection $IN_INVENTARIO_DV_10
 * @property Doctrine_Collection $IN_INVENTARIO_CON
 * @property Doctrine_Collection $IN_INVENTARIO_CON_3
 * @property Doctrine_Collection $IN_INVENTARIO_CON_4
 * @property Doctrine_Collection $IN_INVENTARIO_CON_5
 * @property Doctrine_Collection $IN_INVENTARIO_CON_6
 * @property Doctrine_Collection $IN_INVENTARIO_CON_7
 * @property Doctrine_Collection $IN_INVENTARIO_CON_8
 * @property Doctrine_Collection $IN_INVENTARIO_CON_9
 * @property Doctrine_Collection $IN_INVENTARIO_CON_10
 * @property Doctrine_Collection $IN_DET_MOV_DV
 * @property Doctrine_Collection $IN_DET_MOV_DV_3
 * @property Doctrine_Collection $IN_DET_MOV_DV_4
 * @property Doctrine_Collection $IN_DET_MOV_DV_5
 * @property Doctrine_Collection $IN_DET_MOV_DV_6
 * @property Doctrine_Collection $IN_DET_MOV_DV_7
 * @property Doctrine_Collection $IN_DET_MOV_DV_8
 * @property Doctrine_Collection $IN_DET_MOV_DV_9
 * @property Doctrine_Collection $IN_DET_MOV_DV_10
 * @property Doctrine_Collection $IN_DET_MOV_CON
 * @property Doctrine_Collection $IN_DET_MOV_CON_3
 * @property Doctrine_Collection $IN_DET_MOV_CON_4
 * @property Doctrine_Collection $IN_DET_MOV_CON_5
 * @property Doctrine_Collection $IN_DET_MOV_CON_6
 * @property Doctrine_Collection $IN_DET_MOV_CON_7
 * @property Doctrine_Collection $IN_DET_MOV_CON_8
 * @property Doctrine_Collection $IN_DET_MOV_CON_9
 * @property Doctrine_Collection $IN_DET_MOV_CON_10
 * 
 * @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 IN_CLASE            getINCLASE()              Returns the current record's "IN_CLASE" value
 * @method IN_CLASE            getINCLASE2()             Returns the current record's "IN_CLASE_2" value
 * @method IN_CLASE            getINCLASE3()             Returns the current record's "IN_CLASE_3" value
 * @method IN_CLASE            getINCLASE4()             Returns the current record's "IN_CLASE_4" value
 * @method Doctrine_Collection getINSOLIDETCOMPRA()      Returns the current record's "IN_SOLI_DET_COMPRA" collection
 * @method Doctrine_Collection getINSOLIDETCOMPRA2()     Returns the current record's "IN_SOLI_DET_COMPRA_2" collection
 * @method Doctrine_Collection getINSOLIDETCOMPRA3()     Returns the current record's "IN_SOLI_DET_COMPRA_3" collection
 * @method Doctrine_Collection getINSOLIDETCOMPRA4()     Returns the current record's "IN_SOLI_DET_COMPRA_4" collection
 * @method Doctrine_Collection getINSOLIDETCOMPRA5()     Returns the current record's "IN_SOLI_DET_COMPRA_5" collection
 * @method Doctrine_Collection getINSOLIDETCOMPRA6()     Returns the current record's "IN_SOLI_DET_COMPRA_6" collection
 * @method Doctrine_Collection getINSOLIDETCOMPRA7()     Returns the current record's "IN_SOLI_DET_COMPRA_7" collection
 * @method Doctrine_Collection getINSOLIDETCOMPRA8()     Returns the current record's "IN_SOLI_DET_COMPRA_8" collection
 * @method Doctrine_Collection getINSOLIDETCOMPRA9()     Returns the current record's "IN_SOLI_DET_COMPRA_9" collection
 * @method Doctrine_Collection getINPARTESCLASE()        Returns the current record's "IN_PARTES_CLASE" collection
 * @method Doctrine_Collection getINPARTESCLASE2()       Returns the current record's "IN_PARTES_CLASE_2" collection
 * @method Doctrine_Collection getINPARTESCLASE3()       Returns the current record's "IN_PARTES_CLASE_3" collection
 * @method Doctrine_Collection getINPARTESCLASE4()       Returns the current record's "IN_PARTES_CLASE_4" collection
 * @method Doctrine_Collection getINPARTESCLASE5()       Returns the current record's "IN_PARTES_CLASE_5" collection
 * @method Doctrine_Collection getINPARTESCLASE6()       Returns the current record's "IN_PARTES_CLASE_6" collection
 * @method Doctrine_Collection getINPARTESCLASE7()       Returns the current record's "IN_PARTES_CLASE_7" collection
 * @method Doctrine_Collection getINPARTESCLASE8()       Returns the current record's "IN_PARTES_CLASE_8" collection
 * @method Doctrine_Collection getINPARTESCLASE9()       Returns the current record's "IN_PARTES_CLASE_9" collection
 * @method Doctrine_Collection getININVENTARIODV()       Returns the current record's "IN_INVENTARIO_DV" collection
 * @method Doctrine_Collection getININVENTARIODV3()      Returns the current record's "IN_INVENTARIO_DV_3" collection
 * @method Doctrine_Collection getININVENTARIODV4()      Returns the current record's "IN_INVENTARIO_DV_4" collection
 * @method Doctrine_Collection getININVENTARIODV5()      Returns the current record's "IN_INVENTARIO_DV_5" collection
 * @method Doctrine_Collection getININVENTARIODV6()      Returns the current record's "IN_INVENTARIO_DV_6" collection
 * @method Doctrine_Collection getININVENTARIODV7()      Returns the current record's "IN_INVENTARIO_DV_7" collection
 * @method Doctrine_Collection getININVENTARIODV8()      Returns the current record's "IN_INVENTARIO_DV_8" collection
 * @method Doctrine_Collection getININVENTARIODV9()      Returns the current record's "IN_INVENTARIO_DV_9" collection
 * @method Doctrine_Collection getININVENTARIODV10()     Returns the current record's "IN_INVENTARIO_DV_10" collection
 * @method Doctrine_Collection getININVENTARIOCON()      Returns the current record's "IN_INVENTARIO_CON" collection
 * @method Doctrine_Collection getININVENTARIOCON3()     Returns the current record's "IN_INVENTARIO_CON_3" collection
 * @method Doctrine_Collection getININVENTARIOCON4()     Returns the current record's "IN_INVENTARIO_CON_4" collection
 * @method Doctrine_Collection getININVENTARIOCON5()     Returns the current record's "IN_INVENTARIO_CON_5" collection
 * @method Doctrine_Collection getININVENTARIOCON6()     Returns the current record's "IN_INVENTARIO_CON_6" collection
 * @method Doctrine_Collection getININVENTARIOCON7()     Returns the current record's "IN_INVENTARIO_CON_7" collection
 * @method Doctrine_Collection getININVENTARIOCON8()     Returns the current record's "IN_INVENTARIO_CON_8" collection
 * @method Doctrine_Collection getININVENTARIOCON9()     Returns the current record's "IN_INVENTARIO_CON_9" collection
 * @method Doctrine_Collection getININVENTARIOCON10()    Returns the current record's "IN_INVENTARIO_CON_10" collection
 * @method Doctrine_Collection getINDETMOVDV()           Returns the current record's "IN_DET_MOV_DV" collection
 * @method Doctrine_Collection getINDETMOVDV3()          Returns the current record's "IN_DET_MOV_DV_3" collection
 * @method Doctrine_Collection getINDETMOVDV4()          Returns the current record's "IN_DET_MOV_DV_4" collection
 * @method Doctrine_Collection getINDETMOVDV5()          Returns the current record's "IN_DET_MOV_DV_5" collection
 * @method Doctrine_Collection getINDETMOVDV6()          Returns the current record's "IN_DET_MOV_DV_6" collection
 * @method Doctrine_Collection getINDETMOVDV7()          Returns the current record's "IN_DET_MOV_DV_7" collection
 * @method Doctrine_Collection getINDETMOVDV8()          Returns the current record's "IN_DET_MOV_DV_8" collection
 * @method Doctrine_Collection getINDETMOVDV9()          Returns the current record's "IN_DET_MOV_DV_9" collection
 * @method Doctrine_Collection getINDETMOVDV10()         Returns the current record's "IN_DET_MOV_DV_10" collection
 * @method Doctrine_Collection getINDETMOVCON()          Returns the current record's "IN_DET_MOV_CON" collection
 * @method Doctrine_Collection getINDETMOVCON3()         Returns the current record's "IN_DET_MOV_CON_3" collection
 * @method Doctrine_Collection getINDETMOVCON4()         Returns the current record's "IN_DET_MOV_CON_4" collection
 * @method Doctrine_Collection getINDETMOVCON5()         Returns the current record's "IN_DET_MOV_CON_5" collection
 * @method Doctrine_Collection getINDETMOVCON6()         Returns the current record's "IN_DET_MOV_CON_6" collection
 * @method Doctrine_Collection getINDETMOVCON7()         Returns the current record's "IN_DET_MOV_CON_7" collection
 * @method Doctrine_Collection getINDETMOVCON8()         Returns the current record's "IN_DET_MOV_CON_8" collection
 * @method Doctrine_Collection getINDETMOVCON9()         Returns the current record's "IN_DET_MOV_CON_9" collection
 * @method Doctrine_Collection getINDETMOVCON10()        Returns the current record's "IN_DET_MOV_CON_10" collection
 * @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         setINCLASE()              Sets the current record's "IN_CLASE" value
 * @method IN_CATALOGO         setINCLASE2()             Sets the current record's "IN_CLASE_2" value
 * @method IN_CATALOGO         setINCLASE3()             Sets the current record's "IN_CLASE_3" value
 * @method IN_CATALOGO         setINCLASE4()             Sets the current record's "IN_CLASE_4" value
 * @method IN_CATALOGO         setINSOLIDETCOMPRA()      Sets the current record's "IN_SOLI_DET_COMPRA" collection
 * @method IN_CATALOGO         setINSOLIDETCOMPRA2()     Sets the current record's "IN_SOLI_DET_COMPRA_2" collection
 * @method IN_CATALOGO         setINSOLIDETCOMPRA3()     Sets the current record's "IN_SOLI_DET_COMPRA_3" collection
 * @method IN_CATALOGO         setINSOLIDETCOMPRA4()     Sets the current record's "IN_SOLI_DET_COMPRA_4" collection
 * @method IN_CATALOGO         setINSOLIDETCOMPRA5()     Sets the current record's "IN_SOLI_DET_COMPRA_5" collection
 * @method IN_CATALOGO         setINSOLIDETCOMPRA6()     Sets the current record's "IN_SOLI_DET_COMPRA_6" collection
 * @method IN_CATALOGO         setINSOLIDETCOMPRA7()     Sets the current record's "IN_SOLI_DET_COMPRA_7" collection
 * @method IN_CATALOGO         setINSOLIDETCOMPRA8()     Sets the current record's "IN_SOLI_DET_COMPRA_8" collection
 * @method IN_CATALOGO         setINSOLIDETCOMPRA9()     Sets the current record's "IN_SOLI_DET_COMPRA_9" collection
 * @method IN_CATALOGO         setINPARTESCLASE()        Sets the current record's "IN_PARTES_CLASE" collection
 * @method IN_CATALOGO         setINPARTESCLASE2()       Sets the current record's "IN_PARTES_CLASE_2" collection
 * @method IN_CATALOGO         setINPARTESCLASE3()       Sets the current record's "IN_PARTES_CLASE_3" collection
 * @method IN_CATALOGO         setINPARTESCLASE4()       Sets the current record's "IN_PARTES_CLASE_4" collection
 * @method IN_CATALOGO         setINPARTESCLASE5()       Sets the current record's "IN_PARTES_CLASE_5" collection
 * @method IN_CATALOGO         setINPARTESCLASE6()       Sets the current record's "IN_PARTES_CLASE_6" collection
 * @method IN_CATALOGO         setINPARTESCLASE7()       Sets the current record's "IN_PARTES_CLASE_7" collection
 * @method IN_CATALOGO         setINPARTESCLASE8()       Sets the current record's "IN_PARTES_CLASE_8" collection
 * @method IN_CATALOGO         setINPARTESCLASE9()       Sets the current record's "IN_PARTES_CLASE_9" collection
 * @method IN_CATALOGO         setININVENTARIODV()       Sets the current record's "IN_INVENTARIO_DV" collection
 * @method IN_CATALOGO         setININVENTARIODV3()      Sets the current record's "IN_INVENTARIO_DV_3" collection
 * @method IN_CATALOGO         setININVENTARIODV4()      Sets the current record's "IN_INVENTARIO_DV_4" collection
 * @method IN_CATALOGO         setININVENTARIODV5()      Sets the current record's "IN_INVENTARIO_DV_5" collection
 * @method IN_CATALOGO         setININVENTARIODV6()      Sets the current record's "IN_INVENTARIO_DV_6" collection
 * @method IN_CATALOGO         setININVENTARIODV7()      Sets the current record's "IN_INVENTARIO_DV_7" collection
 * @method IN_CATALOGO         setININVENTARIODV8()      Sets the current record's "IN_INVENTARIO_DV_8" collection
 * @method IN_CATALOGO         setININVENTARIODV9()      Sets the current record's "IN_INVENTARIO_DV_9" collection
 * @method IN_CATALOGO         setININVENTARIODV10()     Sets the current record's "IN_INVENTARIO_DV_10" collection
 * @method IN_CATALOGO         setININVENTARIOCON()      Sets the current record's "IN_INVENTARIO_CON" collection
 * @method IN_CATALOGO         setININVENTARIOCON3()     Sets the current record's "IN_INVENTARIO_CON_3" collection
 * @method IN_CATALOGO         setININVENTARIOCON4()     Sets the current record's "IN_INVENTARIO_CON_4" collection
 * @method IN_CATALOGO         setININVENTARIOCON5()     Sets the current record's "IN_INVENTARIO_CON_5" collection
 * @method IN_CATALOGO         setININVENTARIOCON6()     Sets the current record's "IN_INVENTARIO_CON_6" collection
 * @method IN_CATALOGO         setININVENTARIOCON7()     Sets the current record's "IN_INVENTARIO_CON_7" collection
 * @method IN_CATALOGO         setININVENTARIOCON8()     Sets the current record's "IN_INVENTARIO_CON_8" collection
 * @method IN_CATALOGO         setININVENTARIOCON9()     Sets the current record's "IN_INVENTARIO_CON_9" collection
 * @method IN_CATALOGO         setININVENTARIOCON10()    Sets the current record's "IN_INVENTARIO_CON_10" collection
 * @method IN_CATALOGO         setINDETMOVDV()           Sets the current record's "IN_DET_MOV_DV" collection
 * @method IN_CATALOGO         setINDETMOVDV3()          Sets the current record's "IN_DET_MOV_DV_3" collection
 * @method IN_CATALOGO         setINDETMOVDV4()          Sets the current record's "IN_DET_MOV_DV_4" collection
 * @method IN_CATALOGO         setINDETMOVDV5()          Sets the current record's "IN_DET_MOV_DV_5" collection
 * @method IN_CATALOGO         setINDETMOVDV6()          Sets the current record's "IN_DET_MOV_DV_6" collection
 * @method IN_CATALOGO         setINDETMOVDV7()          Sets the current record's "IN_DET_MOV_DV_7" collection
 * @method IN_CATALOGO         setINDETMOVDV8()          Sets the current record's "IN_DET_MOV_DV_8" collection
 * @method IN_CATALOGO         setINDETMOVDV9()          Sets the current record's "IN_DET_MOV_DV_9" collection
 * @method IN_CATALOGO         setINDETMOVDV10()         Sets the current record's "IN_DET_MOV_DV_10" collection
 * @method IN_CATALOGO         setINDETMOVCON()          Sets the current record's "IN_DET_MOV_CON" collection
 * @method IN_CATALOGO         setINDETMOVCON3()         Sets the current record's "IN_DET_MOV_CON_3" collection
 * @method IN_CATALOGO         setINDETMOVCON4()         Sets the current record's "IN_DET_MOV_CON_4" collection
 * @method IN_CATALOGO         setINDETMOVCON5()         Sets the current record's "IN_DET_MOV_CON_5" collection
 * @method IN_CATALOGO         setINDETMOVCON6()         Sets the current record's "IN_DET_MOV_CON_6" collection
 * @method IN_CATALOGO         setINDETMOVCON7()         Sets the current record's "IN_DET_MOV_CON_7" collection
 * @method IN_CATALOGO         setINDETMOVCON8()         Sets the current record's "IN_DET_MOV_CON_8" collection
 * @method IN_CATALOGO         setINDETMOVCON9()         Sets the current record's "IN_DET_MOV_CON_9" collection
 * @method IN_CATALOGO         setINDETMOVCON10()        Sets the current record's "IN_DET_MOV_CON_10" collection
 * 
 * @package    controlComisiones
 * @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(
             'notnull' => false,
             '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(
             'notnull' => false,
             '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,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasOne('IN_CLASE', array(
             'local' => 'id_clase',
             'foreign' => 'id_clase'));

        $this->hasOne('IN_CLASE as IN_CLASE_2', array(
             'local' => 'id_linea',
             'foreign' => 'id_clase'));

        $this->hasOne('IN_CLASE as IN_CLASE_3', array(
             'local' => 'id_clase',
             'foreign' => 'id_linea'));

        $this->hasOne('IN_CLASE as IN_CLASE_4', array(
             'local' => 'id_linea',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_SOLI_DET_COMPRA', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_SOLI_DET_COMPRA as IN_SOLI_DET_COMPRA_2', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_SOLI_DET_COMPRA as IN_SOLI_DET_COMPRA_3', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_SOLI_DET_COMPRA as IN_SOLI_DET_COMPRA_4', array(
             'local' => 'id_clase',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_SOLI_DET_COMPRA as IN_SOLI_DET_COMPRA_5', array(
             'local' => 'id_clase',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_SOLI_DET_COMPRA as IN_SOLI_DET_COMPRA_6', array(
             'local' => 'id_clase',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_SOLI_DET_COMPRA as IN_SOLI_DET_COMPRA_7', array(
             'local' => 'id_linea',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_SOLI_DET_COMPRA as IN_SOLI_DET_COMPRA_8', array(
             'local' => 'id_linea',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_SOLI_DET_COMPRA as IN_SOLI_DET_COMPRA_9', array(
             'local' => 'id_linea',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_PARTES_CLASE', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_PARTES_CLASE as IN_PARTES_CLASE_2', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_PARTES_CLASE as IN_PARTES_CLASE_3', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_PARTES_CLASE as IN_PARTES_CLASE_4', array(
             'local' => 'id_clase',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_PARTES_CLASE as IN_PARTES_CLASE_5', array(
             'local' => 'id_clase',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_PARTES_CLASE as IN_PARTES_CLASE_6', array(
             'local' => 'id_clase',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_PARTES_CLASE as IN_PARTES_CLASE_7', array(
             'local' => 'id_linea',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_PARTES_CLASE as IN_PARTES_CLASE_8', array(
             'local' => 'id_linea',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_PARTES_CLASE as IN_PARTES_CLASE_9', array(
             'local' => 'id_linea',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_INVENTARIO_DV', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_INVENTARIO_DV as IN_INVENTARIO_DV_3', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_INVENTARIO_DV as IN_INVENTARIO_DV_4', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_INVENTARIO_DV as IN_INVENTARIO_DV_5', array(
             'local' => 'id_clase',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_INVENTARIO_DV as IN_INVENTARIO_DV_6', array(
             'local' => 'id_clase',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_INVENTARIO_DV as IN_INVENTARIO_DV_7', array(
             'local' => 'id_clase',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_INVENTARIO_DV as IN_INVENTARIO_DV_8', array(
             'local' => 'id_linea',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_INVENTARIO_DV as IN_INVENTARIO_DV_9', array(
             'local' => 'id_linea',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_INVENTARIO_DV as IN_INVENTARIO_DV_10', array(
             'local' => 'id_linea',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_INVENTARIO_CON', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_INVENTARIO_CON as IN_INVENTARIO_CON_3', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_INVENTARIO_CON as IN_INVENTARIO_CON_4', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_INVENTARIO_CON as IN_INVENTARIO_CON_5', array(
             'local' => 'id_clase',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_INVENTARIO_CON as IN_INVENTARIO_CON_6', array(
             'local' => 'id_clase',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_INVENTARIO_CON as IN_INVENTARIO_CON_7', array(
             'local' => 'id_clase',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_INVENTARIO_CON as IN_INVENTARIO_CON_8', array(
             'local' => 'id_linea',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_INVENTARIO_CON as IN_INVENTARIO_CON_9', array(
             'local' => 'id_linea',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_INVENTARIO_CON as IN_INVENTARIO_CON_10', array(
             'local' => 'id_linea',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_DET_MOV_DV', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_DET_MOV_DV as IN_DET_MOV_DV_3', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_DET_MOV_DV as IN_DET_MOV_DV_4', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_DET_MOV_DV as IN_DET_MOV_DV_5', array(
             'local' => 'id_clase',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_DET_MOV_DV as IN_DET_MOV_DV_6', array(
             'local' => 'id_clase',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_DET_MOV_DV as IN_DET_MOV_DV_7', array(
             'local' => 'id_clase',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_DET_MOV_DV as IN_DET_MOV_DV_8', array(
             'local' => 'id_linea',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_DET_MOV_DV as IN_DET_MOV_DV_9', array(
             'local' => 'id_linea',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_DET_MOV_DV as IN_DET_MOV_DV_10', array(
             'local' => 'id_linea',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_DET_MOV_CON', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_DET_MOV_CON as IN_DET_MOV_CON_3', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_DET_MOV_CON as IN_DET_MOV_CON_4', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_DET_MOV_CON as IN_DET_MOV_CON_5', array(
             'local' => 'id_clase',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_DET_MOV_CON as IN_DET_MOV_CON_6', array(
             'local' => 'id_clase',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_DET_MOV_CON as IN_DET_MOV_CON_7', array(
             'local' => 'id_clase',
             'foreign' => 'id_linea'));

        $this->hasMany('IN_DET_MOV_CON as IN_DET_MOV_CON_8', array(
             'local' => 'id_linea',
             'foreign' => 'id_catalogo'));

        $this->hasMany('IN_DET_MOV_CON as IN_DET_MOV_CON_9', array(
             'local' => 'id_linea',
             'foreign' => 'id_clase'));

        $this->hasMany('IN_DET_MOV_CON as IN_DET_MOV_CON_10', array(
             'local' => 'id_linea',
             'foreign' => 'id_linea'));
    }
}