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

/**
 * BaseRH_DH_FORMATO_ENCUESTA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_formato
 * @property integer $numero_variables_desempeno
 * @property integer $numero_variables_dimension
 * @property string $nombre
 * @property string $estado
 * 
 * @method integer                getIdFormato()                  Returns the current record's "id_formato" value
 * @method integer                getNumeroVariablesDesempeno()   Returns the current record's "numero_variables_desempeno" value
 * @method integer                getNumeroVariablesDimension()   Returns the current record's "numero_variables_dimension" value
 * @method string                 getNombre()                     Returns the current record's "nombre" value
 * @method string                 getEstado()                     Returns the current record's "estado" value
 * @method RH_DH_FORMATO_ENCUESTA setIdFormato()                  Sets the current record's "id_formato" value
 * @method RH_DH_FORMATO_ENCUESTA setNumeroVariablesDesempeno()   Sets the current record's "numero_variables_desempeno" value
 * @method RH_DH_FORMATO_ENCUESTA setNumeroVariablesDimension()   Sets the current record's "numero_variables_dimension" value
 * @method RH_DH_FORMATO_ENCUESTA setNombre()                     Sets the current record's "nombre" value
 * @method RH_DH_FORMATO_ENCUESTA setEstado()                     Sets the current record's "estado" value
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_DH_FORMATO_ENCUESTA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_DH_FORMATO_ENCUESTA');
        $this->hasColumn('id_formato', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('numero_variables_desempeno', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('numero_variables_dimension', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nombre', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('estado', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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