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

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

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