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

/**
 * BaseTS_PARAMETROS_GRAL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_parametros_gral
 * @property string $tipo
 * @property decimal $valor
 * @property string $descripcion
 * 
 * @method integer            getIdParametrosGral()   Returns the current record's "id_parametros_gral" value
 * @method string             getTipo()               Returns the current record's "tipo" value
 * @method decimal            getValor()              Returns the current record's "valor" value
 * @method string             getDescripcion()        Returns the current record's "descripcion" value
 * @method TS_PARAMETROS_GRAL setIdParametrosGral()   Sets the current record's "id_parametros_gral" value
 * @method TS_PARAMETROS_GRAL setTipo()               Sets the current record's "tipo" value
 * @method TS_PARAMETROS_GRAL setValor()              Sets the current record's "valor" value
 * @method TS_PARAMETROS_GRAL setDescripcion()        Sets the current record's "descripcion" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_PARAMETROS_GRAL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_PARAMETROS_GRAL');
        $this->hasColumn('id_parametros_gral', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('tipo', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('valor', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('descripcion', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
    }

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