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

/**
 * BasePRDEAVSAFI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_rp
 * @property string $codobj
 * @property string $codele
 * @property string $nitben
 * @property decimal $valor_bruto
 * @property string $observaciones
 * @property decimal $valor_iva
 * @property decimal $valor
 * @property integer $rubro1
 * @property integer $rubro2
 * @property integer $rubro3
 * @property integer $rubro4
 * @property integer $rubro5
 * @property string $vigencia
 * 
 * @method integer    getId()            Returns the current record's "id" value
 * @method integer    getIdRp()          Returns the current record's "id_rp" value
 * @method string     getCodobj()        Returns the current record's "codobj" value
 * @method string     getCodele()        Returns the current record's "codele" value
 * @method string     getNitben()        Returns the current record's "nitben" value
 * @method decimal    getValorBruto()    Returns the current record's "valor_bruto" value
 * @method string     getObservaciones() Returns the current record's "observaciones" value
 * @method decimal    getValorIva()      Returns the current record's "valor_iva" value
 * @method decimal    getValor()         Returns the current record's "valor" value
 * @method integer    getRubro1()        Returns the current record's "rubro1" value
 * @method integer    getRubro2()        Returns the current record's "rubro2" value
 * @method integer    getRubro3()        Returns the current record's "rubro3" value
 * @method integer    getRubro4()        Returns the current record's "rubro4" value
 * @method integer    getRubro5()        Returns the current record's "rubro5" value
 * @method string     getVigencia()      Returns the current record's "vigencia" value
 * @method PRDEAVSAFI setId()            Sets the current record's "id" value
 * @method PRDEAVSAFI setIdRp()          Sets the current record's "id_rp" value
 * @method PRDEAVSAFI setCodobj()        Sets the current record's "codobj" value
 * @method PRDEAVSAFI setCodele()        Sets the current record's "codele" value
 * @method PRDEAVSAFI setNitben()        Sets the current record's "nitben" value
 * @method PRDEAVSAFI setValorBruto()    Sets the current record's "valor_bruto" value
 * @method PRDEAVSAFI setObservaciones() Sets the current record's "observaciones" value
 * @method PRDEAVSAFI setValorIva()      Sets the current record's "valor_iva" value
 * @method PRDEAVSAFI setValor()         Sets the current record's "valor" value
 * @method PRDEAVSAFI setRubro1()        Sets the current record's "rubro1" value
 * @method PRDEAVSAFI setRubro2()        Sets the current record's "rubro2" value
 * @method PRDEAVSAFI setRubro3()        Sets the current record's "rubro3" value
 * @method PRDEAVSAFI setRubro4()        Sets the current record's "rubro4" value
 * @method PRDEAVSAFI setRubro5()        Sets the current record's "rubro5" value
 * @method PRDEAVSAFI setVigencia()      Sets the current record's "vigencia" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePRDEAVSAFI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PRDEAVSAFI');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_rp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codobj', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codele', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nitben', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_bruto', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('observaciones', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('valor_iva', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('valor', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('rubro1', 'integer', 5, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 5,
             ));
        $this->hasColumn('rubro2', 'integer', 5, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 5,
             ));
        $this->hasColumn('rubro3', 'integer', 5, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 5,
             ));
        $this->hasColumn('rubro4', 'integer', 5, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 5,
             ));
        $this->hasColumn('rubro5', 'integer', 5, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 5,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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