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

/**
 * BaseCN_MOVIMIENTO_CONTABLE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_mov_cont
 * @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 $id_sub_aux
 * @property integer $id_centro_costo
 * @property integer $id_sub_centro_costo
 * @property integer $debito
 * @property integer $credito
 * @property integer $valor_base
 * @property CN_SUB_AUX $CN_SUB_AUX
 * @property CN_SUB_AUX $CN_SUB_AUX_2
 * @property CN_SUB_AUX $CN_SUB_AUX_3
 * @property CN_SUB_AUX $CN_SUB_AUX_4
 * @property CN_MAE_TER $CN_MAE_TER
 * @property CN_MAE_TER $CN_MAE_TER_6
 * @property CN_MAE_TER $CN_MAE_TER_7
 * @property CN_MAE_TER $CN_MAE_TER_8
 * @property CN_AUXILIAR $CN_AUXILIAR
 * @property CN_AUXILIAR $CN_AUXILIAR_10
 * @property CN_AUXILIAR $CN_AUXILIAR_11
 * @property CN_AUXILIAR $CN_AUXILIAR_12
 * @property CN_SUB_CENTRO_COSTO $CN_SUB_CENTRO_COSTO
 * @property CN_SUB_CENTRO_COSTO $CN_SUB_CENTRO_COSTO_14
 * @property CN_SUB_CENTRO_COSTO $CN_SUB_CENTRO_COSTO_15
 * @property CN_SUB_CENTRO_COSTO $CN_SUB_CENTRO_COSTO_16
 * @property CN_CENTRO_COSTO $CN_CENTRO_COSTO
 * @property CN_CENTRO_COSTO $CN_CENTRO_COSTO_18
 * @property CN_CENTRO_COSTO $CN_CENTRO_COSTO_19
 * @property CN_CENTRO_COSTO $CN_CENTRO_COSTO_20
 * @property CN_DOCUMENTO $CN_DOCUMENTO
 * @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_DOCUMENTO $CN_DOCUMENTO_26
 * @property CN_DOCUMENTO $CN_DOCUMENTO_27
 * @property CN_DOCUMENTO $CN_DOCUMENTO_28
 * @property CN_DOCUMENTO $CN_DOCUMENTO_29
 * @property CN_DOCUMENTO $CN_DOCUMENTO_30
 * @property CN_DOCUMENTO $CN_DOCUMENTO_31
 * @property CN_DOCUMENTO $CN_DOCUMENTO_32
 * @property CN_DOCUMENTO $CN_DOCUMENTO_33
 * @property CN_DOCUMENTO $CN_DOCUMENTO_34
 * @property CN_DOCUMENTO $CN_DOCUMENTO_35
 * @property CN_DOCUMENTO $CN_DOCUMENTO_36
 * @property CN_DOCUMENTO $CN_DOCUMENTO_37
 * @property CN_DOCUMENTO $CN_DOCUMENTO_38
 * @property CN_DOCUMENTO $CN_DOCUMENTO_39
 * @property CN_DOCUMENTO $CN_DOCUMENTO_40
 * @property CN_DOCUMENTO $CN_DOCUMENTO_41
 * @property CN_DOCUMENTO $CN_DOCUMENTO_42
 * @property CN_DOCUMENTO $CN_DOCUMENTO_43
 * @property CN_DOCUMENTO $CN_DOCUMENTO_44
 * @property CN_DOCUMENTO $CN_DOCUMENTO_45
 * @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_CENTRO_COSTO $CN_CENTRO_COSTO_27
 * @property CN_CENTRO_COSTO $CN_CENTRO_COSTO_28
 * @property CN_CENTRO_COSTO $CN_CENTRO_COSTO_29
 * @property CN_SUB_CENTRO_COSTO $CN_SUB_CENTRO_COSTO_31
 * @property CN_SUB_CENTRO_COSTO $CN_SUB_CENTRO_COSTO_32
 * @property CN_SUB_CENTRO_COSTO $CN_SUB_CENTRO_COSTO_33
 * @property CN_AUXILIAR $CN_AUXILIAR_35
 * @property CN_AUXILIAR $CN_AUXILIAR_36
 * @property CN_AUXILIAR $CN_AUXILIAR_37
 * @property CN_MAE_TER $CN_MAE_TER_39
 * @property CN_MAE_TER $CN_MAE_TER_40
 * @property CN_MAE_TER $CN_MAE_TER_41
 * @property CN_SUB_AUX $CN_SUB_AUX_43
 * @property CN_SUB_AUX $CN_SUB_AUX_44
 * @property CN_SUB_AUX $CN_SUB_AUX_45
 * @property CN_CATALOGO $CN_CATALOGO
 * @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_CATALOGO $CN_CATALOGO_51
 * @property CN_CATALOGO $CN_CATALOGO_52
 * @property CN_CATALOGO $CN_CATALOGO_53
 * @property CN_CATALOGO $CN_CATALOGO_54
 * @property CN_CATALOGO $CN_CATALOGO_55
 * @property CN_CATALOGO $CN_CATALOGO_56
 * @property CN_CATALOGO $CN_CATALOGO_57
 * @property CN_CATALOGO $CN_CATALOGO_58
 * @property CN_CATALOGO $CN_CATALOGO_59
 * @property CN_CATALOGO $CN_CATALOGO_60
 * @property CN_CATALOGO $CN_CATALOGO_61
 * @property CN_CATALOGO $CN_CATALOGO_62
 * @property CN_CATALOGO $CN_CATALOGO_63
 * @property CN_CATALOGO $CN_CATALOGO_64
 * @property CN_CATALOGO $CN_CATALOGO_65
 * @property CN_CATALOGO $CN_CATALOGO_66
 * @property CN_CATALOGO $CN_CATALOGO_67
 * @property CN_CATALOGO $CN_CATALOGO_68
 * @property CN_CATALOGO $CN_CATALOGO_69
 * @property CN_CATALOGO $CN_CATALOGO_70
 * 
 * @method integer                getIdMovCont()              Returns the current record's "id_mov_cont" 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                getIdSubAux()               Returns the current record's "id_sub_aux" value
 * @method integer                getIdCentroCosto()          Returns the current record's "id_centro_costo" value
 * @method integer                getIdSubCentroCosto()       Returns the current record's "id_sub_centro_costo" value
 * @method integer                getDebito()                 Returns the current record's "debito" value
 * @method integer                getCredito()                Returns the current record's "credito" value
 * @method integer                getValorBase()              Returns the current record's "valor_base" value
 * @method CN_SUB_AUX             getCNSUBAUX()               Returns the current record's "CN_SUB_AUX" value
 * @method CN_SUB_AUX             getCNSUBAUX2()              Returns the current record's "CN_SUB_AUX_2" value
 * @method CN_SUB_AUX             getCNSUBAUX3()              Returns the current record's "CN_SUB_AUX_3" value
 * @method CN_SUB_AUX             getCNSUBAUX4()              Returns the current record's "CN_SUB_AUX_4" value
 * @method CN_MAE_TER             getCNMAETER()               Returns the current record's "CN_MAE_TER" value
 * @method CN_MAE_TER             getCNMAETER6()              Returns the current record's "CN_MAE_TER_6" value
 * @method CN_MAE_TER             getCNMAETER7()              Returns the current record's "CN_MAE_TER_7" value
 * @method CN_MAE_TER             getCNMAETER8()              Returns the current record's "CN_MAE_TER_8" value
 * @method CN_AUXILIAR            getCNAUXILIAR()             Returns the current record's "CN_AUXILIAR" value
 * @method CN_AUXILIAR            getCNAUXILIAR10()           Returns the current record's "CN_AUXILIAR_10" value
 * @method CN_AUXILIAR            getCNAUXILIAR11()           Returns the current record's "CN_AUXILIAR_11" value
 * @method CN_AUXILIAR            getCNAUXILIAR12()           Returns the current record's "CN_AUXILIAR_12" value
 * @method CN_SUB_CENTRO_COSTO    getCNSUBCENTROCOSTO()       Returns the current record's "CN_SUB_CENTRO_COSTO" value
 * @method CN_SUB_CENTRO_COSTO    getCNSUBCENTROCOSTO14()     Returns the current record's "CN_SUB_CENTRO_COSTO_14" value
 * @method CN_SUB_CENTRO_COSTO    getCNSUBCENTROCOSTO15()     Returns the current record's "CN_SUB_CENTRO_COSTO_15" value
 * @method CN_SUB_CENTRO_COSTO    getCNSUBCENTROCOSTO16()     Returns the current record's "CN_SUB_CENTRO_COSTO_16" value
 * @method CN_CENTRO_COSTO        getCNCENTROCOSTO()          Returns the current record's "CN_CENTRO_COSTO" value
 * @method CN_CENTRO_COSTO        getCNCENTROCOSTO18()        Returns the current record's "CN_CENTRO_COSTO_18" value
 * @method CN_CENTRO_COSTO        getCNCENTROCOSTO19()        Returns the current record's "CN_CENTRO_COSTO_19" value
 * @method CN_CENTRO_COSTO        getCNCENTROCOSTO20()        Returns the current record's "CN_CENTRO_COSTO_20" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO()            Returns the current record's "CN_DOCUMENTO" 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_DOCUMENTO           getCNDOCUMENTO26()          Returns the current record's "CN_DOCUMENTO_26" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO27()          Returns the current record's "CN_DOCUMENTO_27" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO28()          Returns the current record's "CN_DOCUMENTO_28" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO29()          Returns the current record's "CN_DOCUMENTO_29" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO30()          Returns the current record's "CN_DOCUMENTO_30" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO31()          Returns the current record's "CN_DOCUMENTO_31" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO32()          Returns the current record's "CN_DOCUMENTO_32" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO33()          Returns the current record's "CN_DOCUMENTO_33" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO34()          Returns the current record's "CN_DOCUMENTO_34" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO35()          Returns the current record's "CN_DOCUMENTO_35" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO36()          Returns the current record's "CN_DOCUMENTO_36" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO37()          Returns the current record's "CN_DOCUMENTO_37" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO38()          Returns the current record's "CN_DOCUMENTO_38" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO39()          Returns the current record's "CN_DOCUMENTO_39" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO40()          Returns the current record's "CN_DOCUMENTO_40" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO41()          Returns the current record's "CN_DOCUMENTO_41" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO42()          Returns the current record's "CN_DOCUMENTO_42" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO43()          Returns the current record's "CN_DOCUMENTO_43" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO44()          Returns the current record's "CN_DOCUMENTO_44" value
 * @method CN_DOCUMENTO           getCNDOCUMENTO45()          Returns the current record's "CN_DOCUMENTO_45" 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_CENTRO_COSTO        getCNCENTROCOSTO27()        Returns the current record's "CN_CENTRO_COSTO_27" value
 * @method CN_CENTRO_COSTO        getCNCENTROCOSTO28()        Returns the current record's "CN_CENTRO_COSTO_28" value
 * @method CN_CENTRO_COSTO        getCNCENTROCOSTO29()        Returns the current record's "CN_CENTRO_COSTO_29" value
 * @method CN_SUB_CENTRO_COSTO    getCNSUBCENTROCOSTO31()     Returns the current record's "CN_SUB_CENTRO_COSTO_31" value
 * @method CN_SUB_CENTRO_COSTO    getCNSUBCENTROCOSTO32()     Returns the current record's "CN_SUB_CENTRO_COSTO_32" value
 * @method CN_SUB_CENTRO_COSTO    getCNSUBCENTROCOSTO33()     Returns the current record's "CN_SUB_CENTRO_COSTO_33" value
 * @method CN_AUXILIAR            getCNAUXILIAR35()           Returns the current record's "CN_AUXILIAR_35" value
 * @method CN_AUXILIAR            getCNAUXILIAR36()           Returns the current record's "CN_AUXILIAR_36" value
 * @method CN_AUXILIAR            getCNAUXILIAR37()           Returns the current record's "CN_AUXILIAR_37" value
 * @method CN_MAE_TER             getCNMAETER39()             Returns the current record's "CN_MAE_TER_39" value
 * @method CN_MAE_TER             getCNMAETER40()             Returns the current record's "CN_MAE_TER_40" value
 * @method CN_MAE_TER             getCNMAETER41()             Returns the current record's "CN_MAE_TER_41" value
 * @method CN_SUB_AUX             getCNSUBAUX43()             Returns the current record's "CN_SUB_AUX_43" value
 * @method CN_SUB_AUX             getCNSUBAUX44()             Returns the current record's "CN_SUB_AUX_44" value
 * @method CN_SUB_AUX             getCNSUBAUX45()             Returns the current record's "CN_SUB_AUX_45" value
 * @method CN_CATALOGO            getCNCATALOGO()             Returns the current record's "CN_CATALOGO" 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_CATALOGO            getCNCATALOGO51()           Returns the current record's "CN_CATALOGO_51" value
 * @method CN_CATALOGO            getCNCATALOGO52()           Returns the current record's "CN_CATALOGO_52" value
 * @method CN_CATALOGO            getCNCATALOGO53()           Returns the current record's "CN_CATALOGO_53" value
 * @method CN_CATALOGO            getCNCATALOGO54()           Returns the current record's "CN_CATALOGO_54" value
 * @method CN_CATALOGO            getCNCATALOGO55()           Returns the current record's "CN_CATALOGO_55" value
 * @method CN_CATALOGO            getCNCATALOGO56()           Returns the current record's "CN_CATALOGO_56" value
 * @method CN_CATALOGO            getCNCATALOGO57()           Returns the current record's "CN_CATALOGO_57" value
 * @method CN_CATALOGO            getCNCATALOGO58()           Returns the current record's "CN_CATALOGO_58" value
 * @method CN_CATALOGO            getCNCATALOGO59()           Returns the current record's "CN_CATALOGO_59" value
 * @method CN_CATALOGO            getCNCATALOGO60()           Returns the current record's "CN_CATALOGO_60" value
 * @method CN_CATALOGO            getCNCATALOGO61()           Returns the current record's "CN_CATALOGO_61" value
 * @method CN_CATALOGO            getCNCATALOGO62()           Returns the current record's "CN_CATALOGO_62" value
 * @method CN_CATALOGO            getCNCATALOGO63()           Returns the current record's "CN_CATALOGO_63" value
 * @method CN_CATALOGO            getCNCATALOGO64()           Returns the current record's "CN_CATALOGO_64" value
 * @method CN_CATALOGO            getCNCATALOGO65()           Returns the current record's "CN_CATALOGO_65" value
 * @method CN_CATALOGO            getCNCATALOGO66()           Returns the current record's "CN_CATALOGO_66" value
 * @method CN_CATALOGO            getCNCATALOGO67()           Returns the current record's "CN_CATALOGO_67" value
 * @method CN_CATALOGO            getCNCATALOGO68()           Returns the current record's "CN_CATALOGO_68" value
 * @method CN_CATALOGO            getCNCATALOGO69()           Returns the current record's "CN_CATALOGO_69" value
 * @method CN_CATALOGO            getCNCATALOGO70()           Returns the current record's "CN_CATALOGO_70" value
 * @method CN_MOVIMIENTO_CONTABLE setIdMovCont()              Sets the current record's "id_mov_cont" value
 * @method CN_MOVIMIENTO_CONTABLE setIdDocumento()            Sets the current record's "id_documento" value
 * @method CN_MOVIMIENTO_CONTABLE setIdCad()                  Sets the current record's "id_cad" value
 * @method CN_MOVIMIENTO_CONTABLE setIdVigencia()             Sets the current record's "id_vigencia" value
 * @method CN_MOVIMIENTO_CONTABLE setIdCenOp()                Sets the current record's "id_cen_op" value
 * @method CN_MOVIMIENTO_CONTABLE setIdCia()                  Sets the current record's "id_cia" value
 * @method CN_MOVIMIENTO_CONTABLE setIdCatalogo()             Sets the current record's "id_catalogo" value
 * @method CN_MOVIMIENTO_CONTABLE setIdCuentaMayor()          Sets the current record's "id_cuenta_mayor" value
 * @method CN_MOVIMIENTO_CONTABLE setIdGrupoCuenta()          Sets the current record's "id_grupo_cuenta" value
 * @method CN_MOVIMIENTO_CONTABLE setIdClaseCuenta()          Sets the current record's "id_clase_cuenta" value
 * @method CN_MOVIMIENTO_CONTABLE setIdMaeTer()               Sets the current record's "id_mae_ter" value
 * @method CN_MOVIMIENTO_CONTABLE setIdAuxiliar()             Sets the current record's "id_auxiliar" value
 * @method CN_MOVIMIENTO_CONTABLE setIdSubAux()               Sets the current record's "id_sub_aux" value
 * @method CN_MOVIMIENTO_CONTABLE setIdCentroCosto()          Sets the current record's "id_centro_costo" value
 * @method CN_MOVIMIENTO_CONTABLE setIdSubCentroCosto()       Sets the current record's "id_sub_centro_costo" value
 * @method CN_MOVIMIENTO_CONTABLE setDebito()                 Sets the current record's "debito" value
 * @method CN_MOVIMIENTO_CONTABLE setCredito()                Sets the current record's "credito" value
 * @method CN_MOVIMIENTO_CONTABLE setValorBase()              Sets the current record's "valor_base" value
 * @method CN_MOVIMIENTO_CONTABLE setCNSUBAUX()               Sets the current record's "CN_SUB_AUX" value
 * @method CN_MOVIMIENTO_CONTABLE setCNSUBAUX2()              Sets the current record's "CN_SUB_AUX_2" value
 * @method CN_MOVIMIENTO_CONTABLE setCNSUBAUX3()              Sets the current record's "CN_SUB_AUX_3" value
 * @method CN_MOVIMIENTO_CONTABLE setCNSUBAUX4()              Sets the current record's "CN_SUB_AUX_4" value
 * @method CN_MOVIMIENTO_CONTABLE setCNMAETER()               Sets the current record's "CN_MAE_TER" value
 * @method CN_MOVIMIENTO_CONTABLE setCNMAETER6()              Sets the current record's "CN_MAE_TER_6" value
 * @method CN_MOVIMIENTO_CONTABLE setCNMAETER7()              Sets the current record's "CN_MAE_TER_7" value
 * @method CN_MOVIMIENTO_CONTABLE setCNMAETER8()              Sets the current record's "CN_MAE_TER_8" value
 * @method CN_MOVIMIENTO_CONTABLE setCNAUXILIAR()             Sets the current record's "CN_AUXILIAR" value
 * @method CN_MOVIMIENTO_CONTABLE setCNAUXILIAR10()           Sets the current record's "CN_AUXILIAR_10" value
 * @method CN_MOVIMIENTO_CONTABLE setCNAUXILIAR11()           Sets the current record's "CN_AUXILIAR_11" value
 * @method CN_MOVIMIENTO_CONTABLE setCNAUXILIAR12()           Sets the current record's "CN_AUXILIAR_12" value
 * @method CN_MOVIMIENTO_CONTABLE setCNSUBCENTROCOSTO()       Sets the current record's "CN_SUB_CENTRO_COSTO" value
 * @method CN_MOVIMIENTO_CONTABLE setCNSUBCENTROCOSTO14()     Sets the current record's "CN_SUB_CENTRO_COSTO_14" value
 * @method CN_MOVIMIENTO_CONTABLE setCNSUBCENTROCOSTO15()     Sets the current record's "CN_SUB_CENTRO_COSTO_15" value
 * @method CN_MOVIMIENTO_CONTABLE setCNSUBCENTROCOSTO16()     Sets the current record's "CN_SUB_CENTRO_COSTO_16" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCENTROCOSTO()          Sets the current record's "CN_CENTRO_COSTO" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCENTROCOSTO18()        Sets the current record's "CN_CENTRO_COSTO_18" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCENTROCOSTO19()        Sets the current record's "CN_CENTRO_COSTO_19" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCENTROCOSTO20()        Sets the current record's "CN_CENTRO_COSTO_20" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO()            Sets the current record's "CN_DOCUMENTO" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO22()          Sets the current record's "CN_DOCUMENTO_22" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO23()          Sets the current record's "CN_DOCUMENTO_23" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO24()          Sets the current record's "CN_DOCUMENTO_24" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO25()          Sets the current record's "CN_DOCUMENTO_25" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO26()          Sets the current record's "CN_DOCUMENTO_26" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO27()          Sets the current record's "CN_DOCUMENTO_27" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO28()          Sets the current record's "CN_DOCUMENTO_28" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO29()          Sets the current record's "CN_DOCUMENTO_29" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO30()          Sets the current record's "CN_DOCUMENTO_30" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO31()          Sets the current record's "CN_DOCUMENTO_31" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO32()          Sets the current record's "CN_DOCUMENTO_32" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO33()          Sets the current record's "CN_DOCUMENTO_33" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO34()          Sets the current record's "CN_DOCUMENTO_34" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO35()          Sets the current record's "CN_DOCUMENTO_35" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO36()          Sets the current record's "CN_DOCUMENTO_36" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO37()          Sets the current record's "CN_DOCUMENTO_37" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO38()          Sets the current record's "CN_DOCUMENTO_38" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO39()          Sets the current record's "CN_DOCUMENTO_39" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO40()          Sets the current record's "CN_DOCUMENTO_40" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO41()          Sets the current record's "CN_DOCUMENTO_41" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO42()          Sets the current record's "CN_DOCUMENTO_42" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO43()          Sets the current record's "CN_DOCUMENTO_43" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO44()          Sets the current record's "CN_DOCUMENTO_44" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO45()          Sets the current record's "CN_DOCUMENTO_45" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO2()           Sets the current record's "CN_DOCUMENTO_2" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO3()           Sets the current record's "CN_DOCUMENTO_3" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO4()           Sets the current record's "CN_DOCUMENTO_4" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO5()           Sets the current record's "CN_DOCUMENTO_5" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO6()           Sets the current record's "CN_DOCUMENTO_6" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO7()           Sets the current record's "CN_DOCUMENTO_7" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO8()           Sets the current record's "CN_DOCUMENTO_8" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO9()           Sets the current record's "CN_DOCUMENTO_9" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO10()          Sets the current record's "CN_DOCUMENTO_10" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO11()          Sets the current record's "CN_DOCUMENTO_11" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO12()          Sets the current record's "CN_DOCUMENTO_12" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO13()          Sets the current record's "CN_DOCUMENTO_13" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO14()          Sets the current record's "CN_DOCUMENTO_14" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO15()          Sets the current record's "CN_DOCUMENTO_15" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO16()          Sets the current record's "CN_DOCUMENTO_16" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO17()          Sets the current record's "CN_DOCUMENTO_17" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO18()          Sets the current record's "CN_DOCUMENTO_18" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO19()          Sets the current record's "CN_DOCUMENTO_19" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO20()          Sets the current record's "CN_DOCUMENTO_20" value
 * @method CN_MOVIMIENTO_CONTABLE setCNDOCUMENTO21()          Sets the current record's "CN_DOCUMENTO_21" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCENTROCOSTO27()        Sets the current record's "CN_CENTRO_COSTO_27" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCENTROCOSTO28()        Sets the current record's "CN_CENTRO_COSTO_28" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCENTROCOSTO29()        Sets the current record's "CN_CENTRO_COSTO_29" value
 * @method CN_MOVIMIENTO_CONTABLE setCNSUBCENTROCOSTO31()     Sets the current record's "CN_SUB_CENTRO_COSTO_31" value
 * @method CN_MOVIMIENTO_CONTABLE setCNSUBCENTROCOSTO32()     Sets the current record's "CN_SUB_CENTRO_COSTO_32" value
 * @method CN_MOVIMIENTO_CONTABLE setCNSUBCENTROCOSTO33()     Sets the current record's "CN_SUB_CENTRO_COSTO_33" value
 * @method CN_MOVIMIENTO_CONTABLE setCNAUXILIAR35()           Sets the current record's "CN_AUXILIAR_35" value
 * @method CN_MOVIMIENTO_CONTABLE setCNAUXILIAR36()           Sets the current record's "CN_AUXILIAR_36" value
 * @method CN_MOVIMIENTO_CONTABLE setCNAUXILIAR37()           Sets the current record's "CN_AUXILIAR_37" value
 * @method CN_MOVIMIENTO_CONTABLE setCNMAETER39()             Sets the current record's "CN_MAE_TER_39" value
 * @method CN_MOVIMIENTO_CONTABLE setCNMAETER40()             Sets the current record's "CN_MAE_TER_40" value
 * @method CN_MOVIMIENTO_CONTABLE setCNMAETER41()             Sets the current record's "CN_MAE_TER_41" value
 * @method CN_MOVIMIENTO_CONTABLE setCNSUBAUX43()             Sets the current record's "CN_SUB_AUX_43" value
 * @method CN_MOVIMIENTO_CONTABLE setCNSUBAUX44()             Sets the current record's "CN_SUB_AUX_44" value
 * @method CN_MOVIMIENTO_CONTABLE setCNSUBAUX45()             Sets the current record's "CN_SUB_AUX_45" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO()             Sets the current record's "CN_CATALOGO" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO47()           Sets the current record's "CN_CATALOGO_47" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO48()           Sets the current record's "CN_CATALOGO_48" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO49()           Sets the current record's "CN_CATALOGO_49" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO50()           Sets the current record's "CN_CATALOGO_50" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO51()           Sets the current record's "CN_CATALOGO_51" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO52()           Sets the current record's "CN_CATALOGO_52" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO53()           Sets the current record's "CN_CATALOGO_53" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO54()           Sets the current record's "CN_CATALOGO_54" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO55()           Sets the current record's "CN_CATALOGO_55" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO56()           Sets the current record's "CN_CATALOGO_56" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO57()           Sets the current record's "CN_CATALOGO_57" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO58()           Sets the current record's "CN_CATALOGO_58" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO59()           Sets the current record's "CN_CATALOGO_59" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO60()           Sets the current record's "CN_CATALOGO_60" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO61()           Sets the current record's "CN_CATALOGO_61" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO62()           Sets the current record's "CN_CATALOGO_62" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO63()           Sets the current record's "CN_CATALOGO_63" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO64()           Sets the current record's "CN_CATALOGO_64" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO65()           Sets the current record's "CN_CATALOGO_65" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO66()           Sets the current record's "CN_CATALOGO_66" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO67()           Sets the current record's "CN_CATALOGO_67" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO68()           Sets the current record's "CN_CATALOGO_68" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO69()           Sets the current record's "CN_CATALOGO_69" value
 * @method CN_MOVIMIENTO_CONTABLE setCNCATALOGO70()           Sets the current record's "CN_CATALOGO_70" value
 * 
 * @package    Sofhouse
 * @subpackage model
 * @author     Software House
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCN_MOVIMIENTO_CONTABLE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CN_MOVIMIENTO_CONTABLE');
        $this->hasColumn('id_mov_cont', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_documento', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cad', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cia', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             '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('id_sub_aux', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_centro_costo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_sub_centro_costo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('debito', 'float', 32, array(
             'notnull' => false,
             'type' => 'float',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 32,
             'scale' => '8',
             ));
        $this->hasColumn('credito', 'float', 32, array(
             'notnull' => false,
             'type' => 'float',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 32,
             'scale' => '8',
             ));
        $this->hasColumn('valor_base', 'float', 32, array(
             'notnull' => false,
             'type' => 'float',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             'scale' => '8',
             ));
    }

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

        $this->hasOne('CN_SUB_AUX as CN_SUB_AUX_2', array(
             'local' => 'id_sub_aux',
             'foreign' => 'id_sub_aux'));

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

        $this->hasOne('CN_SUB_AUX as CN_SUB_AUX_4', array(
             'local' => 'id_sub_aux',
             '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_6', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

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

        $this->hasOne('CN_MAE_TER as CN_MAE_TER_8', 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_10', array(
             'local' => 'id_auxiliar',
             'foreign' => 'id_auxiliar'));

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

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

        $this->hasOne('CN_SUB_CENTRO_COSTO', array(
             'local' => 'id_cia',
             'foreign' => 'id_sub_centro_costo'));

        $this->hasOne('CN_SUB_CENTRO_COSTO as CN_SUB_CENTRO_COSTO_14', array(
             'local' => 'id_sub_centro_costo',
             'foreign' => 'id_sub_centro_costo'));

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

        $this->hasOne('CN_SUB_CENTRO_COSTO as CN_SUB_CENTRO_COSTO_16', array(
             'local' => 'id_sub_centro_costo',
             'foreign' => 'id_cia'));

        $this->hasOne('CN_CENTRO_COSTO', array(
             'local' => 'id_cia',
             'foreign' => 'id_centro_costo'));

        $this->hasOne('CN_CENTRO_COSTO as CN_CENTRO_COSTO_18', array(
             'local' => 'id_centro_costo',
             'foreign' => 'id_centro_costo'));

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

        $this->hasOne('CN_CENTRO_COSTO as CN_CENTRO_COSTO_20', array(
             'local' => 'id_centro_costo',
             'foreign' => 'id_cia'));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        $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_cad',
             'foreign' => 'id_vigencia'));

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

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

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

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

        $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_vigencia',
             'foreign' => 'id_cen_op'));

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

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

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

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

        $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_cen_op',
             'foreign' => 'id_cia'));

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

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

        $this->hasOne('CN_CENTRO_COSTO as CN_CENTRO_COSTO_28', array(
             'local' => 'id_centro_costo',
             'foreign' => 'id_centro_costo'));

        $this->hasOne('CN_CENTRO_COSTO as CN_CENTRO_COSTO_29', array(
             'local' => 'id_centro_costo',
             'foreign' => 'id_cia'));

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

        $this->hasOne('CN_SUB_CENTRO_COSTO as CN_SUB_CENTRO_COSTO_32', array(
             'local' => 'id_sub_centro_costo',
             'foreign' => 'id_sub_centro_costo'));

        $this->hasOne('CN_SUB_CENTRO_COSTO as CN_SUB_CENTRO_COSTO_33', array(
             'local' => 'id_sub_centro_costo',
             'foreign' => 'id_cia'));

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

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

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

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

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

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

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

        $this->hasOne('CN_SUB_AUX as CN_SUB_AUX_44', array(
             'local' => 'id_sub_aux',
             'foreign' => 'id_sub_aux'));

        $this->hasOne('CN_SUB_AUX as CN_SUB_AUX_45', array(
             'local' => 'id_sub_aux',
             'foreign' => 'id_cia'));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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