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

/**
 * BaseNO_CONCEPTO_PERIODO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property decimal $id_concepto_periodo
 * @property integer $id_anhos
 * @property integer $id_meses
 * @property integer $periodo
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_concep_nomina
 * @property timestamp $fecha_desde
 * @property timestamp $fecha_hasta
 * @property decimal $valor
 * @property decimal $porcentaje
 * @property integer $num_dias
 * @property integer $id_periodo_ajuste
 * 
 * @method decimal             getIdConceptoPeriodo()   Returns the current record's "id_concepto_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             getPeriodo()             Returns the current record's "periodo" 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 timestamp           getFechaDesde()          Returns the current record's "fecha_desde" value
 * @method timestamp           getFechaHasta()          Returns the current record's "fecha_hasta" value
 * @method decimal             getValor()               Returns the current record's "valor" value
 * @method decimal             getPorcentaje()          Returns the current record's "porcentaje" value
 * @method integer             getNumDias()             Returns the current record's "num_dias" value
 * @method integer             getIdPeriodoAjuste()     Returns the current record's "id_periodo_ajuste" value
 * @method NO_CONCEPTO_PERIODO setIdConceptoPeriodo()   Sets the current record's "id_concepto_periodo" value
 * @method NO_CONCEPTO_PERIODO setIdAnhos()             Sets the current record's "id_anhos" value
 * @method NO_CONCEPTO_PERIODO setIdMeses()             Sets the current record's "id_meses" value
 * @method NO_CONCEPTO_PERIODO setPeriodo()             Sets the current record's "periodo" value
 * @method NO_CONCEPTO_PERIODO setIdTipoDoc()           Sets the current record's "id_tipo_doc" value
 * @method NO_CONCEPTO_PERIODO setNumDoc()              Sets the current record's "num_doc" value
 * @method NO_CONCEPTO_PERIODO setIdConcepNomina()      Sets the current record's "id_concep_nomina" value
 * @method NO_CONCEPTO_PERIODO setFechaDesde()          Sets the current record's "fecha_desde" value
 * @method NO_CONCEPTO_PERIODO setFechaHasta()          Sets the current record's "fecha_hasta" value
 * @method NO_CONCEPTO_PERIODO setValor()               Sets the current record's "valor" value
 * @method NO_CONCEPTO_PERIODO setPorcentaje()          Sets the current record's "porcentaje" value
 * @method NO_CONCEPTO_PERIODO setNumDias()             Sets the current record's "num_dias" value
 * @method NO_CONCEPTO_PERIODO 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_CONCEPTO_PERIODO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_CONCEPTO_PERIODO');
        $this->hasColumn('id_concepto_periodo', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $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('periodo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $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('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('valor', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('porcentaje', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_dias', '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();
        
    }
}