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

/**
 * BasePR_AFORO_PRESUPUESTAL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_aforo
 * @property string $vigencia
 * @property integer $id_numeral
 * @property decimal $valor_aforo
 * 
 * @method integer               getId()          Returns the current record's "id" value
 * @method integer               getIdAforo()     Returns the current record's "id_aforo" value
 * @method string                getVigencia()    Returns the current record's "vigencia" value
 * @method integer               getIdNumeral()   Returns the current record's "id_numeral" value
 * @method decimal               getValorAforo()  Returns the current record's "valor_aforo" value
 * @method PR_AFORO_PRESUPUESTAL setId()          Sets the current record's "id" value
 * @method PR_AFORO_PRESUPUESTAL setIdAforo()     Sets the current record's "id_aforo" value
 * @method PR_AFORO_PRESUPUESTAL setVigencia()    Sets the current record's "vigencia" value
 * @method PR_AFORO_PRESUPUESTAL setIdNumeral()   Sets the current record's "id_numeral" value
 * @method PR_AFORO_PRESUPUESTAL setValorAforo()  Sets the current record's "valor_aforo" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePR_AFORO_PRESUPUESTAL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_AFORO_PRESUPUESTAL');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_aforo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 4, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('id_numeral', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_aforo', 'decimal', 38, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
    }

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