<?php

// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('NO_PARAM_GEN', 'doctrine');

/**
 * BaseNO_PARAM_GEN
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_param_gen
 * @property integer $periodo
 * @property integer $id_anhos
 * @property integer $id_meses
 * @property integer $dias_periodo
 * @property integer $num_per_mes
 * @property integer $dias_contrato
 * @property integer $horas_contrato
 * @property integer $dias_vacaciones
 * @property integer $maximo_hr_extra
 * @property integer $max_ded_noley
 * 
 * @method integer      getIdParamGen()      Returns the current record's "id_param_gen" value
 * @method integer      getPeriodo()         Returns the current record's "periodo" value
 * @method integer      getIdAnhos()         Returns the current record's "id_anhos" value
 * @method integer      getIdMeses()         Returns the current record's "id_meses" value
 * @method integer      getDiasPeriodo()     Returns the current record's "dias_periodo" value
 * @method integer      getNumPerMes()       Returns the current record's "num_per_mes" value
 * @method integer      getDiasContrato()    Returns the current record's "dias_contrato" value
 * @method integer      getHorasContrato()   Returns the current record's "horas_contrato" value
 * @method integer      getDiasVacaciones()  Returns the current record's "dias_vacaciones" value
 * @method integer      getMaximoHrExtra()   Returns the current record's "maximo_hr_extra" value
 * @method integer      getMaxDedNoley()     Returns the current record's "max_ded_noley" value
 * @method NO_PARAM_GEN setIdParamGen()      Sets the current record's "id_param_gen" value
 * @method NO_PARAM_GEN setPeriodo()         Sets the current record's "periodo" value
 * @method NO_PARAM_GEN setIdAnhos()         Sets the current record's "id_anhos" value
 * @method NO_PARAM_GEN setIdMeses()         Sets the current record's "id_meses" value
 * @method NO_PARAM_GEN setDiasPeriodo()     Sets the current record's "dias_periodo" value
 * @method NO_PARAM_GEN setNumPerMes()       Sets the current record's "num_per_mes" value
 * @method NO_PARAM_GEN setDiasContrato()    Sets the current record's "dias_contrato" value
 * @method NO_PARAM_GEN setHorasContrato()   Sets the current record's "horas_contrato" value
 * @method NO_PARAM_GEN setDiasVacaciones()  Sets the current record's "dias_vacaciones" value
 * @method NO_PARAM_GEN setMaximoHrExtra()   Sets the current record's "maximo_hr_extra" value
 * @method NO_PARAM_GEN setMaxDedNoley()     Sets the current record's "max_ded_noley" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_PARAM_GEN extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('NO_PARAM_GEN');
        $this->hasColumn('id_param_gen', 'integer', 20, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            'length' => 20,
        ));
        $this->hasColumn('periodo', 'integer', 1, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 1,
        ));
        $this->hasColumn('id_anhos', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('id_meses', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('dias_periodo', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('num_per_mes', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('dias_contrato', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('horas_contrato', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('dias_vacaciones', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('maximo_hr_extra', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('max_ded_noley', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('hora_entrada', 'string', 20, array(
            'notnull' => false,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('hora_salida', 'string', 20, array(
            'notnull' => false,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('codigo_instituto_siif', 'string', 20, array(
            'notnull' => false,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('hora_laboral', 'string', 20, array(
            'notnull' => false,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('aplica_ibc_ant_vac', 'integer', 1, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'default' => '0',
            'primary' => false,
            'length' => 1,
        ));
        $this->hasColumn('mes_saldo_retro', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('fecha_solicitud_ini', 'timestamp', 7, array(
            'notnull' => true,
            'type' => 'timestamp',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 7,
        ));
        $this->hasColumn('fecha_solicitud_fin', 'timestamp', 7, array(
            'notnull' => true,
            'type' => 'timestamp',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 7,
        ));
    }

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

}
