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

/**
 * BaseCN_IMP_MOVI_CONTAB
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_imp_movi_contab
 * @property integer $id_documento
 * @property integer $id_cad
 * @property integer $id_vigencia
 * @property integer $id_cen_op
 * @property integer $id_cia
 * @property integer $id_catalogo
 * @property integer $id_cuenta_mayor
 * @property integer $id_grupo_cuenta
 * @property integer $id_clase_cuenta
 * @property integer $id_mae_ter
 * @property integer $id_auxiliar
 * @property integer $debito
 * @property integer $credito
 * @property CN_DOCUMENTO $CN_DOCUMENTO
 * @property CN_DOCUMENTO $CN_DOCUMENTO_2
 * @property CN_DOCUMENTO $CN_DOCUMENTO_3
 * @property CN_DOCUMENTO $CN_DOCUMENTO_4
 * @property CN_DOCUMENTO $CN_DOCUMENTO_5
 * @property CN_DOCUMENTO $CN_DOCUMENTO_6
 * @property CN_DOCUMENTO $CN_DOCUMENTO_7
 * @property CN_DOCUMENTO $CN_DOCUMENTO_8
 * @property CN_DOCUMENTO $CN_DOCUMENTO_9
 * @property CN_DOCUMENTO $CN_DOCUMENTO_10
 * @property CN_DOCUMENTO $CN_DOCUMENTO_11
 * @property CN_DOCUMENTO $CN_DOCUMENTO_12
 * @property CN_DOCUMENTO $CN_DOCUMENTO_13
 * @property CN_DOCUMENTO $CN_DOCUMENTO_14
 * @property CN_DOCUMENTO $CN_DOCUMENTO_15
 * @property CN_DOCUMENTO $CN_DOCUMENTO_16
 * @property CN_DOCUMENTO $CN_DOCUMENTO_17
 * @property CN_DOCUMENTO $CN_DOCUMENTO_18
 * @property CN_DOCUMENTO $CN_DOCUMENTO_19
 * @property CN_DOCUMENTO $CN_DOCUMENTO_20
 * @property CN_DOCUMENTO $CN_DOCUMENTO_21
 * @property CN_DOCUMENTO $CN_DOCUMENTO_22
 * @property CN_DOCUMENTO $CN_DOCUMENTO_23
 * @property CN_DOCUMENTO $CN_DOCUMENTO_24
 * @property CN_DOCUMENTO $CN_DOCUMENTO_25
 * @property CN_CATALOGO $CN_CATALOGO
 * @property CN_CATALOGO $CN_CATALOGO_27
 * @property CN_CATALOGO $CN_CATALOGO_28
 * @property CN_CATALOGO $CN_CATALOGO_29
 * @property CN_CATALOGO $CN_CATALOGO_30
 * @property CN_CATALOGO $CN_CATALOGO_31
 * @property CN_CATALOGO $CN_CATALOGO_32
 * @property CN_CATALOGO $CN_CATALOGO_33
 * @property CN_CATALOGO $CN_CATALOGO_34
 * @property CN_CATALOGO $CN_CATALOGO_35
 * @property CN_CATALOGO $CN_CATALOGO_36
 * @property CN_CATALOGO $CN_CATALOGO_37
 * @property CN_CATALOGO $CN_CATALOGO_38
 * @property CN_CATALOGO $CN_CATALOGO_39
 * @property CN_CATALOGO $CN_CATALOGO_40
 * @property CN_CATALOGO $CN_CATALOGO_41
 * @property CN_CATALOGO $CN_CATALOGO_42
 * @property CN_CATALOGO $CN_CATALOGO_43
 * @property CN_CATALOGO $CN_CATALOGO_44
 * @property CN_CATALOGO $CN_CATALOGO_45
 * @property CN_CATALOGO $CN_CATALOGO_46
 * @property CN_CATALOGO $CN_CATALOGO_47
 * @property CN_CATALOGO $CN_CATALOGO_48
 * @property CN_CATALOGO $CN_CATALOGO_49
 * @property CN_CATALOGO $CN_CATALOGO_50
 * @property CN_MAE_TER $CN_MAE_TER
 * @property CN_MAE_TER $CN_MAE_TER_52
 * @property CN_MAE_TER $CN_MAE_TER_53
 * @property CN_MAE_TER $CN_MAE_TER_54
 * @property CN_AUXILIAR $CN_AUXILIAR
 * @property CN_AUXILIAR $CN_AUXILIAR_56
 * @property CN_AUXILIAR $CN_AUXILIAR_57
 * @property CN_AUXILIAR $CN_AUXILIAR_58
 * 
 * @method integer            getIdImpMoviContab()    Returns the current record's "id_imp_movi_contab" value
 * @method integer            getIdDocumento()        Returns the current record's "id_documento" value
 * @method integer            getIdCad()              Returns the current record's "id_cad" value
 * @method integer            getIdVigencia()         Returns the current record's "id_vigencia" value
 * @method integer            getIdCenOp()            Returns the current record's "id_cen_op" value
 * @method integer            getIdCia()              Returns the current record's "id_cia" value
 * @method integer            getIdCatalogo()         Returns the current record's "id_catalogo" value
 * @method integer            getIdCuentaMayor()      Returns the current record's "id_cuenta_mayor" value
 * @method integer            getIdGrupoCuenta()      Returns the current record's "id_grupo_cuenta" value
 * @method integer            getIdClaseCuenta()      Returns the current record's "id_clase_cuenta" value
 * @method integer            getIdMaeTer()           Returns the current record's "id_mae_ter" value
 * @method integer            getIdAuxiliar()         Returns the current record's "id_auxiliar" value
 * @method integer            getDebito()             Returns the current record's "debito" value
 * @method integer            getCredito()            Returns the current record's "credito" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO()        Returns the current record's "CN_DOCUMENTO" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO2()       Returns the current record's "CN_DOCUMENTO_2" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO3()       Returns the current record's "CN_DOCUMENTO_3" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO4()       Returns the current record's "CN_DOCUMENTO_4" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO5()       Returns the current record's "CN_DOCUMENTO_5" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO6()       Returns the current record's "CN_DOCUMENTO_6" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO7()       Returns the current record's "CN_DOCUMENTO_7" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO8()       Returns the current record's "CN_DOCUMENTO_8" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO9()       Returns the current record's "CN_DOCUMENTO_9" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO10()      Returns the current record's "CN_DOCUMENTO_10" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO11()      Returns the current record's "CN_DOCUMENTO_11" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO12()      Returns the current record's "CN_DOCUMENTO_12" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO13()      Returns the current record's "CN_DOCUMENTO_13" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO14()      Returns the current record's "CN_DOCUMENTO_14" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO15()      Returns the current record's "CN_DOCUMENTO_15" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO16()      Returns the current record's "CN_DOCUMENTO_16" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO17()      Returns the current record's "CN_DOCUMENTO_17" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO18()      Returns the current record's "CN_DOCUMENTO_18" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO19()      Returns the current record's "CN_DOCUMENTO_19" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO20()      Returns the current record's "CN_DOCUMENTO_20" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO21()      Returns the current record's "CN_DOCUMENTO_21" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO22()      Returns the current record's "CN_DOCUMENTO_22" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO23()      Returns the current record's "CN_DOCUMENTO_23" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO24()      Returns the current record's "CN_DOCUMENTO_24" value
 * @method CN_DOCUMENTO       getCNDOCUMENTO25()      Returns the current record's "CN_DOCUMENTO_25" value
 * @method CN_CATALOGO        getCNCATALOGO()         Returns the current record's "CN_CATALOGO" value
 * @method CN_CATALOGO        getCNCATALOGO27()       Returns the current record's "CN_CATALOGO_27" value
 * @method CN_CATALOGO        getCNCATALOGO28()       Returns the current record's "CN_CATALOGO_28" value
 * @method CN_CATALOGO        getCNCATALOGO29()       Returns the current record's "CN_CATALOGO_29" value
 * @method CN_CATALOGO        getCNCATALOGO30()       Returns the current record's "CN_CATALOGO_30" value
 * @method CN_CATALOGO        getCNCATALOGO31()       Returns the current record's "CN_CATALOGO_31" value
 * @method CN_CATALOGO        getCNCATALOGO32()       Returns the current record's "CN_CATALOGO_32" value
 * @method CN_CATALOGO        getCNCATALOGO33()       Returns the current record's "CN_CATALOGO_33" value
 * @method CN_CATALOGO        getCNCATALOGO34()       Returns the current record's "CN_CATALOGO_34" value
 * @method CN_CATALOGO        getCNCATALOGO35()       Returns the current record's "CN_CATALOGO_35" value
 * @method CN_CATALOGO        getCNCATALOGO36()       Returns the current record's "CN_CATALOGO_36" value
 * @method CN_CATALOGO        getCNCATALOGO37()       Returns the current record's "CN_CATALOGO_37" value
 * @method CN_CATALOGO        getCNCATALOGO38()       Returns the current record's "CN_CATALOGO_38" value
 * @method CN_CATALOGO        getCNCATALOGO39()       Returns the current record's "CN_CATALOGO_39" value
 * @method CN_CATALOGO        getCNCATALOGO40()       Returns the current record's "CN_CATALOGO_40" value
 * @method CN_CATALOGO        getCNCATALOGO41()       Returns the current record's "CN_CATALOGO_41" value
 * @method CN_CATALOGO        getCNCATALOGO42()       Returns the current record's "CN_CATALOGO_42" value
 * @method CN_CATALOGO        getCNCATALOGO43()       Returns the current record's "CN_CATALOGO_43" value
 * @method CN_CATALOGO        getCNCATALOGO44()       Returns the current record's "CN_CATALOGO_44" value
 * @method CN_CATALOGO        getCNCATALOGO45()       Returns the current record's "CN_CATALOGO_45" value
 * @method CN_CATALOGO        getCNCATALOGO46()       Returns the current record's "CN_CATALOGO_46" value
 * @method CN_CATALOGO        getCNCATALOGO47()       Returns the current record's "CN_CATALOGO_47" value
 * @method CN_CATALOGO        getCNCATALOGO48()       Returns the current record's "CN_CATALOGO_48" value
 * @method CN_CATALOGO        getCNCATALOGO49()       Returns the current record's "CN_CATALOGO_49" value
 * @method CN_CATALOGO        getCNCATALOGO50()       Returns the current record's "CN_CATALOGO_50" value
 * @method CN_MAE_TER         getCNMAETER()           Returns the current record's "CN_MAE_TER" value
 * @method CN_MAE_TER         getCNMAETER52()         Returns the current record's "CN_MAE_TER_52" value
 * @method CN_MAE_TER         getCNMAETER53()         Returns the current record's "CN_MAE_TER_53" value
 * @method CN_MAE_TER         getCNMAETER54()         Returns the current record's "CN_MAE_TER_54" value
 * @method CN_AUXILIAR        getCNAUXILIAR()         Returns the current record's "CN_AUXILIAR" value
 * @method CN_AUXILIAR        getCNAUXILIAR56()       Returns the current record's "CN_AUXILIAR_56" value
 * @method CN_AUXILIAR        getCNAUXILIAR57()       Returns the current record's "CN_AUXILIAR_57" value
 * @method CN_AUXILIAR        getCNAUXILIAR58()       Returns the current record's "CN_AUXILIAR_58" value
 * @method CN_IMP_MOVI_CONTAB setIdImpMoviContab()    Sets the current record's "id_imp_movi_contab" value
 * @method CN_IMP_MOVI_CONTAB setIdDocumento()        Sets the current record's "id_documento" value
 * @method CN_IMP_MOVI_CONTAB setIdCad()              Sets the current record's "id_cad" value
 * @method CN_IMP_MOVI_CONTAB setIdVigencia()         Sets the current record's "id_vigencia" value
 * @method CN_IMP_MOVI_CONTAB setIdCenOp()            Sets the current record's "id_cen_op" value
 * @method CN_IMP_MOVI_CONTAB setIdCia()              Sets the current record's "id_cia" value
 * @method CN_IMP_MOVI_CONTAB setIdCatalogo()         Sets the current record's "id_catalogo" value
 * @method CN_IMP_MOVI_CONTAB setIdCuentaMayor()      Sets the current record's "id_cuenta_mayor" value
 * @method CN_IMP_MOVI_CONTAB setIdGrupoCuenta()      Sets the current record's "id_grupo_cuenta" value
 * @method CN_IMP_MOVI_CONTAB setIdClaseCuenta()      Sets the current record's "id_clase_cuenta" value
 * @method CN_IMP_MOVI_CONTAB setIdMaeTer()           Sets the current record's "id_mae_ter" value
 * @method CN_IMP_MOVI_CONTAB setIdAuxiliar()         Sets the current record's "id_auxiliar" value
 * @method CN_IMP_MOVI_CONTAB setDebito()             Sets the current record's "debito" value
 * @method CN_IMP_MOVI_CONTAB setCredito()            Sets the current record's "credito" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO()        Sets the current record's "CN_DOCUMENTO" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO2()       Sets the current record's "CN_DOCUMENTO_2" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO3()       Sets the current record's "CN_DOCUMENTO_3" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO4()       Sets the current record's "CN_DOCUMENTO_4" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO5()       Sets the current record's "CN_DOCUMENTO_5" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO6()       Sets the current record's "CN_DOCUMENTO_6" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO7()       Sets the current record's "CN_DOCUMENTO_7" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO8()       Sets the current record's "CN_DOCUMENTO_8" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO9()       Sets the current record's "CN_DOCUMENTO_9" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO10()      Sets the current record's "CN_DOCUMENTO_10" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO11()      Sets the current record's "CN_DOCUMENTO_11" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO12()      Sets the current record's "CN_DOCUMENTO_12" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO13()      Sets the current record's "CN_DOCUMENTO_13" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO14()      Sets the current record's "CN_DOCUMENTO_14" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO15()      Sets the current record's "CN_DOCUMENTO_15" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO16()      Sets the current record's "CN_DOCUMENTO_16" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO17()      Sets the current record's "CN_DOCUMENTO_17" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO18()      Sets the current record's "CN_DOCUMENTO_18" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO19()      Sets the current record's "CN_DOCUMENTO_19" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO20()      Sets the current record's "CN_DOCUMENTO_20" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO21()      Sets the current record's "CN_DOCUMENTO_21" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO22()      Sets the current record's "CN_DOCUMENTO_22" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO23()      Sets the current record's "CN_DOCUMENTO_23" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO24()      Sets the current record's "CN_DOCUMENTO_24" value
 * @method CN_IMP_MOVI_CONTAB setCNDOCUMENTO25()      Sets the current record's "CN_DOCUMENTO_25" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO()         Sets the current record's "CN_CATALOGO" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO27()       Sets the current record's "CN_CATALOGO_27" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO28()       Sets the current record's "CN_CATALOGO_28" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO29()       Sets the current record's "CN_CATALOGO_29" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO30()       Sets the current record's "CN_CATALOGO_30" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO31()       Sets the current record's "CN_CATALOGO_31" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO32()       Sets the current record's "CN_CATALOGO_32" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO33()       Sets the current record's "CN_CATALOGO_33" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO34()       Sets the current record's "CN_CATALOGO_34" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO35()       Sets the current record's "CN_CATALOGO_35" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO36()       Sets the current record's "CN_CATALOGO_36" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO37()       Sets the current record's "CN_CATALOGO_37" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO38()       Sets the current record's "CN_CATALOGO_38" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO39()       Sets the current record's "CN_CATALOGO_39" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO40()       Sets the current record's "CN_CATALOGO_40" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO41()       Sets the current record's "CN_CATALOGO_41" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO42()       Sets the current record's "CN_CATALOGO_42" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO43()       Sets the current record's "CN_CATALOGO_43" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO44()       Sets the current record's "CN_CATALOGO_44" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO45()       Sets the current record's "CN_CATALOGO_45" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO46()       Sets the current record's "CN_CATALOGO_46" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO47()       Sets the current record's "CN_CATALOGO_47" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO48()       Sets the current record's "CN_CATALOGO_48" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO49()       Sets the current record's "CN_CATALOGO_49" value
 * @method CN_IMP_MOVI_CONTAB setCNCATALOGO50()       Sets the current record's "CN_CATALOGO_50" value
 * @method CN_IMP_MOVI_CONTAB setCNMAETER()           Sets the current record's "CN_MAE_TER" value
 * @method CN_IMP_MOVI_CONTAB setCNMAETER52()         Sets the current record's "CN_MAE_TER_52" value
 * @method CN_IMP_MOVI_CONTAB setCNMAETER53()         Sets the current record's "CN_MAE_TER_53" value
 * @method CN_IMP_MOVI_CONTAB setCNMAETER54()         Sets the current record's "CN_MAE_TER_54" value
 * @method CN_IMP_MOVI_CONTAB setCNAUXILIAR()         Sets the current record's "CN_AUXILIAR" value
 * @method CN_IMP_MOVI_CONTAB setCNAUXILIAR56()       Sets the current record's "CN_AUXILIAR_56" value
 * @method CN_IMP_MOVI_CONTAB setCNAUXILIAR57()       Sets the current record's "CN_AUXILIAR_57" value
 * @method CN_IMP_MOVI_CONTAB setCNAUXILIAR58()       Sets the current record's "CN_AUXILIAR_58" value
 * 
 * @package    Sofhouse
 * @subpackage model
 * @author     Software House
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCN_IMP_MOVI_CONTAB extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CN_IMP_MOVI_CONTAB');
        $this->hasColumn('id_imp_movi_contab', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_documento', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cad', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cia', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_catalogo', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cuenta_mayor', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_grupo_cuenta', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_clase_cuenta', 'integer', 8, array(
             'notnull' => true,
             '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_auxiliar', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('debito', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('credito', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 8,
             ));
    }

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

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_2', array(
             'local' => 'id_cad',
             'foreign' => 'id_documento'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_3', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_documento'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_4', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_documento'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_5', array(
             'local' => 'id_cia',
             'foreign' => 'id_documento'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_6', array(
             'local' => 'id_documento',
             'foreign' => 'id_cad'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_7', array(
             'local' => 'id_cad',
             'foreign' => 'id_cad'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_8', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_cad'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_9', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cad'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_10', array(
             'local' => 'id_cia',
             'foreign' => 'id_cad'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_11', array(
             'local' => 'id_documento',
             'foreign' => 'id_vigencia'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_12', array(
             'local' => 'id_cad',
             'foreign' => 'id_vigencia'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_13', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_14', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_vigencia'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_15', array(
             'local' => 'id_cia',
             'foreign' => 'id_vigencia'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_16', array(
             'local' => 'id_documento',
             'foreign' => 'id_cen_op'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_17', array(
             'local' => 'id_cad',
             'foreign' => 'id_cen_op'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_18', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_cen_op'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_19', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_20', array(
             'local' => 'id_cia',
             'foreign' => 'id_cen_op'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_21', array(
             'local' => 'id_documento',
             'foreign' => 'id_cia'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_22', array(
             'local' => 'id_cad',
             'foreign' => 'id_cia'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_23', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_cia'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_24', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cia'));

        $this->hasOne('CN_DOCUMENTO as CN_DOCUMENTO_25', array(
             'local' => 'id_cia',
             'foreign' => 'id_cia'));

        $this->hasOne('CN_CATALOGO', array(
             'local' => 'id_cia',
             'foreign' => 'id_catalogo'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_27', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_catalogo'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_28', array(
             'local' => 'id_cuenta_mayor',
             'foreign' => 'id_catalogo'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_29', array(
             'local' => 'id_grupo_cuenta',
             'foreign' => 'id_catalogo'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_30', array(
             'local' => 'id_clase_cuenta',
             'foreign' => 'id_catalogo'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_31', array(
             'local' => 'id_cia',
             'foreign' => 'id_cuenta_mayor'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_32', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_cuenta_mayor'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_33', array(
             'local' => 'id_cuenta_mayor',
             'foreign' => 'id_cuenta_mayor'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_34', array(
             'local' => 'id_grupo_cuenta',
             'foreign' => 'id_cuenta_mayor'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_35', array(
             'local' => 'id_clase_cuenta',
             'foreign' => 'id_cuenta_mayor'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_36', array(
             'local' => 'id_cia',
             'foreign' => 'id_grupo_cuenta'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_37', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_grupo_cuenta'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_38', array(
             'local' => 'id_cuenta_mayor',
             'foreign' => 'id_grupo_cuenta'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_39', array(
             'local' => 'id_grupo_cuenta',
             'foreign' => 'id_grupo_cuenta'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_40', array(
             'local' => 'id_clase_cuenta',
             'foreign' => 'id_grupo_cuenta'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_41', array(
             'local' => 'id_cia',
             'foreign' => 'id_clase_cuenta'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_42', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_clase_cuenta'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_43', array(
             'local' => 'id_cuenta_mayor',
             'foreign' => 'id_clase_cuenta'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_44', array(
             'local' => 'id_grupo_cuenta',
             'foreign' => 'id_clase_cuenta'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_45', array(
             'local' => 'id_clase_cuenta',
             'foreign' => 'id_clase_cuenta'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_46', array(
             'local' => 'id_cia',
             'foreign' => 'id_cia'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_47', array(
             'local' => 'id_catalogo',
             'foreign' => 'id_cia'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_48', array(
             'local' => 'id_cuenta_mayor',
             'foreign' => 'id_cia'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_49', array(
             'local' => 'id_grupo_cuenta',
             'foreign' => 'id_cia'));

        $this->hasOne('CN_CATALOGO as CN_CATALOGO_50', array(
             'local' => 'id_clase_cuenta',
             'foreign' => 'id_cia'));

        $this->hasOne('CN_MAE_TER', array(
             'local' => 'id_cia',
             'foreign' => 'id_mae_ter'));

        $this->hasOne('CN_MAE_TER as CN_MAE_TER_52', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasOne('CN_MAE_TER as CN_MAE_TER_53', array(
             'local' => 'id_cia',
             'foreign' => 'id_cia'));

        $this->hasOne('CN_MAE_TER as CN_MAE_TER_54', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_cia'));

        $this->hasOne('CN_AUXILIAR', array(
             'local' => 'id_cia',
             'foreign' => 'id_auxiliar'));

        $this->hasOne('CN_AUXILIAR as CN_AUXILIAR_56', array(
             'local' => 'id_auxiliar',
             'foreign' => 'id_auxiliar'));

        $this->hasOne('CN_AUXILIAR as CN_AUXILIAR_57', array(
             'local' => 'id_cia',
             'foreign' => 'id_cia'));

        $this->hasOne('CN_AUXILIAR as CN_AUXILIAR_58', array(
             'local' => 'id_auxiliar',
             'foreign' => 'id_cia'));
    }
}