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

/**
 * BasePR_LEGALIZACION_COMIS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_legalizacion_comis
 * @property integer $id_rp_comis
 * @property integer $id_vigencia
 * @property integer $id_elementos_gasto
 * @property integer $secuencia
 * @property integer $id_tercero
 * @property string $documento
 * @property timestamp $fecha_gasto
 * @property decimal $v_bruto
 * @property decimal $v_iva
 * @property decimal $v_retencion
 * @property decimal $v_neto
 * @property string $observaciones
 * @property timestamp $fecha_proceso
 * @property timestamp $fecha_sys
 * @property string $usuario
 * @property string $vigencia
 * 
 * @method integer               getIdLegalizacionComis()   Returns the current record's "id_legalizacion_comis" value
 * @method integer               getIdRpComis()             Returns the current record's "id_rp_comis" value
 * @method integer               getIdVigencia()            Returns the current record's "id_vigencia" value
 * @method integer               getIdElementosGasto()      Returns the current record's "id_elementos_gasto" value
 * @method integer               getSecuencia()             Returns the current record's "secuencia" value
 * @method integer               getIdTercero()             Returns the current record's "id_tercero" value
 * @method string                getDocumento()             Returns the current record's "documento" value
 * @method timestamp             getFechaGasto()            Returns the current record's "fecha_gasto" value
 * @method decimal               getVBruto()                Returns the current record's "v_bruto" value
 * @method decimal               getVIva()                  Returns the current record's "v_iva" value
 * @method decimal               getVRetencion()            Returns the current record's "v_retencion" value
 * @method decimal               getVNeto()                 Returns the current record's "v_neto" value
 * @method string                getObservaciones()         Returns the current record's "observaciones" value
 * @method timestamp             getFechaProceso()          Returns the current record's "fecha_proceso" value
 * @method timestamp             getFechaSys()              Returns the current record's "fecha_sys" value
 * @method string                getUsuario()               Returns the current record's "usuario" value
 * @method string                getVigencia()              Returns the current record's "vigencia" value
 * @method PR_LEGALIZACION_COMIS setIdLegalizacionComis()   Sets the current record's "id_legalizacion_comis" value
 * @method PR_LEGALIZACION_COMIS setIdRpComis()             Sets the current record's "id_rp_comis" value
 * @method PR_LEGALIZACION_COMIS setIdVigencia()            Sets the current record's "id_vigencia" value
 * @method PR_LEGALIZACION_COMIS setIdElementosGasto()      Sets the current record's "id_elementos_gasto" value
 * @method PR_LEGALIZACION_COMIS setSecuencia()             Sets the current record's "secuencia" value
 * @method PR_LEGALIZACION_COMIS setIdTercero()             Sets the current record's "id_tercero" value
 * @method PR_LEGALIZACION_COMIS setDocumento()             Sets the current record's "documento" value
 * @method PR_LEGALIZACION_COMIS setFechaGasto()            Sets the current record's "fecha_gasto" value
 * @method PR_LEGALIZACION_COMIS setVBruto()                Sets the current record's "v_bruto" value
 * @method PR_LEGALIZACION_COMIS setVIva()                  Sets the current record's "v_iva" value
 * @method PR_LEGALIZACION_COMIS setVRetencion()            Sets the current record's "v_retencion" value
 * @method PR_LEGALIZACION_COMIS setVNeto()                 Sets the current record's "v_neto" value
 * @method PR_LEGALIZACION_COMIS setObservaciones()         Sets the current record's "observaciones" value
 * @method PR_LEGALIZACION_COMIS setFechaProceso()          Sets the current record's "fecha_proceso" value
 * @method PR_LEGALIZACION_COMIS setFechaSys()              Sets the current record's "fecha_sys" value
 * @method PR_LEGALIZACION_COMIS setUsuario()               Sets the current record's "usuario" value
 * @method PR_LEGALIZACION_COMIS setVigencia()              Sets the current record's "vigencia" 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_LEGALIZACION_COMIS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_LEGALIZACION_COMIS');
        $this->hasColumn('id_legalizacion_comis', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_rp_comis', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             '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('id_elementos_gasto', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('secuencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tercero', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('documento', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_gasto', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('v_bruto', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('v_iva', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('v_retencion', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('v_neto', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_sys', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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