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

/**
 * BaseCONS_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 CONS_APROPIACION setId()              Sets the current record's "id" value
 * @method CONS_APROPIACION setIdRubro()         Sets the current record's "id_rubro" value
 * @method CONS_APROPIACION setIdSituacRec()     Sets the current record's "id_situac_rec" value
 * @method CONS_APROPIACION setApropiacion()     Sets the current record's "apropiacion" value
 * @method CONS_APROPIACION setIdFuenteFinan()   Sets the current record's "id_fuente_finan" value
 * @method CONS_APROPIACION setIdTipoRec()       Sets the current record's "id_tipo_rec" value
 * @method CONS_APROPIACION setVigencia()        Sets the current record's "vigencia" value
 * @method CONS_APROPIACION setPrevioConc()      Sets the current record's "previo_conc" value
 * @method CONS_APROPIACION setUsuario()         Sets the current record's "usuario" value
 * @method CONS_APROPIACION setIdVigencia()      Sets the current record's "id_vigencia" value
 * @method CONS_APROPIACION setFechalog()        Sets the current record's "fechalog" value
 * @method CONS_APROPIACION setIdAnterior()      Sets the current record's "id_anterior" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCONS_APROPIACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CONS_APROPIACION');
        $this->hasColumn('id', 'integer', 20, array(
             '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' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_rec', 'integer', 20, array(
             'notnull' => true,
             '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' => true,
             '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();
        
    }
}