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

/**
 * BaseTS_GI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $codigo
 * @property string $descripcion
 * @property string $abrev
 * @property integer $id_pr_tipo_ingre
 * @property integer $id_pr_nume_ingre
 * @property string $rubro_siif
 * @property string $rubro_siif_recupera
 * 
 * @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  getAbrev()               Returns the current record's "abrev" value
 * @method integer getIdPrTipoIngre()       Returns the current record's "id_pr_tipo_ingre" value
 * @method integer getIdPrNumeIngre()       Returns the current record's "id_pr_nume_ingre" value
 * @method string  getRubroSiif()           Returns the current record's "rubro_siif" value
 * @method string  getRubroSiifRecupera()   Returns the current record's "rubro_siif_recupera" value
 * @method TS_GI   setId()                  Sets the current record's "id" value
 * @method TS_GI   setCodigo()              Sets the current record's "codigo" value
 * @method TS_GI   setDescripcion()         Sets the current record's "descripcion" value
 * @method TS_GI   setAbrev()               Sets the current record's "abrev" value
 * @method TS_GI   setIdPrTipoIngre()       Sets the current record's "id_pr_tipo_ingre" value
 * @method TS_GI   setIdPrNumeIngre()       Sets the current record's "id_pr_nume_ingre" value
 * @method TS_GI   setRubroSiif()           Sets the current record's "rubro_siif" value
 * @method TS_GI   setRubroSiifRecupera()   Sets the current record's "rubro_siif_recupera" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_GI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_GI');
        $this->hasColumn('id', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('codigo', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('abrev', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_pr_tipo_ingre', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_pr_nume_ingre', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('rubro_siif', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('rubro_siif_recupera', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
    }

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