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

/**
 * BaseTSDC_SAFI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_obligacion_val
 * @property integer $id_obligacion
 * @property integer $id_asign
 * @property integer $id_obj_gasto
 * @property decimal $valor_obligacion
 * @property integer $id_cpo
 * @property integer $secuencia
 * @property integer $id_vigencia
 * @property string $ano_fiscal
 * @property string $cod_obj_gasto
 * @property string $cod_proyecto
 * @property string $rubro_presup
 * 
 * @method integer   getIdObligacionVal()   Returns the current record's "id_obligacion_val" value
 * @method integer   getIdObligacion()      Returns the current record's "id_obligacion" value
 * @method integer   getIdAsign()           Returns the current record's "id_asign" value
 * @method integer   getIdObjGasto()        Returns the current record's "id_obj_gasto" value
 * @method decimal   getValorObligacion()   Returns the current record's "valor_obligacion" value
 * @method integer   getIdCpo()             Returns the current record's "id_cpo" value
 * @method integer   getSecuencia()         Returns the current record's "secuencia" value
 * @method integer   getIdVigencia()        Returns the current record's "id_vigencia" value
 * @method string    getAnoFiscal()         Returns the current record's "ano_fiscal" value
 * @method string    getCodObjGasto()       Returns the current record's "cod_obj_gasto" value
 * @method string    getCodProyecto()       Returns the current record's "cod_proyecto" value
 * @method string    getRubroPresup()       Returns the current record's "rubro_presup" value
 * @method TSDC_SAFI setIdObligacionVal()   Sets the current record's "id_obligacion_val" value
 * @method TSDC_SAFI setIdObligacion()      Sets the current record's "id_obligacion" value
 * @method TSDC_SAFI setIdAsign()           Sets the current record's "id_asign" value
 * @method TSDC_SAFI setIdObjGasto()        Sets the current record's "id_obj_gasto" value
 * @method TSDC_SAFI setValorObligacion()   Sets the current record's "valor_obligacion" value
 * @method TSDC_SAFI setIdCpo()             Sets the current record's "id_cpo" value
 * @method TSDC_SAFI setSecuencia()         Sets the current record's "secuencia" value
 * @method TSDC_SAFI setIdVigencia()        Sets the current record's "id_vigencia" value
 * @method TSDC_SAFI setAnoFiscal()         Sets the current record's "ano_fiscal" value
 * @method TSDC_SAFI setCodObjGasto()       Sets the current record's "cod_obj_gasto" value
 * @method TSDC_SAFI setCodProyecto()       Sets the current record's "cod_proyecto" value
 * @method TSDC_SAFI setRubroPresup()       Sets the current record's "rubro_presup" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTSDC_SAFI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TSDC_SAFI');
        $this->hasColumn('id_obligacion_val', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_obligacion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_asign', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_obj_gasto', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_obligacion', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('id_cpo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('secuencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('ano_fiscal', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('cod_obj_gasto', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cod_proyecto', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('rubro_presup', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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