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

/**
 * BasePR_ELEMENTOS_GASTO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_elementos_gasto
 * @property string $codigo_gasto
 * @property string $descripcion_gasto
 * @property integer $id_objeto_gasto
 * @property integer $id_concep_nomina
 * @property integer $viatico
 * @property integer $viaje
 * 
 * @method integer            getIdElementosGasto()   Returns the current record's "id_elementos_gasto" value
 * @method string             getCodigoGasto()        Returns the current record's "codigo_gasto" value
 * @method string             getDescripcionGasto()   Returns the current record's "descripcion_gasto" value
 * @method integer            getIdObjetoGasto()      Returns the current record's "id_objeto_gasto" value
 * @method integer            getIdConcepNomina()     Returns the current record's "id_concep_nomina" value
 * @method integer            getViatico()            Returns the current record's "viatico" value
 * @method integer            getViaje()              Returns the current record's "viaje" value
 * @method PR_ELEMENTOS_GASTO setIdElementosGasto()   Sets the current record's "id_elementos_gasto" value
 * @method PR_ELEMENTOS_GASTO setCodigoGasto()        Sets the current record's "codigo_gasto" value
 * @method PR_ELEMENTOS_GASTO setDescripcionGasto()   Sets the current record's "descripcion_gasto" value
 * @method PR_ELEMENTOS_GASTO setIdObjetoGasto()      Sets the current record's "id_objeto_gasto" value
 * @method PR_ELEMENTOS_GASTO setIdConcepNomina()     Sets the current record's "id_concep_nomina" value
 * @method PR_ELEMENTOS_GASTO setViatico()            Sets the current record's "viatico" value
 * @method PR_ELEMENTOS_GASTO setViaje()              Sets the current record's "viaje" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePR_ELEMENTOS_GASTO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_ELEMENTOS_GASTO');
        $this->hasColumn('id_elementos_gasto', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('codigo_gasto', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion_gasto', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('id_objeto_gasto', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_concep_nomina', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('viatico', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('viaje', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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