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

/**
 * BaseRH_EN_REGISTRO_ENCUESTA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_reg_enc
 * @property integer $numero
 * @property integer $id_tipo_contrato
 * @property integer $id_nivel_jerarquico
 * @property integer $region
 * @property string $sexo
 * @property integer $id_antiguedad
 * @property integer $id_nivel_cargo
 * @property integer $id_edad
 * @property integer $id_area
 * @property integer $id_formato
 * @property string $comentario
 * @property integer $id_cia
 * @property integer $id_cen_op
 * 
 * @method integer                 getIdRegEnc()            Returns the current record's "id_reg_enc" value
 * @method integer                 getNumero()              Returns the current record's "numero" value
 * @method integer                 getIdTipoContrato()      Returns the current record's "id_tipo_contrato" value
 * @method integer                 getIdNivelJerarquico()   Returns the current record's "id_nivel_jerarquico" value
 * @method integer                 getRegion()              Returns the current record's "region" value
 * @method string                  getSexo()                Returns the current record's "sexo" value
 * @method integer                 getIdAntiguedad()        Returns the current record's "id_antiguedad" value
 * @method integer                 getIdNivelCargo()        Returns the current record's "id_nivel_cargo" value
 * @method integer                 getIdEdad()              Returns the current record's "id_edad" value
 * @method integer                 getIdArea()              Returns the current record's "id_area" value
 * @method integer                 getIdFormato()           Returns the current record's "id_formato" value
 * @method string                  getComentario()          Returns the current record's "comentario" value
 * @method integer                 getIdCia()               Returns the current record's "id_cia" value
 * @method integer                 getIdCenOp()             Returns the current record's "id_cen_op" value
 * @method RH_EN_REGISTRO_ENCUESTA setIdRegEnc()            Sets the current record's "id_reg_enc" value
 * @method RH_EN_REGISTRO_ENCUESTA setNumero()              Sets the current record's "numero" value
 * @method RH_EN_REGISTRO_ENCUESTA setIdTipoContrato()      Sets the current record's "id_tipo_contrato" value
 * @method RH_EN_REGISTRO_ENCUESTA setIdNivelJerarquico()   Sets the current record's "id_nivel_jerarquico" value
 * @method RH_EN_REGISTRO_ENCUESTA setRegion()              Sets the current record's "region" value
 * @method RH_EN_REGISTRO_ENCUESTA setSexo()                Sets the current record's "sexo" value
 * @method RH_EN_REGISTRO_ENCUESTA setIdAntiguedad()        Sets the current record's "id_antiguedad" value
 * @method RH_EN_REGISTRO_ENCUESTA setIdNivelCargo()        Sets the current record's "id_nivel_cargo" value
 * @method RH_EN_REGISTRO_ENCUESTA setIdEdad()              Sets the current record's "id_edad" value
 * @method RH_EN_REGISTRO_ENCUESTA setIdArea()              Sets the current record's "id_area" value
 * @method RH_EN_REGISTRO_ENCUESTA setIdFormato()           Sets the current record's "id_formato" value
 * @method RH_EN_REGISTRO_ENCUESTA setComentario()          Sets the current record's "comentario" value
 * @method RH_EN_REGISTRO_ENCUESTA setIdCia()               Sets the current record's "id_cia" value
 * @method RH_EN_REGISTRO_ENCUESTA setIdCenOp()             Sets the current record's "id_cen_op" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_EN_REGISTRO_ENCUESTA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_EN_REGISTRO_ENCUESTA');
        $this->hasColumn('id_reg_enc', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('numero', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_contrato', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_nivel_jerarquico', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('region', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('sexo', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 1,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_antiguedad', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_nivel_cargo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_edad', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_area', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_formato', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('comentario', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('id_cia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cen_op', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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