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

/**
 * BasePR_RUBRO_SAFI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $rub_1
 * @property string $rub_2
 * @property string $rub_3
 * @property string $rub_4
 * @property string $rub_5
 * @property string $rec
 * @property decimal $aprop
 * @property decimal $cdp_mes
 * @property decimal $rps_mes
 * @property decimal $obl_mes
 * @property decimal $pago_mes
 * @property integer $vigencia
 * @property string $ano_fiscal
 * @property string $mes
 * @property string $descripcion
 * @property decimal $cdp_acu
 * @property decimal $rps_acu
 * @property decimal $obl_acu
 * @property decimal $pago_acu
 * 
 * @method integer       getId()          Returns the current record's "id" value
 * @method string        getRub1()        Returns the current record's "rub_1" value
 * @method string        getRub2()        Returns the current record's "rub_2" value
 * @method string        getRub3()        Returns the current record's "rub_3" value
 * @method string        getRub4()        Returns the current record's "rub_4" value
 * @method string        getRub5()        Returns the current record's "rub_5" value
 * @method string        getRec()         Returns the current record's "rec" value
 * @method decimal       getAprop()       Returns the current record's "aprop" value
 * @method decimal       getCdpMes()      Returns the current record's "cdp_mes" value
 * @method decimal       getRpsMes()      Returns the current record's "rps_mes" value
 * @method decimal       getOblMes()      Returns the current record's "obl_mes" value
 * @method decimal       getPagoMes()     Returns the current record's "pago_mes" value
 * @method integer       getVigencia()    Returns the current record's "vigencia" value
 * @method string        getAnoFiscal()   Returns the current record's "ano_fiscal" value
 * @method string        getMes()         Returns the current record's "mes" value
 * @method string        getDescripcion() Returns the current record's "descripcion" value
 * @method decimal       getCdpAcu()      Returns the current record's "cdp_acu" value
 * @method decimal       getRpsAcu()      Returns the current record's "rps_acu" value
 * @method decimal       getOblAcu()      Returns the current record's "obl_acu" value
 * @method decimal       getPagoAcu()     Returns the current record's "pago_acu" value
 * @method PR_RUBRO_SAFI setId()          Sets the current record's "id" value
 * @method PR_RUBRO_SAFI setRub1()        Sets the current record's "rub_1" value
 * @method PR_RUBRO_SAFI setRub2()        Sets the current record's "rub_2" value
 * @method PR_RUBRO_SAFI setRub3()        Sets the current record's "rub_3" value
 * @method PR_RUBRO_SAFI setRub4()        Sets the current record's "rub_4" value
 * @method PR_RUBRO_SAFI setRub5()        Sets the current record's "rub_5" value
 * @method PR_RUBRO_SAFI setRec()         Sets the current record's "rec" value
 * @method PR_RUBRO_SAFI setAprop()       Sets the current record's "aprop" value
 * @method PR_RUBRO_SAFI setCdpMes()      Sets the current record's "cdp_mes" value
 * @method PR_RUBRO_SAFI setRpsMes()      Sets the current record's "rps_mes" value
 * @method PR_RUBRO_SAFI setOblMes()      Sets the current record's "obl_mes" value
 * @method PR_RUBRO_SAFI setPagoMes()     Sets the current record's "pago_mes" value
 * @method PR_RUBRO_SAFI setVigencia()    Sets the current record's "vigencia" value
 * @method PR_RUBRO_SAFI setAnoFiscal()   Sets the current record's "ano_fiscal" value
 * @method PR_RUBRO_SAFI setMes()         Sets the current record's "mes" value
 * @method PR_RUBRO_SAFI setDescripcion() Sets the current record's "descripcion" value
 * @method PR_RUBRO_SAFI setCdpAcu()      Sets the current record's "cdp_acu" value
 * @method PR_RUBRO_SAFI setRpsAcu()      Sets the current record's "rps_acu" value
 * @method PR_RUBRO_SAFI setOblAcu()      Sets the current record's "obl_acu" value
 * @method PR_RUBRO_SAFI setPagoAcu()     Sets the current record's "pago_acu" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePR_RUBRO_SAFI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_RUBRO_SAFI');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('rub_1', 'string', 10, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 10,
             ));
        $this->hasColumn('rub_2', 'string', 10, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 10,
             ));
        $this->hasColumn('rub_3', 'string', 10, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 10,
             ));
        $this->hasColumn('rub_4', 'string', 10, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 10,
             ));
        $this->hasColumn('rub_5', 'string', 10, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 10,
             ));
        $this->hasColumn('rec', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('aprop', 'decimal', 36, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 36,
             ));
        $this->hasColumn('cdp_mes', 'decimal', 36, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 36,
             ));
        $this->hasColumn('rps_mes', 'decimal', 36, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 36,
             ));
        $this->hasColumn('obl_mes', 'decimal', 36, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 36,
             ));
        $this->hasColumn('pago_mes', 'decimal', 36, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 36,
             ));
        $this->hasColumn('vigencia', 'integer', 2, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2,
             ));
        $this->hasColumn('ano_fiscal', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('mes', 'string', 2, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('cdp_acu', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('rps_acu', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('obl_acu', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('pago_acu', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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