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

/**
 * BasePR_HISTORIAL_CG
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_hi_cg
 * @property integer $porcentaje
 * @property integer $id_obj_gasto
 * @property timestamp $fecha_ini
 * @property timestamp $fecha_fin
 * 
 * @method integer         getIdHiCg()       Returns the current record's "id_hi_cg" value
 * @method integer         getPorcentaje()   Returns the current record's "porcentaje" value
 * @method integer         getIdObjGasto()   Returns the current record's "id_obj_gasto" value
 * @method timestamp       getFechaIni()     Returns the current record's "fecha_ini" value
 * @method timestamp       getFechaFin()     Returns the current record's "fecha_fin" value
 * @method PR_HISTORIAL_CG setIdHiCg()       Sets the current record's "id_hi_cg" value
 * @method PR_HISTORIAL_CG setPorcentaje()   Sets the current record's "porcentaje" value
 * @method PR_HISTORIAL_CG setIdObjGasto()   Sets the current record's "id_obj_gasto" value
 * @method PR_HISTORIAL_CG setFechaIni()     Sets the current record's "fecha_ini" value
 * @method PR_HISTORIAL_CG setFechaFin()     Sets the current record's "fecha_fin" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePR_HISTORIAL_CG extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_HISTORIAL_CG');
        $this->hasColumn('id_hi_cg', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('porcentaje', 'integer', 3, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 3,
             ));
        $this->hasColumn('id_obj_gasto', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_ini', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_fin', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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