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

/**
 * BasePR_CLASES_PRESUP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $codigo
 * @property string $descripcion
 * @property string $tipo_gasto
 * 
 * @method integer          getId()          Returns the current record's "id" value
 * @method string           getCodigo()      Returns the current record's "codigo" value
 * @method string           getDescripcion() Returns the current record's "descripcion" value
 * @method string           getTipoGasto()   Returns the current record's "tipo_gasto" value
 * @method PR_CLASES_PRESUP setId()          Sets the current record's "id" value
 * @method PR_CLASES_PRESUP setCodigo()      Sets the current record's "codigo" value
 * @method PR_CLASES_PRESUP setDescripcion() Sets the current record's "descripcion" value
 * @method PR_CLASES_PRESUP setTipoGasto()   Sets the current record's "tipo_gasto" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePR_CLASES_PRESUP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_CLASES_PRESUP');
        $this->hasColumn('id', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('codigo', 'string', 3, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 3,
             ));
        $this->hasColumn('descripcion', 'string', 1000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('tipo_gasto', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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