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

/**
 * BaseGASTO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_gasto
 * @property integer $id_actividad
 * @property string $descripcion
 * @property string $valor
 * @property string $proveedor
 * 
 * @method integer getIdGasto()      Returns the current record's "id_gasto" value
 * @method integer getIdActividad()  Returns the current record's "id_actividad" value
 * @method string  getDescripcion()  Returns the current record's "descripcion" value
 * @method string  getValor()        Returns the current record's "valor" value
 * @method string  getProveedor()    Returns the current record's "proveedor" value
 * @method GASTO   setIdGasto()      Sets the current record's "id_gasto" value
 * @method GASTO   setIdActividad()  Sets the current record's "id_actividad" value
 * @method GASTO   setDescripcion()  Sets the current record's "descripcion" value
 * @method GASTO   setValor()        Sets the current record's "valor" value
 * @method GASTO   setProveedor()    Sets the current record's "proveedor" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseGASTO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('GASTO');
        $this->hasColumn('id_gasto', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_actividad', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('valor', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('proveedor', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
    }

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