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

/**
 * BaseOBJETOS_GASTO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $ano_fiscal
 * @property string $codigo
 * @property string $descripcion
 * @property string $abreviatura
 * @property integer $comision
 * @property integer $estado
 * @property integer $tipo
 * @property integer $id_rubro
 * 
 * @method integer       getId()          Returns the current record's "id" value
 * @method string        getAnoFiscal()   Returns the current record's "ano_fiscal" value
 * @method string        getCodigo()      Returns the current record's "codigo" value
 * @method string        getDescripcion() Returns the current record's "descripcion" value
 * @method string        getAbreviatura() Returns the current record's "abreviatura" value
 * @method integer       getComision()    Returns the current record's "comision" value
 * @method integer       getEstado()      Returns the current record's "estado" value
 * @method integer       getTipo()        Returns the current record's "tipo" value
 * @method integer       getIdRubro()     Returns the current record's "id_rubro" value
 * @method OBJETOS_GASTO setId()          Sets the current record's "id" value
 * @method OBJETOS_GASTO setAnoFiscal()   Sets the current record's "ano_fiscal" value
 * @method OBJETOS_GASTO setCodigo()      Sets the current record's "codigo" value
 * @method OBJETOS_GASTO setDescripcion() Sets the current record's "descripcion" value
 * @method OBJETOS_GASTO setAbreviatura() Sets the current record's "abreviatura" value
 * @method OBJETOS_GASTO setComision()    Sets the current record's "comision" value
 * @method OBJETOS_GASTO setEstado()      Sets the current record's "estado" value
 * @method OBJETOS_GASTO setTipo()        Sets the current record's "tipo" value
 * @method OBJETOS_GASTO setIdRubro()     Sets the current record's "id_rubro" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseOBJETOS_GASTO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('OBJETOS_GASTO');
        $this->hasColumn('id', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('ano_fiscal', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('codigo', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('abreviatura', 'string', 21, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 21,
             ));
        $this->hasColumn('comision', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_rubro', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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