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

/**
 * BaseDATOS_FAMILIAR
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_tipo_doc_func
 * @property string $num_doc_func
 * @property string $nom_completo
 * @property integer $id_parentezco
 * @property timestamp $fecha_nace
 * @property integer $id_pais_nace
 * @property integer $id_depto_nace
 * @property integer $municipio_nace
 * @property string $sexo
 * @property string $ocupacion
 * @property string $vive_con_funcionario
 * @property string $dependiente
 * 
 * @method integer        getIdTipoDoc()            Returns the current record's "id_tipo_doc" value
 * @method string         getNumDoc()               Returns the current record's "num_doc" value
 * @method integer        getIdTipoDocFunc()        Returns the current record's "id_tipo_doc_func" value
 * @method string         getNumDocFunc()           Returns the current record's "num_doc_func" value
 * @method string         getNomCompleto()          Returns the current record's "nom_completo" value
 * @method integer        getIdParentezco()         Returns the current record's "id_parentezco" 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 integer        getMunicipioNace()        Returns the current record's "municipio_nace" value
 * @method string         getSexo()                 Returns the current record's "sexo" value
 * @method string         getOcupacion()            Returns the current record's "ocupacion" value
 * @method string         getViveConFuncionario()   Returns the current record's "vive_con_funcionario" value
 * @method string         getDependiente()          Returns the current record's "dependiente" value
 * @method DATOS_FAMILIAR setIdTipoDoc()            Sets the current record's "id_tipo_doc" value
 * @method DATOS_FAMILIAR setNumDoc()               Sets the current record's "num_doc" value
 * @method DATOS_FAMILIAR setIdTipoDocFunc()        Sets the current record's "id_tipo_doc_func" value
 * @method DATOS_FAMILIAR setNumDocFunc()           Sets the current record's "num_doc_func" value
 * @method DATOS_FAMILIAR setNomCompleto()          Sets the current record's "nom_completo" value
 * @method DATOS_FAMILIAR setIdParentezco()         Sets the current record's "id_parentezco" value
 * @method DATOS_FAMILIAR setFechaNace()            Sets the current record's "fecha_nace" value
 * @method DATOS_FAMILIAR setIdPaisNace()           Sets the current record's "id_pais_nace" value
 * @method DATOS_FAMILIAR setIdDeptoNace()          Sets the current record's "id_depto_nace" value
 * @method DATOS_FAMILIAR setMunicipioNace()        Sets the current record's "municipio_nace" value
 * @method DATOS_FAMILIAR setSexo()                 Sets the current record's "sexo" value
 * @method DATOS_FAMILIAR setOcupacion()            Sets the current record's "ocupacion" value
 * @method DATOS_FAMILIAR setViveConFuncionario()   Sets the current record's "vive_con_funcionario" value
 * @method DATOS_FAMILIAR setDependiente()          Sets the current record's "dependiente" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseDATOS_FAMILIAR extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('DATOS_FAMILIAR');
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'notnull' => false,
             '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('id_tipo_doc_func', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc_func', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nom_completo', 'string', 40, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 40,
             ));
        $this->hasColumn('id_parentezco', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $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', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('sexo', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 1,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('ocupacion', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('vive_con_funcionario', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 1,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('dependiente', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 1,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        
    }
}