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

/**
 * BaseNO_LIQUIDA_NOMINA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_liquida_nomina
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_concep_nomina
 * @property integer $id_periodo
 * @property decimal $valor_liquidado
 * @property timestamp $fecha_desde
 * @property timestamp $fecha_hasta
 * @property integer $num_dias
 * @property decimal $valor_base
 * @property decimal $porcentaje
 * @property integer $num_dias_base
 * @property integer $id_periodo_ajuste
 * 
 * @method integer           getIdLiquidaNomina()   Returns the current record's "id_liquida_nomina" 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 integer           getIdConcepNomina()    Returns the current record's "id_concep_nomina" value
 * @method integer           getIdPeriodo()         Returns the current record's "id_periodo" value
 * @method decimal           getValorLiquidado()    Returns the current record's "valor_liquidado" value
 * @method timestamp         getFechaDesde()        Returns the current record's "fecha_desde" value
 * @method timestamp         getFechaHasta()        Returns the current record's "fecha_hasta" value
 * @method integer           getNumDias()           Returns the current record's "num_dias" value
 * @method decimal           getValorBase()         Returns the current record's "valor_base" value
 * @method decimal           getPorcentaje()        Returns the current record's "porcentaje" value
 * @method integer           getNumDiasBase()       Returns the current record's "num_dias_base" value
 * @method integer           getIdPeriodoAjuste()   Returns the current record's "id_periodo_ajuste" value
 * @method NO_LIQUIDA_NOMINA setIdLiquidaNomina()   Sets the current record's "id_liquida_nomina" value
 * @method NO_LIQUIDA_NOMINA setIdTipoDoc()         Sets the current record's "id_tipo_doc" value
 * @method NO_LIQUIDA_NOMINA setNumDoc()            Sets the current record's "num_doc" value
 * @method NO_LIQUIDA_NOMINA setIdConcepNomina()    Sets the current record's "id_concep_nomina" value
 * @method NO_LIQUIDA_NOMINA setIdPeriodo()         Sets the current record's "id_periodo" value
 * @method NO_LIQUIDA_NOMINA setValorLiquidado()    Sets the current record's "valor_liquidado" value
 * @method NO_LIQUIDA_NOMINA setFechaDesde()        Sets the current record's "fecha_desde" value
 * @method NO_LIQUIDA_NOMINA setFechaHasta()        Sets the current record's "fecha_hasta" value
 * @method NO_LIQUIDA_NOMINA setNumDias()           Sets the current record's "num_dias" value
 * @method NO_LIQUIDA_NOMINA setValorBase()         Sets the current record's "valor_base" value
 * @method NO_LIQUIDA_NOMINA setPorcentaje()        Sets the current record's "porcentaje" value
 * @method NO_LIQUIDA_NOMINA setNumDiasBase()       Sets the current record's "num_dias_base" value
 * @method NO_LIQUIDA_NOMINA setIdPeriodoAjuste()   Sets the current record's "id_periodo_ajuste" 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_LIQUIDA_NOMINA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_LIQUIDA_NOMINA');
        $this->hasColumn('id_liquida_nomina', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             '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('id_concep_nomina', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_periodo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_liquidado', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('fecha_desde', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_hasta', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('num_dias', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_base', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('porcentaje', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('num_dias_base', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_periodo_ajuste', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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