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

/**
 * BaseNO_PROMEDIO_PERIODO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_promedio_periodo
 * @property integer $id_anhos
 * @property integer $id_meses
 * @property integer $id_periodo
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_concep_nomina
 * @property integer $valor
 * 
 * @method integer             getIdPromedioPeriodo()   Returns the current record's "id_promedio_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             getIdPeriodo()           Returns the current record's "id_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 integer             getValor()               Returns the current record's "valor" value
 * @method NO_PROMEDIO_PERIODO setIdPromedioPeriodo()   Sets the current record's "id_promedio_periodo" value
 * @method NO_PROMEDIO_PERIODO setIdAnhos()             Sets the current record's "id_anhos" value
 * @method NO_PROMEDIO_PERIODO setIdMeses()             Sets the current record's "id_meses" value
 * @method NO_PROMEDIO_PERIODO setIdPeriodo()           Sets the current record's "id_periodo" value
 * @method NO_PROMEDIO_PERIODO setIdTipoDoc()           Sets the current record's "id_tipo_doc" value
 * @method NO_PROMEDIO_PERIODO setNumDoc()              Sets the current record's "num_doc" value
 * @method NO_PROMEDIO_PERIODO setIdConcepNomina()      Sets the current record's "id_concep_nomina" value
 * @method NO_PROMEDIO_PERIODO setValor()               Sets the current record's "valor" 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_PROMEDIO_PERIODO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_PROMEDIO_PERIODO');
        $this->hasColumn('id_promedio_periodo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_anhos', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_meses', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_periodo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $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', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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