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

/**
 * BaseNO_PENSION_FUNC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property string $id_pension_func
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_periodo
 * @property integer $estado
 * @property timestamp $fecha_doc
 * @property string $numero_doc
 * @property timestamp $fecha_pension
 * 
 * @method string          getIdPensionFunc()   Returns the current record's "id_pension_func" 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         getIdPeriodo()       Returns the current record's "id_periodo" value
 * @method integer         getEstado()          Returns the current record's "estado" value
 * @method timestamp       getFechaDoc()        Returns the current record's "fecha_doc" value
 * @method string          getNumeroDoc()       Returns the current record's "numero_doc" value
 * @method timestamp       getFechaPension()    Returns the current record's "fecha_pension" value
 * @method NO_PENSION_FUNC setIdPensionFunc()   Sets the current record's "id_pension_func" value
 * @method NO_PENSION_FUNC setIdTipoDoc()       Sets the current record's "id_tipo_doc" value
 * @method NO_PENSION_FUNC setNumDoc()          Sets the current record's "num_doc" value
 * @method NO_PENSION_FUNC setIdPeriodo()       Sets the current record's "id_periodo" value
 * @method NO_PENSION_FUNC setEstado()          Sets the current record's "estado" value
 * @method NO_PENSION_FUNC setFechaDoc()        Sets the current record's "fecha_doc" value
 * @method NO_PENSION_FUNC setNumeroDoc()       Sets the current record's "numero_doc" value
 * @method NO_PENSION_FUNC setFechaPension()    Sets the current record's "fecha_pension" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_PENSION_FUNC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_PENSION_FUNC');
        $this->hasColumn('id_pension_func', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $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_periodo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_doc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('numero_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_pension', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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