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

/**
 * BaseTMP_GASTOS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $cta_prog
 * @property string $subc_subp
 * @property string $objg_proy
 * @property string $ord_sproy
 * @property string $subord
 * @property string $rec
 * @property string $cs
 * @property string $fte
 * @property string $descripcion
 * @property decimal $aprop_vigente
 * @property decimal $cdp_mes
 * @property decimal $cdp_acumulados
 * @property decimal $compromisos_mes
 * @property decimal $compromisos_acumulados
 * @property decimal $obligaciones_mes
 * @property decimal $obligaciones_acumuladas
 * @property decimal $pagos_mes
 * @property decimal $total_pagos_acumulados
 * 
 * @method integer    getId()                      Returns the current record's "id" value
 * @method string     getCtaProg()                 Returns the current record's "cta_prog" value
 * @method string     getSubcSubp()                Returns the current record's "subc_subp" value
 * @method string     getObjgProy()                Returns the current record's "objg_proy" value
 * @method string     getOrdSproy()                Returns the current record's "ord_sproy" value
 * @method string     getSubord()                  Returns the current record's "subord" value
 * @method string     getRec()                     Returns the current record's "rec" value
 * @method string     getCs()                      Returns the current record's "cs" value
 * @method string     getFte()                     Returns the current record's "fte" value
 * @method string     getDescripcion()             Returns the current record's "descripcion" value
 * @method decimal    getApropVigente()            Returns the current record's "aprop_vigente" value
 * @method decimal    getCdpMes()                  Returns the current record's "cdp_mes" value
 * @method decimal    getCdpAcumulados()           Returns the current record's "cdp_acumulados" value
 * @method decimal    getCompromisosMes()          Returns the current record's "compromisos_mes" value
 * @method decimal    getCompromisosAcumulados()   Returns the current record's "compromisos_acumulados" value
 * @method decimal    getObligacionesMes()         Returns the current record's "obligaciones_mes" value
 * @method decimal    getObligacionesAcumuladas()  Returns the current record's "obligaciones_acumuladas" value
 * @method decimal    getPagosMes()                Returns the current record's "pagos_mes" value
 * @method decimal    getTotalPagosAcumulados()    Returns the current record's "total_pagos_acumulados" value
 * @method TMP_GASTOS setId()                      Sets the current record's "id" value
 * @method TMP_GASTOS setCtaProg()                 Sets the current record's "cta_prog" value
 * @method TMP_GASTOS setSubcSubp()                Sets the current record's "subc_subp" value
 * @method TMP_GASTOS setObjgProy()                Sets the current record's "objg_proy" value
 * @method TMP_GASTOS setOrdSproy()                Sets the current record's "ord_sproy" value
 * @method TMP_GASTOS setSubord()                  Sets the current record's "subord" value
 * @method TMP_GASTOS setRec()                     Sets the current record's "rec" value
 * @method TMP_GASTOS setCs()                      Sets the current record's "cs" value
 * @method TMP_GASTOS setFte()                     Sets the current record's "fte" value
 * @method TMP_GASTOS setDescripcion()             Sets the current record's "descripcion" value
 * @method TMP_GASTOS setApropVigente()            Sets the current record's "aprop_vigente" value
 * @method TMP_GASTOS setCdpMes()                  Sets the current record's "cdp_mes" value
 * @method TMP_GASTOS setCdpAcumulados()           Sets the current record's "cdp_acumulados" value
 * @method TMP_GASTOS setCompromisosMes()          Sets the current record's "compromisos_mes" value
 * @method TMP_GASTOS setCompromisosAcumulados()   Sets the current record's "compromisos_acumulados" value
 * @method TMP_GASTOS setObligacionesMes()         Sets the current record's "obligaciones_mes" value
 * @method TMP_GASTOS setObligacionesAcumuladas()  Sets the current record's "obligaciones_acumuladas" value
 * @method TMP_GASTOS setPagosMes()                Sets the current record's "pagos_mes" value
 * @method TMP_GASTOS setTotalPagosAcumulados()    Sets the current record's "total_pagos_acumulados" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTMP_GASTOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TMP_GASTOS');
        $this->hasColumn('id', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('cta_prog', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('subc_subp', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('objg_proy', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('ord_sproy', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('subord', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('rec', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('cs', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fte', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('aprop_vigente', 'decimal', 30, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('cdp_mes', 'decimal', 32, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             ));
        $this->hasColumn('cdp_acumulados', 'decimal', 32, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             ));
        $this->hasColumn('compromisos_mes', 'decimal', 32, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             ));
        $this->hasColumn('compromisos_acumulados', 'decimal', 32, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             ));
        $this->hasColumn('obligaciones_mes', 'decimal', 32, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             ));
        $this->hasColumn('obligaciones_acumuladas', 'decimal', 32, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             ));
        $this->hasColumn('pagos_mes', 'decimal', 32, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             ));
        $this->hasColumn('total_pagos_acumulados', 'decimal', 32, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             ));
    }

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