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

/**
 * BaseDATOS_FUNCIONARIO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property string $primer_nombre
 * @property string $segundo_nombre
 * @property string $primer_apellido
 * @property string $segundo_apellido
 * @property timestamp $fecha_nace
 * @property integer $id_pais_nace
 * @property integer $id_depto_nace
 * @property string $municipio_nace
 * @property string $sexo
 * @property integer $id_estado_civil
 * @property string $direccion
 * @property integer $id_pais_dir
 * @property integer $id_depto_dir
 * @property string $municipio_dir
 * @property string $tel
 * @property string $email
 * @property integer $id_tipo_sangre
 * @property string $num_cert_judicial
 * @property timestamp $fecha_cert_judicial
 * @property string $carrera_admin
 * @property string $tecnico_cientifico
 * @property integer $id_area
 * @property string $activo
 * @property string $num_libreta
 * @property integer $clase_libreta
 * @property string $distrito_libreta
 * @property integer $id_titulo_basica
 * @property integer $ultimo_grado
 * @property clob $foto
 * @property string $certificado
 * @property timestamp $fecha_eb
 * @property string $diploma
 * @property DEPARTAMENTO $DEPARTAMENTO
 * @property DEPARTAMENTO $DEPARTAMENTO_2
 * @property ESTADO_CIVIL $ESTADO_CIVIL
 * @property PAIS $PAIS
 * @property PAIS $PAIS_5
 * @property TIPO_DOCUMENTO $TIPO_DOCUMENTO
 * @property TIPO_SANGRE $TIPO_SANGRE
 * @property TIPO_TITULO_BASICA $TIPO_TITULO_BASICA
 * @property AREA $AREA
 * @property Doctrine_Collection $EXPERIENCIA_LABORAL
 * @property Doctrine_Collection $EXPERIENCIA_LABORAL_2
 * @property Doctrine_Collection $EXPERIENCIA_LABORAL_3
 * @property Doctrine_Collection $EXPERIENCIA_LABORAL_4
 * @property Doctrine_Collection $FORMACION_IDIOMAS
 * @property Doctrine_Collection $FORMACION_IDIOMAS_2
 * @property Doctrine_Collection $FORMACION_IDIOMAS_3
 * @property Doctrine_Collection $FORMACION_IDIOMAS_4
 * @property Doctrine_Collection $FORMACION_SUPERIOR
 * @property Doctrine_Collection $FORMACION_SUPERIOR_2
 * @property Doctrine_Collection $FORMACION_SUPERIOR_3
 * @property Doctrine_Collection $FORMACION_SUPERIOR_4
 * @property Doctrine_Collection $MATERIAL_REPLICA_FACILITADOR
 * @property Doctrine_Collection $MATERIAL_REPLICA_FACILITADOR_3
 * @property Doctrine_Collection $MATERIAL_REPLICA_FACILITADOR_4
 * @property Doctrine_Collection $MATERIAL_REPLICA_FACILITADOR_5
 * @property Doctrine_Collection $MATERIAL_REPLICA_FUNCIONARIO
 * @property Doctrine_Collection $MATERIAL_REPLICA_FUNCIONARIO_3
 * @property Doctrine_Collection $MATERIAL_REPLICA_FUNCIONARIO_4
 * @property Doctrine_Collection $MATERIAL_REPLICA_FUNCIONARIO_5
 * @property Doctrine_Collection $NECESIDAD
 * @property Doctrine_Collection $NECESIDAD_3
 * @property Doctrine_Collection $NECESIDAD_4
 * @property Doctrine_Collection $NECESIDAD_5
 * @property Doctrine_Collection $OBSERVACIONES
 * @property Doctrine_Collection $OBSERVACIONES_2
 * @property Doctrine_Collection $OBSERVACIONES_3
 * @property Doctrine_Collection $OBSERVACIONES_4
 * @property Doctrine_Collection $OBSERVACIONES_5
 * @property Doctrine_Collection $OBSERVACIONES_6
 * @property Doctrine_Collection $OBSERVACIONES_7
 * @property Doctrine_Collection $OBSERVACIONES_8
 * @property Doctrine_Collection $RH_SA_H
 * @property Doctrine_Collection $RH_SA_H_2
 * @property Doctrine_Collection $RH_SA_H_3
 * @property Doctrine_Collection $RH_SA_H_4
 * @property Doctrine_Collection $DATOS_FAMILIAR
 * @property Doctrine_Collection $DATOS_FAMILIAR_2
 * @property Doctrine_Collection $DATOS_FAMILIAR_3
 * @property Doctrine_Collection $DATOS_FAMILIAR_4
 * @property Doctrine_Collection $ACTIVIDAD
 * @property Doctrine_Collection $ACTIVIDAD_4
 * @property Doctrine_Collection $ACTIVIDAD_5
 * @property Doctrine_Collection $ACTIVIDAD_6
 * @property Doctrine_Collection $ACTIVIDAD_FORMACION
 * @property Doctrine_Collection $ACTIVIDAD_FORMACION_3
 * @property Doctrine_Collection $ACTIVIDAD_FORMACION_4
 * @property Doctrine_Collection $ACTIVIDAD_FORMACION_5
 * @property Doctrine_Collection $ACTIVIDAD_FORMACION_6
 * @property Doctrine_Collection $ACTIVIDAD_FORMACION_7
 * @property Doctrine_Collection $ACTIVIDAD_FORMACION_8
 * @property Doctrine_Collection $ACTIVIDAD_FORMACION_9
 * @property Doctrine_Collection $ACTIVIDAD_FORM_FUNCIONARIO
 * @property Doctrine_Collection $ACTIVIDAD_FORM_FUNCIONARIO_3
 * @property Doctrine_Collection $ACTIVIDAD_FORM_FUNCIONARIO_4
 * @property Doctrine_Collection $ACTIVIDAD_FORM_FUNCIONARIO_5
 * 
 * @method integer             getIdTipoDoc()                      Returns the current record's "id_tipo_doc" value
 * @method string              getNumDoc()                         Returns the current record's "num_doc" value
 * @method string              getPrimerNombre()                   Returns the current record's "primer_nombre" value
 * @method string              getSegundoNombre()                  Returns the current record's "segundo_nombre" value
 * @method string              getPrimerApellido()                 Returns the current record's "primer_apellido" value
 * @method string              getSegundoApellido()                Returns the current record's "segundo_apellido" value
 * @method timestamp           getFechaNace()                      Returns the current record's "fecha_nace" value
 * @method integer             getIdPaisNace()                     Returns the current record's "id_pais_nace" value
 * @method integer             getIdDeptoNace()                    Returns the current record's "id_depto_nace" value
 * @method string              getMunicipioNace()                  Returns the current record's "municipio_nace" value
 * @method string              getSexo()                           Returns the current record's "sexo" value
 * @method integer             getIdEstadoCivil()                  Returns the current record's "id_estado_civil" value
 * @method string              getDireccion()                      Returns the current record's "direccion" value
 * @method integer             getIdPaisDir()                      Returns the current record's "id_pais_dir" value
 * @method integer             getIdDeptoDir()                     Returns the current record's "id_depto_dir" value
 * @method string              getMunicipioDir()                   Returns the current record's "municipio_dir" value
 * @method string              getTel()                            Returns the current record's "tel" value
 * @method string              getEmail()                          Returns the current record's "email" value
 * @method integer             getIdTipoSangre()                   Returns the current record's "id_tipo_sangre" value
 * @method string              getNumCertJudicial()                Returns the current record's "num_cert_judicial" value
 * @method timestamp           getFechaCertJudicial()              Returns the current record's "fecha_cert_judicial" value
 * @method string              getCarreraAdmin()                   Returns the current record's "carrera_admin" value
 * @method string              getTecnicoCientifico()              Returns the current record's "tecnico_cientifico" value
 * @method integer             getIdArea()                         Returns the current record's "id_area" value
 * @method string              getActivo()                         Returns the current record's "activo" value
 * @method string              getNumLibreta()                     Returns the current record's "num_libreta" value
 * @method integer             getClaseLibreta()                   Returns the current record's "clase_libreta" value
 * @method string              getDistritoLibreta()                Returns the current record's "distrito_libreta" value
 * @method integer             getIdTituloBasica()                 Returns the current record's "id_titulo_basica" value
 * @method integer             getUltimoGrado()                    Returns the current record's "ultimo_grado" value
 * @method clob                getFoto()                           Returns the current record's "foto" value
 * @method string              getCertificado()                    Returns the current record's "certificado" value
 * @method timestamp           getFechaEb()                        Returns the current record's "fecha_eb" value
 * @method string              getDiploma()                        Returns the current record's "diploma" value
 * @method DEPARTAMENTO        getDEPARTAMENTO()                   Returns the current record's "DEPARTAMENTO" value
 * @method DEPARTAMENTO        getDEPARTAMENTO2()                  Returns the current record's "DEPARTAMENTO_2" value
 * @method ESTADO_CIVIL        getESTADOCIVIL()                    Returns the current record's "ESTADO_CIVIL" value
 * @method PAIS                getPAIS()                           Returns the current record's "PAIS" value
 * @method PAIS                getPAIS5()                          Returns the current record's "PAIS_5" value
 * @method TIPO_DOCUMENTO      getTIPODOCUMENTO()                  Returns the current record's "TIPO_DOCUMENTO" value
 * @method TIPO_SANGRE         getTIPOSANGRE()                     Returns the current record's "TIPO_SANGRE" value
 * @method TIPO_TITULO_BASICA  getTIPOTITULOBASICA()               Returns the current record's "TIPO_TITULO_BASICA" value
 * @method AREA                getAREA()                           Returns the current record's "AREA" value
 * @method Doctrine_Collection getEXPERIENCIALABORAL()             Returns the current record's "EXPERIENCIA_LABORAL" collection
 * @method Doctrine_Collection getEXPERIENCIALABORAL2()            Returns the current record's "EXPERIENCIA_LABORAL_2" collection
 * @method Doctrine_Collection getEXPERIENCIALABORAL3()            Returns the current record's "EXPERIENCIA_LABORAL_3" collection
 * @method Doctrine_Collection getEXPERIENCIALABORAL4()            Returns the current record's "EXPERIENCIA_LABORAL_4" collection
 * @method Doctrine_Collection getFORMACIONIDIOMAS()               Returns the current record's "FORMACION_IDIOMAS" collection
 * @method Doctrine_Collection getFORMACIONIDIOMAS2()              Returns the current record's "FORMACION_IDIOMAS_2" collection
 * @method Doctrine_Collection getFORMACIONIDIOMAS3()              Returns the current record's "FORMACION_IDIOMAS_3" collection
 * @method Doctrine_Collection getFORMACIONIDIOMAS4()              Returns the current record's "FORMACION_IDIOMAS_4" collection
 * @method Doctrine_Collection getFORMACIONSUPERIOR()              Returns the current record's "FORMACION_SUPERIOR" collection
 * @method Doctrine_Collection getFORMACIONSUPERIOR2()             Returns the current record's "FORMACION_SUPERIOR_2" collection
 * @method Doctrine_Collection getFORMACIONSUPERIOR3()             Returns the current record's "FORMACION_SUPERIOR_3" collection
 * @method Doctrine_Collection getFORMACIONSUPERIOR4()             Returns the current record's "FORMACION_SUPERIOR_4" collection
 * @method Doctrine_Collection getMATERIALREPLICAFACILITADOR()     Returns the current record's "MATERIAL_REPLICA_FACILITADOR" collection
 * @method Doctrine_Collection getMATERIALREPLICAFACILITADOR3()    Returns the current record's "MATERIAL_REPLICA_FACILITADOR_3" collection
 * @method Doctrine_Collection getMATERIALREPLICAFACILITADOR4()    Returns the current record's "MATERIAL_REPLICA_FACILITADOR_4" collection
 * @method Doctrine_Collection getMATERIALREPLICAFACILITADOR5()    Returns the current record's "MATERIAL_REPLICA_FACILITADOR_5" collection
 * @method Doctrine_Collection getMATERIALREPLICAFUNCIONARIO()     Returns the current record's "MATERIAL_REPLICA_FUNCIONARIO" collection
 * @method Doctrine_Collection getMATERIALREPLICAFUNCIONARIO3()    Returns the current record's "MATERIAL_REPLICA_FUNCIONARIO_3" collection
 * @method Doctrine_Collection getMATERIALREPLICAFUNCIONARIO4()    Returns the current record's "MATERIAL_REPLICA_FUNCIONARIO_4" collection
 * @method Doctrine_Collection getMATERIALREPLICAFUNCIONARIO5()    Returns the current record's "MATERIAL_REPLICA_FUNCIONARIO_5" collection
 * @method Doctrine_Collection getNECESIDAD()                      Returns the current record's "NECESIDAD" collection
 * @method Doctrine_Collection getNECESIDAD3()                     Returns the current record's "NECESIDAD_3" collection
 * @method Doctrine_Collection getNECESIDAD4()                     Returns the current record's "NECESIDAD_4" collection
 * @method Doctrine_Collection getNECESIDAD5()                     Returns the current record's "NECESIDAD_5" collection
 * @method Doctrine_Collection getOBSERVACIONES()                  Returns the current record's "OBSERVACIONES" collection
 * @method Doctrine_Collection getOBSERVACIONES2()                 Returns the current record's "OBSERVACIONES_2" collection
 * @method Doctrine_Collection getOBSERVACIONES3()                 Returns the current record's "OBSERVACIONES_3" collection
 * @method Doctrine_Collection getOBSERVACIONES4()                 Returns the current record's "OBSERVACIONES_4" collection
 * @method Doctrine_Collection getOBSERVACIONES5()                 Returns the current record's "OBSERVACIONES_5" collection
 * @method Doctrine_Collection getOBSERVACIONES6()                 Returns the current record's "OBSERVACIONES_6" collection
 * @method Doctrine_Collection getOBSERVACIONES7()                 Returns the current record's "OBSERVACIONES_7" collection
 * @method Doctrine_Collection getOBSERVACIONES8()                 Returns the current record's "OBSERVACIONES_8" collection
 * @method Doctrine_Collection getRHSAH()                          Returns the current record's "RH_SA_H" collection
 * @method Doctrine_Collection getRHSAH2()                         Returns the current record's "RH_SA_H_2" collection
 * @method Doctrine_Collection getRHSAH3()                         Returns the current record's "RH_SA_H_3" collection
 * @method Doctrine_Collection getRHSAH4()                         Returns the current record's "RH_SA_H_4" collection
 * @method Doctrine_Collection getDATOSFAMILIAR()                  Returns the current record's "DATOS_FAMILIAR" collection
 * @method Doctrine_Collection getDATOSFAMILIAR2()                 Returns the current record's "DATOS_FAMILIAR_2" collection
 * @method Doctrine_Collection getDATOSFAMILIAR3()                 Returns the current record's "DATOS_FAMILIAR_3" collection
 * @method Doctrine_Collection getDATOSFAMILIAR4()                 Returns the current record's "DATOS_FAMILIAR_4" collection
 * @method Doctrine_Collection getACTIVIDAD()                      Returns the current record's "ACTIVIDAD" collection
 * @method Doctrine_Collection getACTIVIDAD4()                     Returns the current record's "ACTIVIDAD_4" collection
 * @method Doctrine_Collection getACTIVIDAD5()                     Returns the current record's "ACTIVIDAD_5" collection
 * @method Doctrine_Collection getACTIVIDAD6()                     Returns the current record's "ACTIVIDAD_6" collection
 * @method Doctrine_Collection getACTIVIDADFORMACION()             Returns the current record's "ACTIVIDAD_FORMACION" collection
 * @method Doctrine_Collection getACTIVIDADFORMACION3()            Returns the current record's "ACTIVIDAD_FORMACION_3" collection
 * @method Doctrine_Collection getACTIVIDADFORMACION4()            Returns the current record's "ACTIVIDAD_FORMACION_4" collection
 * @method Doctrine_Collection getACTIVIDADFORMACION5()            Returns the current record's "ACTIVIDAD_FORMACION_5" collection
 * @method Doctrine_Collection getACTIVIDADFORMACION6()            Returns the current record's "ACTIVIDAD_FORMACION_6" collection
 * @method Doctrine_Collection getACTIVIDADFORMACION7()            Returns the current record's "ACTIVIDAD_FORMACION_7" collection
 * @method Doctrine_Collection getACTIVIDADFORMACION8()            Returns the current record's "ACTIVIDAD_FORMACION_8" collection
 * @method Doctrine_Collection getACTIVIDADFORMACION9()            Returns the current record's "ACTIVIDAD_FORMACION_9" collection
 * @method Doctrine_Collection getACTIVIDADFORMFUNCIONARIO()       Returns the current record's "ACTIVIDAD_FORM_FUNCIONARIO" collection
 * @method Doctrine_Collection getACTIVIDADFORMFUNCIONARIO3()      Returns the current record's "ACTIVIDAD_FORM_FUNCIONARIO_3" collection
 * @method Doctrine_Collection getACTIVIDADFORMFUNCIONARIO4()      Returns the current record's "ACTIVIDAD_FORM_FUNCIONARIO_4" collection
 * @method Doctrine_Collection getACTIVIDADFORMFUNCIONARIO5()      Returns the current record's "ACTIVIDAD_FORM_FUNCIONARIO_5" collection
 * @method DATOS_FUNCIONARIO   setIdTipoDoc()                      Sets the current record's "id_tipo_doc" value
 * @method DATOS_FUNCIONARIO   setNumDoc()                         Sets the current record's "num_doc" value
 * @method DATOS_FUNCIONARIO   setPrimerNombre()                   Sets the current record's "primer_nombre" value
 * @method DATOS_FUNCIONARIO   setSegundoNombre()                  Sets the current record's "segundo_nombre" value
 * @method DATOS_FUNCIONARIO   setPrimerApellido()                 Sets the current record's "primer_apellido" value
 * @method DATOS_FUNCIONARIO   setSegundoApellido()                Sets the current record's "segundo_apellido" value
 * @method DATOS_FUNCIONARIO   setFechaNace()                      Sets the current record's "fecha_nace" value
 * @method DATOS_FUNCIONARIO   setIdPaisNace()                     Sets the current record's "id_pais_nace" value
 * @method DATOS_FUNCIONARIO   setIdDeptoNace()                    Sets the current record's "id_depto_nace" value
 * @method DATOS_FUNCIONARIO   setMunicipioNace()                  Sets the current record's "municipio_nace" value
 * @method DATOS_FUNCIONARIO   setSexo()                           Sets the current record's "sexo" value
 * @method DATOS_FUNCIONARIO   setIdEstadoCivil()                  Sets the current record's "id_estado_civil" value
 * @method DATOS_FUNCIONARIO   setDireccion()                      Sets the current record's "direccion" value
 * @method DATOS_FUNCIONARIO   setIdPaisDir()                      Sets the current record's "id_pais_dir" value
 * @method DATOS_FUNCIONARIO   setIdDeptoDir()                     Sets the current record's "id_depto_dir" value
 * @method DATOS_FUNCIONARIO   setMunicipioDir()                   Sets the current record's "municipio_dir" value
 * @method DATOS_FUNCIONARIO   setTel()                            Sets the current record's "tel" value
 * @method DATOS_FUNCIONARIO   setEmail()                          Sets the current record's "email" value
 * @method DATOS_FUNCIONARIO   setIdTipoSangre()                   Sets the current record's "id_tipo_sangre" value
 * @method DATOS_FUNCIONARIO   setNumCertJudicial()                Sets the current record's "num_cert_judicial" value
 * @method DATOS_FUNCIONARIO   setFechaCertJudicial()              Sets the current record's "fecha_cert_judicial" value
 * @method DATOS_FUNCIONARIO   setCarreraAdmin()                   Sets the current record's "carrera_admin" value
 * @method DATOS_FUNCIONARIO   setTecnicoCientifico()              Sets the current record's "tecnico_cientifico" value
 * @method DATOS_FUNCIONARIO   setIdArea()                         Sets the current record's "id_area" value
 * @method DATOS_FUNCIONARIO   setActivo()                         Sets the current record's "activo" value
 * @method DATOS_FUNCIONARIO   setNumLibreta()                     Sets the current record's "num_libreta" value
 * @method DATOS_FUNCIONARIO   setClaseLibreta()                   Sets the current record's "clase_libreta" value
 * @method DATOS_FUNCIONARIO   setDistritoLibreta()                Sets the current record's "distrito_libreta" value
 * @method DATOS_FUNCIONARIO   setIdTituloBasica()                 Sets the current record's "id_titulo_basica" value
 * @method DATOS_FUNCIONARIO   setUltimoGrado()                    Sets the current record's "ultimo_grado" value
 * @method DATOS_FUNCIONARIO   setFoto()                           Sets the current record's "foto" value
 * @method DATOS_FUNCIONARIO   setCertificado()                    Sets the current record's "certificado" value
 * @method DATOS_FUNCIONARIO   setFechaEb()                        Sets the current record's "fecha_eb" value
 * @method DATOS_FUNCIONARIO   setDiploma()                        Sets the current record's "diploma" value
 * @method DATOS_FUNCIONARIO   setDEPARTAMENTO()                   Sets the current record's "DEPARTAMENTO" value
 * @method DATOS_FUNCIONARIO   setDEPARTAMENTO2()                  Sets the current record's "DEPARTAMENTO_2" value
 * @method DATOS_FUNCIONARIO   setESTADOCIVIL()                    Sets the current record's "ESTADO_CIVIL" value
 * @method DATOS_FUNCIONARIO   setPAIS()                           Sets the current record's "PAIS" value
 * @method DATOS_FUNCIONARIO   setPAIS5()                          Sets the current record's "PAIS_5" value
 * @method DATOS_FUNCIONARIO   setTIPODOCUMENTO()                  Sets the current record's "TIPO_DOCUMENTO" value
 * @method DATOS_FUNCIONARIO   setTIPOSANGRE()                     Sets the current record's "TIPO_SANGRE" value
 * @method DATOS_FUNCIONARIO   setTIPOTITULOBASICA()               Sets the current record's "TIPO_TITULO_BASICA" value
 * @method DATOS_FUNCIONARIO   setAREA()                           Sets the current record's "AREA" value
 * @method DATOS_FUNCIONARIO   setEXPERIENCIALABORAL()             Sets the current record's "EXPERIENCIA_LABORAL" collection
 * @method DATOS_FUNCIONARIO   setEXPERIENCIALABORAL2()            Sets the current record's "EXPERIENCIA_LABORAL_2" collection
 * @method DATOS_FUNCIONARIO   setEXPERIENCIALABORAL3()            Sets the current record's "EXPERIENCIA_LABORAL_3" collection
 * @method DATOS_FUNCIONARIO   setEXPERIENCIALABORAL4()            Sets the current record's "EXPERIENCIA_LABORAL_4" collection
 * @method DATOS_FUNCIONARIO   setFORMACIONIDIOMAS()               Sets the current record's "FORMACION_IDIOMAS" collection
 * @method DATOS_FUNCIONARIO   setFORMACIONIDIOMAS2()              Sets the current record's "FORMACION_IDIOMAS_2" collection
 * @method DATOS_FUNCIONARIO   setFORMACIONIDIOMAS3()              Sets the current record's "FORMACION_IDIOMAS_3" collection
 * @method DATOS_FUNCIONARIO   setFORMACIONIDIOMAS4()              Sets the current record's "FORMACION_IDIOMAS_4" collection
 * @method DATOS_FUNCIONARIO   setFORMACIONSUPERIOR()              Sets the current record's "FORMACION_SUPERIOR" collection
 * @method DATOS_FUNCIONARIO   setFORMACIONSUPERIOR2()             Sets the current record's "FORMACION_SUPERIOR_2" collection
 * @method DATOS_FUNCIONARIO   setFORMACIONSUPERIOR3()             Sets the current record's "FORMACION_SUPERIOR_3" collection
 * @method DATOS_FUNCIONARIO   setFORMACIONSUPERIOR4()             Sets the current record's "FORMACION_SUPERIOR_4" collection
 * @method DATOS_FUNCIONARIO   setMATERIALREPLICAFACILITADOR()     Sets the current record's "MATERIAL_REPLICA_FACILITADOR" collection
 * @method DATOS_FUNCIONARIO   setMATERIALREPLICAFACILITADOR3()    Sets the current record's "MATERIAL_REPLICA_FACILITADOR_3" collection
 * @method DATOS_FUNCIONARIO   setMATERIALREPLICAFACILITADOR4()    Sets the current record's "MATERIAL_REPLICA_FACILITADOR_4" collection
 * @method DATOS_FUNCIONARIO   setMATERIALREPLICAFACILITADOR5()    Sets the current record's "MATERIAL_REPLICA_FACILITADOR_5" collection
 * @method DATOS_FUNCIONARIO   setMATERIALREPLICAFUNCIONARIO()     Sets the current record's "MATERIAL_REPLICA_FUNCIONARIO" collection
 * @method DATOS_FUNCIONARIO   setMATERIALREPLICAFUNCIONARIO3()    Sets the current record's "MATERIAL_REPLICA_FUNCIONARIO_3" collection
 * @method DATOS_FUNCIONARIO   setMATERIALREPLICAFUNCIONARIO4()    Sets the current record's "MATERIAL_REPLICA_FUNCIONARIO_4" collection
 * @method DATOS_FUNCIONARIO   setMATERIALREPLICAFUNCIONARIO5()    Sets the current record's "MATERIAL_REPLICA_FUNCIONARIO_5" collection
 * @method DATOS_FUNCIONARIO   setNECESIDAD()                      Sets the current record's "NECESIDAD" collection
 * @method DATOS_FUNCIONARIO   setNECESIDAD3()                     Sets the current record's "NECESIDAD_3" collection
 * @method DATOS_FUNCIONARIO   setNECESIDAD4()                     Sets the current record's "NECESIDAD_4" collection
 * @method DATOS_FUNCIONARIO   setNECESIDAD5()                     Sets the current record's "NECESIDAD_5" collection
 * @method DATOS_FUNCIONARIO   setOBSERVACIONES()                  Sets the current record's "OBSERVACIONES" collection
 * @method DATOS_FUNCIONARIO   setOBSERVACIONES2()                 Sets the current record's "OBSERVACIONES_2" collection
 * @method DATOS_FUNCIONARIO   setOBSERVACIONES3()                 Sets the current record's "OBSERVACIONES_3" collection
 * @method DATOS_FUNCIONARIO   setOBSERVACIONES4()                 Sets the current record's "OBSERVACIONES_4" collection
 * @method DATOS_FUNCIONARIO   setOBSERVACIONES5()                 Sets the current record's "OBSERVACIONES_5" collection
 * @method DATOS_FUNCIONARIO   setOBSERVACIONES6()                 Sets the current record's "OBSERVACIONES_6" collection
 * @method DATOS_FUNCIONARIO   setOBSERVACIONES7()                 Sets the current record's "OBSERVACIONES_7" collection
 * @method DATOS_FUNCIONARIO   setOBSERVACIONES8()                 Sets the current record's "OBSERVACIONES_8" collection
 * @method DATOS_FUNCIONARIO   setRHSAH()                          Sets the current record's "RH_SA_H" collection
 * @method DATOS_FUNCIONARIO   setRHSAH2()                         Sets the current record's "RH_SA_H_2" collection
 * @method DATOS_FUNCIONARIO   setRHSAH3()                         Sets the current record's "RH_SA_H_3" collection
 * @method DATOS_FUNCIONARIO   setRHSAH4()                         Sets the current record's "RH_SA_H_4" collection
 * @method DATOS_FUNCIONARIO   setDATOSFAMILIAR()                  Sets the current record's "DATOS_FAMILIAR" collection
 * @method DATOS_FUNCIONARIO   setDATOSFAMILIAR2()                 Sets the current record's "DATOS_FAMILIAR_2" collection
 * @method DATOS_FUNCIONARIO   setDATOSFAMILIAR3()                 Sets the current record's "DATOS_FAMILIAR_3" collection
 * @method DATOS_FUNCIONARIO   setDATOSFAMILIAR4()                 Sets the current record's "DATOS_FAMILIAR_4" collection
 * @method DATOS_FUNCIONARIO   setACTIVIDAD()                      Sets the current record's "ACTIVIDAD" collection
 * @method DATOS_FUNCIONARIO   setACTIVIDAD4()                     Sets the current record's "ACTIVIDAD_4" collection
 * @method DATOS_FUNCIONARIO   setACTIVIDAD5()                     Sets the current record's "ACTIVIDAD_5" collection
 * @method DATOS_FUNCIONARIO   setACTIVIDAD6()                     Sets the current record's "ACTIVIDAD_6" collection
 * @method DATOS_FUNCIONARIO   setACTIVIDADFORMACION()             Sets the current record's "ACTIVIDAD_FORMACION" collection
 * @method DATOS_FUNCIONARIO   setACTIVIDADFORMACION3()            Sets the current record's "ACTIVIDAD_FORMACION_3" collection
 * @method DATOS_FUNCIONARIO   setACTIVIDADFORMACION4()            Sets the current record's "ACTIVIDAD_FORMACION_4" collection
 * @method DATOS_FUNCIONARIO   setACTIVIDADFORMACION5()            Sets the current record's "ACTIVIDAD_FORMACION_5" collection
 * @method DATOS_FUNCIONARIO   setACTIVIDADFORMACION6()            Sets the current record's "ACTIVIDAD_FORMACION_6" collection
 * @method DATOS_FUNCIONARIO   setACTIVIDADFORMACION7()            Sets the current record's "ACTIVIDAD_FORMACION_7" collection
 * @method DATOS_FUNCIONARIO   setACTIVIDADFORMACION8()            Sets the current record's "ACTIVIDAD_FORMACION_8" collection
 * @method DATOS_FUNCIONARIO   setACTIVIDADFORMACION9()            Sets the current record's "ACTIVIDAD_FORMACION_9" collection
 * @method DATOS_FUNCIONARIO   setACTIVIDADFORMFUNCIONARIO()       Sets the current record's "ACTIVIDAD_FORM_FUNCIONARIO" collection
 * @method DATOS_FUNCIONARIO   setACTIVIDADFORMFUNCIONARIO3()      Sets the current record's "ACTIVIDAD_FORM_FUNCIONARIO_3" collection
 * @method DATOS_FUNCIONARIO   setACTIVIDADFORMFUNCIONARIO4()      Sets the current record's "ACTIVIDAD_FORM_FUNCIONARIO_4" collection
 * @method DATOS_FUNCIONARIO   setACTIVIDADFORMFUNCIONARIO5()      Sets the current record's "ACTIVIDAD_FORM_FUNCIONARIO_5" collection
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseDATOS_FUNCIONARIO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('DATOS_FUNCIONARIO');
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('primer_nombre', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('segundo_nombre', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('primer_apellido', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('segundo_apellido', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('fecha_nace', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_pais_nace', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_depto_nace', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('municipio_nace', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('sexo', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 1,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_estado_civil', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('direccion', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('id_pais_dir', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_depto_dir', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('municipio_dir', 'string', 40, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 40,
             ));
        $this->hasColumn('tel', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('email', 'string', 40, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 40,
             ));
        $this->hasColumn('id_tipo_sangre', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_cert_judicial', 'string', 40, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 40,
             ));
        $this->hasColumn('fecha_cert_judicial', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('carrera_admin', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 1,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('tecnico_cientifico', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 1,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_area', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('activo', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 1,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('num_libreta', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('clase_libreta', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('distrito_libreta', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_titulo_basica', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('ultimo_grado', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('foto', 'clob', 4000, array(
             'notnull' => false,
             'type' => 'clob',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
        $this->hasColumn('certificado', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('fecha_eb', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('diploma', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
    }

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

        $this->hasOne('DEPARTAMENTO as DEPARTAMENTO_2', array(
             'local' => 'id_depto_dir',
             'foreign' => 'id_depto'));

        $this->hasOne('ESTADO_CIVIL', array(
             'local' => 'id_estado_civil',
             'foreign' => 'id_estado_civil'));

        $this->hasOne('PAIS', array(
             'local' => 'id_pais_dir',
             'foreign' => 'id_pais'));

        $this->hasOne('PAIS as PAIS_5', array(
             'local' => 'id_pais_nace',
             'foreign' => 'id_pais'));

        $this->hasOne('TIPO_DOCUMENTO', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasOne('TIPO_SANGRE', array(
             'local' => 'id_tipo_sangre',
             'foreign' => 'id_tipo_sangre'));

        $this->hasOne('TIPO_TITULO_BASICA', array(
             'local' => 'id_titulo_basica',
             'foreign' => 'id_titulo_basica'));

        $this->hasOne('AREA', array(
             'local' => 'id_area',
             'foreign' => 'id_area'));

        $this->hasMany('EXPERIENCIA_LABORAL', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasMany('EXPERIENCIA_LABORAL as EXPERIENCIA_LABORAL_2', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'num_doc'));

        $this->hasMany('EXPERIENCIA_LABORAL as EXPERIENCIA_LABORAL_3', array(
             'local' => 'num_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasMany('EXPERIENCIA_LABORAL as EXPERIENCIA_LABORAL_4', array(
             'local' => 'num_doc',
             'foreign' => 'num_doc'));

        $this->hasMany('FORMACION_IDIOMAS', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasMany('FORMACION_IDIOMAS as FORMACION_IDIOMAS_2', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'num_doc'));

        $this->hasMany('FORMACION_IDIOMAS as FORMACION_IDIOMAS_3', array(
             'local' => 'num_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasMany('FORMACION_IDIOMAS as FORMACION_IDIOMAS_4', array(
             'local' => 'num_doc',
             'foreign' => 'num_doc'));

        $this->hasMany('FORMACION_SUPERIOR', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasMany('FORMACION_SUPERIOR as FORMACION_SUPERIOR_2', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'num_doc'));

        $this->hasMany('FORMACION_SUPERIOR as FORMACION_SUPERIOR_3', array(
             'local' => 'num_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasMany('FORMACION_SUPERIOR as FORMACION_SUPERIOR_4', array(
             'local' => 'num_doc',
             'foreign' => 'num_doc'));

        $this->hasMany('MATERIAL_REPLICA_FACILITADOR', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasMany('MATERIAL_REPLICA_FACILITADOR as MATERIAL_REPLICA_FACILITADOR_3', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'num_doc'));

        $this->hasMany('MATERIAL_REPLICA_FACILITADOR as MATERIAL_REPLICA_FACILITADOR_4', array(
             'local' => 'num_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasMany('MATERIAL_REPLICA_FACILITADOR as MATERIAL_REPLICA_FACILITADOR_5', array(
             'local' => 'num_doc',
             'foreign' => 'num_doc'));

        $this->hasMany('MATERIAL_REPLICA_FUNCIONARIO', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasMany('MATERIAL_REPLICA_FUNCIONARIO as MATERIAL_REPLICA_FUNCIONARIO_3', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'num_doc'));

        $this->hasMany('MATERIAL_REPLICA_FUNCIONARIO as MATERIAL_REPLICA_FUNCIONARIO_4', array(
             'local' => 'num_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasMany('MATERIAL_REPLICA_FUNCIONARIO as MATERIAL_REPLICA_FUNCIONARIO_5', array(
             'local' => 'num_doc',
             'foreign' => 'num_doc'));

        $this->hasMany('NECESIDAD', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'id_doc_responsable'));

        $this->hasMany('NECESIDAD as NECESIDAD_3', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'num_doc_responsable'));

        $this->hasMany('NECESIDAD as NECESIDAD_4', array(
             'local' => 'num_doc',
             'foreign' => 'id_doc_responsable'));

        $this->hasMany('NECESIDAD as NECESIDAD_5', array(
             'local' => 'num_doc',
             'foreign' => 'num_doc_responsable'));

        $this->hasMany('OBSERVACIONES', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasMany('OBSERVACIONES as OBSERVACIONES_2', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'num_doc'));

        $this->hasMany('OBSERVACIONES as OBSERVACIONES_3', array(
             'local' => 'num_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasMany('OBSERVACIONES as OBSERVACIONES_4', array(
             'local' => 'num_doc',
             'foreign' => 'num_doc'));

        $this->hasMany('OBSERVACIONES as OBSERVACIONES_5', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'id_tipo_doc_rh'));

        $this->hasMany('OBSERVACIONES as OBSERVACIONES_6', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'num_doc_rh'));

        $this->hasMany('OBSERVACIONES as OBSERVACIONES_7', array(
             'local' => 'num_doc',
             'foreign' => 'id_tipo_doc_rh'));

        $this->hasMany('OBSERVACIONES as OBSERVACIONES_8', array(
             'local' => 'num_doc',
             'foreign' => 'num_doc_rh'));

        $this->hasMany('RH_SA_H', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasMany('RH_SA_H as RH_SA_H_2', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'num_doc'));

        $this->hasMany('RH_SA_H as RH_SA_H_3', array(
             'local' => 'num_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasMany('RH_SA_H as RH_SA_H_4', array(
             'local' => 'num_doc',
             'foreign' => 'num_doc'));

        $this->hasMany('DATOS_FAMILIAR', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'id_tipo_doc_func'));

        $this->hasMany('DATOS_FAMILIAR as DATOS_FAMILIAR_2', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'num_doc_func'));

        $this->hasMany('DATOS_FAMILIAR as DATOS_FAMILIAR_3', array(
             'local' => 'num_doc',
             'foreign' => 'id_tipo_doc_func'));

        $this->hasMany('DATOS_FAMILIAR as DATOS_FAMILIAR_4', array(
             'local' => 'num_doc',
             'foreign' => 'num_doc_func'));

        $this->hasMany('ACTIVIDAD', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'id_doc_responsable'));

        $this->hasMany('ACTIVIDAD as ACTIVIDAD_4', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'num_doc_responsable'));

        $this->hasMany('ACTIVIDAD as ACTIVIDAD_5', array(
             'local' => 'num_doc',
             'foreign' => 'id_doc_responsable'));

        $this->hasMany('ACTIVIDAD as ACTIVIDAD_6', array(
             'local' => 'num_doc',
             'foreign' => 'num_doc_responsable'));

        $this->hasMany('ACTIVIDAD_FORMACION', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'id_doc_responsable'));

        $this->hasMany('ACTIVIDAD_FORMACION as ACTIVIDAD_FORMACION_3', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'num_doc_responsable'));

        $this->hasMany('ACTIVIDAD_FORMACION as ACTIVIDAD_FORMACION_4', array(
             'local' => 'num_doc',
             'foreign' => 'id_doc_responsable'));

        $this->hasMany('ACTIVIDAD_FORMACION as ACTIVIDAD_FORMACION_5', array(
             'local' => 'num_doc',
             'foreign' => 'num_doc_responsable'));

        $this->hasMany('ACTIVIDAD_FORMACION as ACTIVIDAD_FORMACION_6', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'id_doc_facilitador'));

        $this->hasMany('ACTIVIDAD_FORMACION as ACTIVIDAD_FORMACION_7', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'num_doc_facilitador'));

        $this->hasMany('ACTIVIDAD_FORMACION as ACTIVIDAD_FORMACION_8', array(
             'local' => 'num_doc',
             'foreign' => 'id_doc_facilitador'));

        $this->hasMany('ACTIVIDAD_FORMACION as ACTIVIDAD_FORMACION_9', array(
             'local' => 'num_doc',
             'foreign' => 'num_doc_facilitador'));

        $this->hasMany('ACTIVIDAD_FORM_FUNCIONARIO', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasMany('ACTIVIDAD_FORM_FUNCIONARIO as ACTIVIDAD_FORM_FUNCIONARIO_3', array(
             'local' => 'id_tipo_doc',
             'foreign' => 'num_doc'));

        $this->hasMany('ACTIVIDAD_FORM_FUNCIONARIO as ACTIVIDAD_FORM_FUNCIONARIO_4', array(
             'local' => 'num_doc',
             'foreign' => 'id_tipo_doc'));

        $this->hasMany('ACTIVIDAD_FORM_FUNCIONARIO as ACTIVIDAD_FORM_FUNCIONARIO_5', array(
             'local' => 'num_doc',
             'foreign' => 'num_doc'));
    }
}