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

/**
 * BasePR_APROPIACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_rubro
 * @property integer $id_situac_rec
 * @property string $apropiacion
 * @property integer $id_fuente_finan
 * @property integer $id_tipo_rec
 * @property string $vigencia
 * @property string $previo_conc
 * @property string $usuario
 * @property integer $id_vigencia
 * @property timestamp $fechalog
 * @property integer $id_anterior
 * 
 * @method integer        getId()              Returns the current record's "id" value
 * @method integer        getIdRubro()         Returns the current record's "id_rubro" value
 * @method integer        getIdSituacRec()     Returns the current record's "id_situac_rec" value
 * @method string         getApropiacion()     Returns the current record's "apropiacion" value
 * @method integer        getIdFuenteFinan()   Returns the current record's "id_fuente_finan" value
 * @method integer        getIdTipoRec()       Returns the current record's "id_tipo_rec" value
 * @method string         getVigencia()        Returns the current record's "vigencia" value
 * @method string         getPrevioConc()      Returns the current record's "previo_conc" value
 * @method string         getUsuario()         Returns the current record's "usuario" value
 * @method integer        getIdVigencia()      Returns the current record's "id_vigencia" value
 * @method timestamp      getFechalog()        Returns the current record's "fechalog" value
 * @method integer        getIdAnterior()      Returns the current record's "id_anterior" value
 * @method PR_APROPIACION setId()              Sets the current record's "id" value
 * @method PR_APROPIACION setIdRubro()         Sets the current record's "id_rubro" value
 * @method PR_APROPIACION setIdSituacRec()     Sets the current record's "id_situac_rec" value
 * @method PR_APROPIACION setApropiacion()     Sets the current record's "apropiacion" value
 * @method PR_APROPIACION setIdFuenteFinan()   Sets the current record's "id_fuente_finan" value
 * @method PR_APROPIACION setIdTipoRec()       Sets the current record's "id_tipo_rec" value
 * @method PR_APROPIACION setVigencia()        Sets the current record's "vigencia" value
 * @method PR_APROPIACION setPrevioConc()      Sets the current record's "previo_conc" value
 * @method PR_APROPIACION setUsuario()         Sets the current record's "usuario" value
 * @method PR_APROPIACION setIdVigencia()      Sets the current record's "id_vigencia" value
 * @method PR_APROPIACION setFechalog()        Sets the current record's "fechalog" value
 * @method PR_APROPIACION setIdAnterior()      Sets the current record's "id_anterior" 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_APROPIACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_APROPIACION');
        $this->hasColumn('id', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_rubro', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_situac_rec', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('apropiacion', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('id_fuente_finan', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_rec', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('previo_conc', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             '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('fechalog', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_anterior', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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