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

/**
 * BaseIN_PARAM_CONTAB
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_param_contab
 * @property integer $id_grupo
 * @property integer $id_clase
 * @property integer $id_linea
 * @property integer $id_tipo_transac
 * @property string $naturaleza
 * @property integer $id_clase_co
 * @property integer $id_grupo_co
 * @property integer $id_cmay_co
 * @property integer $id_cata_co
 * @property integer $id_aux_co
 * @property string $digitos
 * @property string $nom_cuenta
 * @property string $cod_aux
 * @property string $nom_aux
 * @property IN_CLASE $IN_CLASE
 * @property IN_CLASE $IN_CLASE_2
 * @property IN_CLASE $IN_CLASE_3
 * @property IN_CLASE $IN_CLASE_4
 * @property IN_GRUPO_ALMACENAMIENTO $IN_GRUPO_ALMACENAMIENTO
 * @property IN_TIPO_TRANSAC $IN_TIPO_TRANSAC
 * 
 * @method integer                 getIdParamContab()           Returns the current record's "id_param_contab" value
 * @method integer                 getIdGrupo()                 Returns the current record's "id_grupo" 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                 getIdTipoTransac()           Returns the current record's "id_tipo_transac" value
 * @method string                  getNaturaleza()              Returns the current record's "naturaleza" value
 * @method integer                 getIdClaseCo()               Returns the current record's "id_clase_co" value
 * @method integer                 getIdGrupoCo()               Returns the current record's "id_grupo_co" value
 * @method integer                 getIdCmayCo()                Returns the current record's "id_cmay_co" value
 * @method integer                 getIdCataCo()                Returns the current record's "id_cata_co" value
 * @method integer                 getIdAuxCo()                 Returns the current record's "id_aux_co" value
 * @method string                  getDigitos()                 Returns the current record's "digitos" value
 * @method string                  getNomCuenta()               Returns the current record's "nom_cuenta" value
 * @method string                  getCodAux()                  Returns the current record's "cod_aux" value
 * @method string                  getNomAux()                  Returns the current record's "nom_aux" 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 IN_GRUPO_ALMACENAMIENTO getINGRUPOALMACENAMIENTO()   Returns the current record's "IN_GRUPO_ALMACENAMIENTO" value
 * @method IN_TIPO_TRANSAC         getINTIPOTRANSAC()           Returns the current record's "IN_TIPO_TRANSAC" value
 * @method IN_PARAM_CONTAB         setIdParamContab()           Sets the current record's "id_param_contab" value
 * @method IN_PARAM_CONTAB         setIdGrupo()                 Sets the current record's "id_grupo" value
 * @method IN_PARAM_CONTAB         setIdClase()                 Sets the current record's "id_clase" value
 * @method IN_PARAM_CONTAB         setIdLinea()                 Sets the current record's "id_linea" value
 * @method IN_PARAM_CONTAB         setIdTipoTransac()           Sets the current record's "id_tipo_transac" value
 * @method IN_PARAM_CONTAB         setNaturaleza()              Sets the current record's "naturaleza" value
 * @method IN_PARAM_CONTAB         setIdClaseCo()               Sets the current record's "id_clase_co" value
 * @method IN_PARAM_CONTAB         setIdGrupoCo()               Sets the current record's "id_grupo_co" value
 * @method IN_PARAM_CONTAB         setIdCmayCo()                Sets the current record's "id_cmay_co" value
 * @method IN_PARAM_CONTAB         setIdCataCo()                Sets the current record's "id_cata_co" value
 * @method IN_PARAM_CONTAB         setIdAuxCo()                 Sets the current record's "id_aux_co" value
 * @method IN_PARAM_CONTAB         setDigitos()                 Sets the current record's "digitos" value
 * @method IN_PARAM_CONTAB         setNomCuenta()               Sets the current record's "nom_cuenta" value
 * @method IN_PARAM_CONTAB         setCodAux()                  Sets the current record's "cod_aux" value
 * @method IN_PARAM_CONTAB         setNomAux()                  Sets the current record's "nom_aux" value
 * @method IN_PARAM_CONTAB         setINCLASE()                 Sets the current record's "IN_CLASE" value
 * @method IN_PARAM_CONTAB         setINCLASE2()                Sets the current record's "IN_CLASE_2" value
 * @method IN_PARAM_CONTAB         setINCLASE3()                Sets the current record's "IN_CLASE_3" value
 * @method IN_PARAM_CONTAB         setINCLASE4()                Sets the current record's "IN_CLASE_4" value
 * @method IN_PARAM_CONTAB         setINGRUPOALMACENAMIENTO()   Sets the current record's "IN_GRUPO_ALMACENAMIENTO" value
 * @method IN_PARAM_CONTAB         setINTIPOTRANSAC()           Sets the current record's "IN_TIPO_TRANSAC" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_PARAM_CONTAB extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_PARAM_CONTAB');
        $this->hasColumn('id_param_contab', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_grupo', '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_tipo_transac', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('naturaleza', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_clase_co', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_grupo_co', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cmay_co', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cata_co', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_aux_co', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('digitos', 'string', 6, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 6,
             ));
        $this->hasColumn('nom_cuenta', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('cod_aux', 'string', 3, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 3,
             ));
        $this->hasColumn('nom_aux', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
    }

    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->hasOne('IN_GRUPO_ALMACENAMIENTO', array(
             'local' => 'id_grupo',
             'foreign' => 'id_grupo_almacenamiento'));

        $this->hasOne('IN_TIPO_TRANSAC', array(
             'local' => 'id_tipo_transac',
             'foreign' => 'id_tipo_transac'));
    }
}