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

/**
 * BaseNO_HR_EXTRA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_hr_extra
 * @property integer $id_lote_hr_extra
 * @property integer $id_tipo_hr_extra
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property timestamp $fecha
 * @property decimal $cantidad
 * @property decimal $valor_liquidado
 * 
 * @method integer     getIdHrExtra()        Returns the current record's "id_hr_extra" value
 * @method integer     getIdLoteHrExtra()    Returns the current record's "id_lote_hr_extra" value
 * @method integer     getIdTipoHrExtra()    Returns the current record's "id_tipo_hr_extra" value
 * @method integer     getIdTipoDoc()        Returns the current record's "id_tipo_doc" value
 * @method string      getNumDoc()           Returns the current record's "num_doc" value
 * @method timestamp   getFecha()            Returns the current record's "fecha" value
 * @method decimal     getCantidad()         Returns the current record's "cantidad" value
 * @method decimal     getValorLiquidado()   Returns the current record's "valor_liquidado" value
 * @method NO_HR_EXTRA setIdHrExtra()        Sets the current record's "id_hr_extra" value
 * @method NO_HR_EXTRA setIdLoteHrExtra()    Sets the current record's "id_lote_hr_extra" value
 * @method NO_HR_EXTRA setIdTipoHrExtra()    Sets the current record's "id_tipo_hr_extra" value
 * @method NO_HR_EXTRA setIdTipoDoc()        Sets the current record's "id_tipo_doc" value
 * @method NO_HR_EXTRA setNumDoc()           Sets the current record's "num_doc" value
 * @method NO_HR_EXTRA setFecha()            Sets the current record's "fecha" value
 * @method NO_HR_EXTRA setCantidad()         Sets the current record's "cantidad" value
 * @method NO_HR_EXTRA setValorLiquidado()   Sets the current record's "valor_liquidado" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_HR_EXTRA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_HR_EXTRA');
        $this->hasColumn('id_hr_extra', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_lote_hr_extra', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_hr_extra', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('cantidad', 'decimal', 38, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('valor_liquidado', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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